forked from nsi-iff/nsi_site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
29 lines (17 loc) · 769 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from django.conf.urls.defaults import *
from django.views.generic.base import TemplateView
from django.conf import settings
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
(r'^$', 'apps.home_page.views.show_index'),
url(r'^', include('apps.news.urls')),
(r'^sobre/$', 'apps.nsi_info.views.show_about'),
url(r'^', include('apps.projects.urls')),
url(r'^', include('apps.members.urls')),
url(r'^', include('apps.tools.urls')),
url(r"^opensource/$", TemplateView.as_view(template_name="opensource/index.html")),
(r'^wiki/', include('apps.wiki.urls')),
(r'^site_media/(.*)$', 'django.views.static.serve', {"document_root": settings.MEDIA_ROOT}),
)