diff options
-rw-r--r-- | django_skaschool/urls.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/django_skaschool/urls.py b/django_skaschool/urls.py index 8aa5ae3..24bd989 100644 --- a/django_skaschool/urls.py +++ b/django_skaschool/urls.py @@ -6,6 +6,7 @@ from django.conf import settings from django.contrib import admin admin.autodiscover() +from django.conf.urls.static import static from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.views.generic.base import TemplateView @@ -18,6 +19,8 @@ urlpatterns = patterns('', name='index'), # app 'page' url(r'^page/', include('page.urls')), + # app 'notice' + url(r'^notice/', include('notice.urls')), ) ## django-registration @@ -30,5 +33,6 @@ urlpatterns += patterns('', ## staticfiles if settings.DEBUG: urlpatterns += staticfiles_urlpatterns() + urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) |