Commit b7f66b5c authored by Li Niko M. Arceo's avatar Li Niko M. Arceo 🦈

finally fixed homepage test

parent 8d39b3f9
...@@ -3,7 +3,7 @@ from django.conf.urls import url ...@@ -3,7 +3,7 @@ from django.conf.urls import url
from .views import HomeView, IngredientsList, IngredientsDetail, IngredientsUpdate, IngredientsCreate, RecipesList, RecipesDetail, RecipesUpdate, RecipesCreate, OrdersList, OrdersDetail, OrdersUpdate, OrdersCreate from .views import HomeView, IngredientsList, IngredientsDetail, IngredientsUpdate, IngredientsCreate, RecipesList, RecipesDetail, RecipesUpdate, RecipesCreate, OrdersList, OrdersDetail, OrdersUpdate, OrdersCreate
urlpatterns = [ urlpatterns = [
url(r'^$', HomeView, name='home_page'), url(r'^$', HomeView.as_view(), name='home_page'),
url(r'^ingredients/list$', IngredientsList.as_view(), name='ingredients-list'), url(r'^ingredients/list$', IngredientsList.as_view(), name='ingredients-list'),
url(r'^ingredients/detail$', IngredientsDetail.as_view(), name='ingredients-detail'), url(r'^ingredients/detail$', IngredientsDetail.as_view(), name='ingredients-detail'),
url(r'^ingredients/update$', IngredientsUpdate.as_view(), name='ingredients-update'), url(r'^ingredients/update$', IngredientsUpdate.as_view(), name='ingredients-update'),
......
...@@ -37,6 +37,7 @@ INSTALLED_APPS = [ ...@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'froyo',
] ]
MIDDLEWARE = [ MIDDLEWARE = [
......
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