urls.py 307 Bytes
Newer Older
1
2
3
4
5
6
7
8
from django.conf.urls import url
from django.conf import settings
from django.conf.urls.static import static

from admission import views


urlpatterns = [
bhm15's avatar
bhm15 committed
9
    url(r'^$', views.upload, name='admission'),
10
11
12
13
]

if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)