X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/c2e85644c4128b2545fd4bbe0382f4e2e502bd83..a2883504e45a556b06e76f023395e879e01ae03c:/sommitrealweird/content/views.py?ds=inline diff --git a/sommitrealweird/content/views.py b/sommitrealweird/content/views.py index e4b49da..423e44f 100644 --- a/sommitrealweird/content/views.py +++ b/sommitrealweird/content/views.py @@ -1,7 +1,6 @@ from content.models import Document, Folder from django.http import Http404, HttpResponse from django.template import RequestContext, loader -from settings import MEDIA_URL def document_view(request, slug=None, folders=None): if folders == None and slug == None: @@ -50,6 +49,5 @@ def document_view(request, slug=None, folders=None): { "content" : doc.content, "title" : doc.title, - "media_url" : MEDIA_URL, }) return HttpResponse(t.render(c))