Add a begining of API and CSS+JS (static files folder)

This commit is contained in:
Skia
2016-01-08 17:11:38 +01:00
parent f5b07887a5
commit 771056d6e4
8 changed files with 26 additions and 1 deletions

View File

@ -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
View 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']})