forked from oppian/oserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
45 lines (33 loc) · 1.35 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
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()
from account.openid_consumer import PinaxConsumer
from account.forms import GroupEmailSignupForm
handler500 = "pinax.views.server_error"
urlpatterns = patterns("",
url(r"^$", direct_to_template, {
"template": "homepage.html",
}, name="home"),
url(r"^account/signup/$", 'account.views.signup', { 'form_class': GroupEmailSignupForm }, name="acct_signup"),
(r"^about/", include("about.urls")),
(r"^account/", include("account.urls")),
(r"^openid/(.*)", PinaxConsumer()),
(r"^profiles/", include("basic_profiles.urls")),
(r"^notices/", include("notification.urls")),
(r"^announcements/", include("announcements.urls")),
(r"^messages/", include("messages.urls")),
(r"^photos/", include("photos.urls")),
(r"^avatar/", include("avatar.urls")),
(r"^flag/", include("flag.urls")),
(r"^comments/", include("threadedcomments.urls")),
(r"^tribes/", include("tribes.urls")),
(r"^tags/", include("tag_app.urls")),
(r"^oshare/", include("oshare.urls")),
(r"^admin/", include(admin.site.urls)),
)
if settings.SERVE_MEDIA:
urlpatterns += patterns("",
(r"", include("staticfiles.urls")),
)