Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI40-Midterm-Project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Andrea Tsai
CSCI40-Midterm-Project
Commits
00de31bc
Commit
00de31bc
authored
Mar 21, 2020
by
littleredpanda14
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated views
parent
24d49e81
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
14 deletions
+24
-14
views.py
froyo/views.py
+24
-14
No files found.
froyo/views.py
View file @
00de31bc
...
@@ -14,53 +14,63 @@ class JanetView(TemplateView):
...
@@ -14,53 +14,63 @@ class JanetView(TemplateView):
class
IngredientsListView
(
ListView
):
class
IngredientsListView
(
ListView
):
template_name
=
'ingredients_list.html'
pass
#template_name = 'ingredients_list.html'
class
IngredientsDetailView
(
DetailView
):
class
IngredientsDetailView
(
DetailView
):
template_name
=
'ingredients_detail.html'
pass
#template_name = 'ingredients_detail.html'
class
IngredientsUpdateView
(
UpdateView
):
class
IngredientsUpdateView
(
UpdateView
):
template_name
=
'ingredients_update_form.html'
pass
#template_name = 'ingredients_update_form.html'
class
IngredientsCreateView
(
CreateView
):
class
IngredientsCreateView
(
CreateView
):
template_name
=
'ingredients_create_form.html'
template_name_suffix
=
'_create_form'
#template_name = 'ingredients_create_form.html'
class
RecipesListView
(
ListView
):
class
RecipesListView
(
ListView
):
template_name
=
'recipes_list.html'
pass
#template_name = 'recipes_list.html'
class
RecipesDetailView
(
DetailView
):
class
RecipesDetailView
(
DetailView
):
template_name
=
'recipes_detail.html'
pass
#template_name = 'recipes_detail.html'
class
RecipesUpdateView
(
UpdateView
):
class
RecipesUpdateView
(
UpdateView
):
template_name
=
'recipes_update_form.html'
pass
#template_name = 'recipes_update_form.html'
class
RecipesCreateView
(
CreateView
):
class
RecipesCreateView
(
CreateView
):
template_name
=
'recipes_create_form.html'
template_name_suffix
=
'_create_form'
#template_name = 'recipes_create_form.html'
class
OrdersListView
(
ListView
):
class
OrdersListView
(
ListView
):
template_name
=
'orders_list.html'
pass
#template_name = 'orders_list.html'
class
OrdersDetailView
(
DetailView
):
class
OrdersDetailView
(
DetailView
):
template_name
=
'orders_detail.html'
pass
#template_name = 'orders_detail.html'
class
OrdersUpdateView
(
UpdateView
):
class
OrdersUpdateView
(
UpdateView
):
template_name
=
'orders_update_form.html'
pass
#template_name = 'orders_update_form.html'
class
OrdersCreateView
(
CreateView
):
class
OrdersCreateView
(
CreateView
):
template_name
=
'orders_create_form.html'
template_name_suffix
=
'_create_form'
#template_name = 'orders_create_form.html'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment