-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathurls.py
24 lines (22 loc) · 1.15 KB
/
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
from django.conf.urls import *
from django.contrib import admin
from longturn.game.views import nations_v
from longturn.views import *
admin.autodiscover()
urlpatterns = [
url(r'^$', hello, name='hello'),
url(r'^intro/$', about, { 'template': 'intro.html' }, name='intro'),
url(r'^rules/$', about, { 'template': 'rules.html' }, name='rules'),
url(r'^lw_rules/$', about, { 'template': 'lw-rules.html' }, name='lw_rules'),
url(r'^contact/$', about, { 'template': 'contact.html' }, name='contact'),
url(r'^tech/comps/$', about, { 'template': 'tech/comps.html' }, name='tech_comps'),
url(r'^tech/src/$', about, { 'template': 'tech/src.html' }, name='tech_src'),
url(r'^nations/$', nations_v, name='nations'),
url(r'^screenshots/$', about, { 'template': 'screenshots.html' }, name='screenshots'),
url(r'^account/', include('longturn.player.urls')),
url(r'^game/', include('longturn.game.urls')),
url(r'^warcalc/', include('longturn.warcalc.urls')),
url(r'^ranking/', include('longturn.ranking.urls')),
url(r'^admin/', admin.site.urls),
url(r'^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
]