Advertisement
Guest User

Untitled

a guest
Mar 10th, 2012
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. from django.conf.urls.defaults import patterns, include, url
  2. import settings
  3. from website.views import home, filtered, login_error
  4.  
  5. # Uncomment the next two lines to enable the admin:
  6. # from django.contrib import admin
  7. # admin.autodiscover()
  8.  
  9. urlpatterns = patterns('',
  10. # Examples:
  11. url(r'^$', home, name='home'),
  12. url(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes':False}),
  13. url(r'', include('social_auth.urls')),
  14. url(r'^filtered/$', filtered, name='filtered'),
  15. url(r'^wtf/$', login_error, name='login_error'),
  16. # url(r'^spottim/', include('spottim.foo.urls')),
  17.  
  18. # Uncomment the admin/doc line below to enable admin documentation:
  19. # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
  20.  
  21. # Uncomment the next line to enable the admin:
  22. # url(r'^admin/', include(admin.site.urls)),
  23. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement