diff options
| author | tom christie tom@tomchristie.com | 2011-01-27 21:09:25 +0000 |
|---|---|---|
| committer | tom christie tom@tomchristie.com | 2011-01-27 21:09:25 +0000 |
| commit | 216baa551fdce6394aa640ee0806c79b38658daf (patch) | |
| tree | 9d97c1f37e029b87df6e6f7eb5a617727cae37ae /examples/urls.py | |
| parent | e227c38b330988d71087759d13303215561808c6 (diff) | |
| download | django-rest-framework-216baa551fdce6394aa640ee0806c79b38658daf.tar.bz2 | |
Login/Logout and FlyWheel API link in HTML emitter
Diffstat (limited to 'examples/urls.py')
| -rw-r--r-- | examples/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/urls.py b/examples/urls.py index ef55e2b5..5e308f00 100644 --- a/examples/urls.py +++ b/examples/urls.py @@ -7,6 +7,8 @@ urlpatterns = patterns('', (r'pygments-example/', include('pygments_api.urls')), (r'^blog-post-example/', include('blogpost.urls')), (r'^object-store-example/', include('objectstore.urls')), + (r'^accounts/login/$', 'django.contrib.auth.views.login'), + (r'^accounts/logout/$', 'django.contrib.auth.views.logout'), (r'^admin/doc/', include('django.contrib.admindocs.urls')), (r'^admin/', include(admin.site.urls)), ) |
