Source

Lightning Talks / lightning / urls.py

from django.conf.urls.defaults import patterns, include, url
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'lightning.views.home', name='home'),
    # url(r'^lightning/', include('lightning.foo.urls')),

    url(r'^admin/', include(admin.site.urls)),
    url(r'', include('social_auth.urls')),
    url(r'^$', 'django.views.generic.simple.direct_to_template', {
        'template': 'index.html'}, name='home'),
)

urlpatterns += staticfiles_urlpatterns()