Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from django.conf.urls.defaults import patterns, include, url
- import settings
- from website.views import home, filtered, login_error
- # Uncomment the next two lines to enable the admin:
- # from django.contrib import admin
- # admin.autodiscover()
- urlpatterns = patterns('',
- # Examples:
- url(r'^$', home, name='home'),
- url(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes':False}),
- url(r'', include('social_auth.urls')),
- url(r'^filtered/$', filtered, name='filtered'),
- url(r'^wtf/$', login_error, name='login_error'),
- # url(r'^spottim/', include('spottim.foo.urls')),
- # Uncomment the admin/doc line below to enable admin documentation:
- # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
- # Uncomment the next line to enable the admin:
- # url(r'^admin/', include(admin.site.urls)),
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement