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()

from common.views import CreateUpdateProfileView

urlpatterns = patterns('',
    url(r'^logout/$', 'common.views.logout_view', name='logout'),
    url(r'^profile/$', CreateUpdateProfileView.as_view(), name='profile'),
    url(r'^talks/', include('talks.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()
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.