from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # A couple pages to show the login system working.
    (r'^$', 'trivial.views.homepage'),
    (r'^secure/$', 'trivial.views.secure'),


    (r'^accounts/login/$', 'django.views.generic.simple.direct_to_template',
                        {'template': 'login.html'}),

    (r'^accounts/logout/$', 'django.contrib.auth.views.logout', {'next_page':'/'} ),


    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),

    (r'^', include('socialregistration.urls')),
)

from django.conf.urls.defaults import *

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # A couple pages to show the login system working.
    (r'^$', 'trivial.views.homepage'),
    (r'^secure/$', 'trivial.views.secure'),


    (r'^accounts/login/$', 'django.views.generic.simple.direct_to_template',
                        {'template': 'login.html'}),

    (r'^accounts/logout/$', 'django.contrib.auth.views.logout', {'next_page':'/'} ),


    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),

    (r'^', include('socialregistration.urls')),
)

# Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() # A couple pages to show the login system working. # Uncomment the next line to enable the admin: # (r'^admin/', include(admin.site.urls)),