addings lines to urls (thegoodplace) and views to froyo

parent 862e97d2
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'list/', views.list)
]
\ No newline at end of file
from django.shortcuts import render from django.shortcuts import render
# Create your views here. def list(request):
return render(request, 'ingredients_list.html')
...@@ -19,4 +19,5 @@ from django.contrib import admin ...@@ -19,4 +19,5 @@ from django.contrib import admin
urlpatterns = [ urlpatterns = [
url(r'^admin/', admin.site.urls), url(r'^admin/', admin.site.urls),
url(r'^froyo/', include('froyo.urls'))
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment