forked from stryderjzw/Django-Socialauth
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathurls.py
More file actions
24 lines (18 loc) · 657 Bytes
/
Copy pathurls.py
File metadata and controls
24 lines (18 loc) · 657 Bytes
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.defaults import *
from commentor.views import leave_comment
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^accounts/', include('socialauth.urls')),
(r'^admin/', admin.site.urls),
#(r'^$', leave_comment),
(r'^$', 'socialauth.views.signin_complete'),
>>>>>>> ecd9f42fc391a068637dac06a326a1eb6d1b3f0f:urls.py
)
from django.conf import settings
if settings.DEBUG:
urlpatterns += patterns('',
# This is for the CSS and static files:
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT}),
)