urls.py 671 Bytes
Newer Older
1

Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
2
3
4
from django.conf.urls import include, url
from django.contrib import admin

5
from . import views
Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
6
7

urlpatterns = [
8
9
    url(r'^$', views.dashboard, name='dashboard'),

Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
10
11
    url(r'^uploads/', include('uploads.urls', namespace='uploads')),

12
13
14
15
    url(r'^admission/(?P<degree_id>\w*)/', include('admission.urls', namespace='admission')),
    
    url(r'^course/(?P<degree_id>\w*)/', include('course.urls', namespace='course')),
    
16
17
    url(r'^degree/(?P<degree_id>\w*)/', include('degree.urls', namespace='degree')),

Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
18
19
20
    url(r'^public/', include('public.urls', namespace='public')),

    url(r'^logout/$', views.logout, name='logout'),
21

Jomaro Rodrigues's avatar
Jomaro Rodrigues committed
22
23
    url(r'^admin/', admin.site.urls),
]