Source

Lightning Talks / lightning / urls.py

Diff from to

lightning/urls.py

 from django.contrib import admin
 admin.autodiscover()
 
-from common.views import CreateUpdateProfileView, CreateTalkView, TalksView
+from common.views import CreateUpdateProfileView
 
 urlpatterns = patterns('',
-    # Examples:
-    # url(r'^$', 'lightning.views.home', name='home'),
-    # url(r'^lightning/', include('lightning.foo.urls')),
-
     url(r'^logout/$', 'common.views.logout_view', name='logout'),
     url(r'^profile/$', CreateUpdateProfileView.as_view(), name='profile'),
-    url(r'^talks/create/$', CreateTalkView.as_view(), name='create_talk'),
-    url(r'^talks/$', TalksView.as_view(), name='talks'),
+    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', {