-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathurls.py
54 lines (50 loc) · 2.14 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from django.conf import settings
from django.conf.urls.defaults import *
from django.views.generic.simple import direct_to_template
from django.contrib import admin
admin.autodiscover()
import views
handler500 = "pinax.views.server_error"
urlpatterns = patterns("",
url(
r'^$',
'scoobet.views.homepage',
name='home',
),
#url(r"^$", 'scoobet.views.homepage', {
#}, name="home"),
url(r"^gsm/", include('gsm.urls')),
url(r"^beta/", include('beta.urls')),
url(r"^clan/", include('clan.urls')),
url(r"^misc/", include('scoobet.urls')),
url(r"^subscription/", include('subscription.examples.yourlabs.urls')),
url(r'^avatar/', include('avatar.urls')),
url(r"^bet/", include('bet.urls')),
url(r"^messages/", include('django_messages.urls')),
url(r"^article/", include('article.urls')),
url(r'^actstream/detail/(?P<action_id>\d+)/$', 'scoobet.views.action_detail', name='actstream_detail'),
url(r"^actstream/", include('actstream.urls')),
url(r"^rosetta/", include('rosetta.urls')),
url(r"^bookmaker/", include('bookmaker.urls')),
url(r"^account/", include('pinax.apps.account.urls')),
url(r"^localeurl/", include('localeurl.urls')),
url(r'^comments/', include('django.contrib.comments.urls')),
url(r"^admin/", include(admin.site.urls)),
url(r'^ajax_select/', include('ajax_select.urls')),
url(r'^me/$', 'scoobet.views.me', name='me'),
url(r'^search/', include('haystack.urls')),
url(r'^update/tina/$', views.git_pull),
url(
r'^(?P<session_pk>[0-9]+)/(?P<bettype_pk>[0-9]+)/$',
views.session_bettype_detail, {
}, 'session_bettype_detail',
),
url(r"^users/(?P<username>[^/]+)/$", 'scoobet.views.user_detail', name='user_detail'),
url(r"^users/(?P<username>[^/]+)/(?P<tab>[^/]+)/$", 'scoobet.views.user_detail', name='user_detail_tab'),
url(r'^concept/$', direct_to_template, {
'template': 'concept.html'}, name='concept'),
url(r'^terms/$', direct_to_template, {
'template': 'terms.html'}, name='terms'),
url(r'^robots.txt', direct_to_template, {
'template': 'robots.txt'}, name='robots_txt'),
)