X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/9a0aa3d94f21060d82dc97675ba5d45cf804cbfe..d4b37caed377b2739b82a3ac6e002f008d2616bd:/sommitrealweird/content/views.py?ds=sidebyside 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))