from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() from oauth.views import oauthRegistro, ResponsableAdd, loginView from Caronte.views import validar, error urlpatterns = patterns('', # Examples: # url(r'^$', 'Aqueronte.views.home', name='home'), # url(r'^Aqueronte/', include('Aqueronte.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: url(r'^caronte/', include(admin.site.urls)), # oauth_provider # url(r'^oauth/', include('oauth_provider.urls')), # oauth url(r'^apps/', include('oauth.urls')), url(r'^$', loginView), url(r'^accounts/login/$', 'django.contrib.auth.views.login', name = 'login'), # Registration... url(r'^login/$', 'django.contrib.auth.views.login', name = 'login'), url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name = 'logout'), url(r'^validar/', validar), url(r'^error/', error), )