from django.conf.urls import url, include
from django.contrib import admin

from .talks import views


urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^talks/', include('podium.talks.urls')),
    url(r'^$', views.session_list_view),
]

from django.conf.urls import url, include
from django.contrib import admin

from .talks import views


urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^talks/', include('podium.talks.urls')),
    url(r'^', include('podium.talks.urls')),
]

Use include, not a view, for the root URL.
Use include, not a view, for the root URL.

  from django.conf.urls import url, include
  from django.contrib import admin
  
  from .talks import views
  
  
  urlpatterns = [
      url(r'^admin/', admin.site.urls),
      url(r'^talks/', include('podium.talks.urls')),
-     url(r'^$', views.session_list_view),
+     url(r'^', include('podium.talks.urls')),
  ]
  
Use include, not a view, for the root URL.
## Code Before:
from django.conf.urls import url, include
from django.contrib import admin

from .talks import views


urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^talks/', include('podium.talks.urls')),
    url(r'^$', views.session_list_view),
]

## Instruction:
Use include, not a view, for the root URL.
## Code After:
from django.conf.urls import url, include
from django.contrib import admin

from .talks import views


urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^talks/', include('podium.talks.urls')),
    url(r'^', include('podium.talks.urls')),
]
