from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from encuesta.views import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^/?', include('encuesta.urls', namespace='encuesta:principal')), url(r'^encuesta/?', include('encuesta.urls', namespace='encuesta')), # Examples: # url(r'^$', 'cuestionario.views.home', name='home'), # url(r'^cuestionario/', include('cuestionario.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: #usuario url(r'^perfil/(?P\d+)', perfil ), url(r'^perfil/chpasswd/done/?', 'django.contrib.auth.views.password_change_done',{'template_name':'password_change_done.html'}), url(r'^perfil/chpasswd/?', 'django.contrib.auth.views.password_change' ,{'template_name':'password_change_form.html'}), url(r'^caronte/', include(admin.site.urls)), )