Source

fossconf / urls.py

Full commit
from django.conf.urls.defaults import *
from conference.web.models import *
from django.contrib.auth.decorators import login_required, user_passes_test
from django.contrib import admin
import os

admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    url(r'^login/$','django.contrib.auth.views.login',   name='login'),
    url(r'^logout/$','django.contrib.auth.views.logout', name='logout'),
    url(r'^comments/', include('django.contrib.comments.urls')),

    url(r'^admin/(.*)', admin.site.root),
    
    #For localization
    url(r'^i18n/', include('django.conf.urls.i18n')),
    #url(r'^2009/', include('conference.web.urls')),
    url(r'^', include('conference.web.urls')),
    #password
    url(r'^password_change/$', 'django.contrib.auth.views.password_change',name='password_change'),
    url(r'^password_change/done/$', 'django.contrib.auth.views.password_change_done',name='password_change_done'),
    url(r'^passwordreset/$','django.contrib.auth.views.password_reset', name='password_reset'),
    url(r'^passwordreset/done/$','django.contrib.auth.views.password_reset_done', name='password_reset_done'),
    url(r'^reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$','django.contrib.auth.views.password_reset_confirm', name='password_reset_confirm'),
    url(r'^reset/done/$', 'django.contrib.auth.views.password_reset_complete',name='password_reset_complete'),
    # Added for quick deployment. Don't use this in production.
    #url(r'^sitemedia/(?P<path>.*)$','django.views.static.serve', {'document_root': 
     #                                                       os.path.join(os.getcwd(),'sitemedia')}),
    

)