source: mauRepo/dj_security/trunk/dj_security/urls.py @ 8699

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/dj_security/urls.py@8699
Revision 8699, 926 bytes checked in by mnagni, 8 years ago (diff)

switches from a user/password login to an OpenID one.
Applies the CEDA mezzanine layout

  • Property svn:mime-type set to text/plain
Line 
1from django.conf.urls import patterns, include, url
2
3# Uncomment the next two lines to enable the admin:
4# from django.contrib import admin
5# admin.autodiscover()
6
7urlpatterns = patterns('',
8    # Examples:
9    # url(r'^$', 'mydjango_secapp.views.home', name='home'),
10    # url(r'^mydjango_secapp/', include('mydjango_secapp.foo.urls')),
11
12    # Uncomment the admin/doc line below to enable admin documentation:
13    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
14
15    # Uncomment the next line to enable the admin:
16    # url(r'^admin/', include(admin.site.urls)),
17    #url(r'^accounts/', include('registration.backends.default.urls')),
18    url(r'^account/', include('django_authopenid.urls')),
19)
20
21
22#urlpatterns += patterns('dj_security.views.dj_security_login',
23#    (r'^login$', 'login'),
24#)
25urlpatterns += patterns('dj_security.views.my_profile',
26    (r'^account/signin/$', 'frontpage'),
27)
28print urlpatterns
Note: See TracBrowser for help on using the repository browser.