Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Missing settings import in project/urls.py #4

Closed
wants to merge 1 commit into from

2 participants

@yohanboniface

Thanks :)

@yml
Owner
yml commented

I merged an older PR with this change.

Thanks

@yml yml closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 18, 2012
  1. @yohanboniface
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  project_name/urls.py
View
3  project_name/urls.py
@@ -1,5 +1,6 @@
from django.conf.urls.static import static
from django.conf.urls.defaults import patterns, url, include
+from django.conf import settings
from django.contrib import admin
@@ -13,4 +14,4 @@
if settings.DEBUG and settings.MEDIA_ROOT:
urlpatterns += static(settings.MEDIA_URL,
- document_root=settings.MEDIA_ROOT)
+ document_root=settings.MEDIA_ROOT)
Something went wrong with that request. Please try again.