mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add a begining of API and CSS+JS (static files folder)
This commit is contained in:
@ -62,4 +62,5 @@ from .user import *
|
||||
from .page import *
|
||||
from .site import *
|
||||
from .group import *
|
||||
from .api import *
|
||||
|
||||
|
4
core/views/api.py
Normal file
4
core/views/api.py
Normal file
@ -0,0 +1,4 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
def render_markdown(request):
|
||||
return render(request, 'core/api/markdown.html', context={'text': request.GET['text']})
|
Reference in New Issue
Block a user