-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
19 lines (17 loc) · 739 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from django.conf.urls.defaults import *
from django.conf import settings
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^', include('pythoncampusiff_base.urls')),
(r'^programacao/', include('pythoncampusiff_programacao.urls')),
(r'^inscricao/', include('pythoncampusiff_inscricao.urls')),
(r'^contato/', include('pythoncampusiff_contato.urls')),
(r'^atividades/', include('pythoncampusiff_atividades.urls')),
(r'^admin/', include(admin.site.urls)),
(r'^accounts/login/$', 'django.contrib.auth.views.login'),
(r'^site_media/(.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT}
),
)