diff --git a/src/lists/views.py b/src/lists/views.py index 71c2a4f..fdbe18b 100644 --- a/src/lists/views.py +++ b/src/lists/views.py @@ -1,3 +1,5 @@ from django.shortcuts import render -home_page = None \ No newline at end of file +# Create your views here +def home_page(): + pass \ No newline at end of file diff --git a/src/superlists/urls.py b/src/superlists/urls.py index 5218133..d07405e 100644 --- a/src/superlists/urls.py +++ b/src/superlists/urls.py @@ -14,8 +14,8 @@ Including another URLconf 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) """ from django.conf.urls import url -from django.contrib import admin +from lists import views urlpatterns = [ - url(r'^admin/', admin.site.urls), + url(r'^$', views.home_page, name='home'), ]