Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Espino_181877_MidtermProj
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
Joaquin
Espino_181877_MidtermProj
Commits
11af5350
Commit
11af5350
authored
Mar 16, 2020
by
Joaquin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HTML files and froyo url
parent
0a1d0881
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
166 additions
and
0 deletions
+166
-0
ingredients_create_form.html
froyo/templates/ingredients_create_form.html
+9
-0
ingredients_detail.html
froyo/templates/ingredients_detail.html
+9
-0
ingredients_list.html
froyo/templates/ingredients_list.html
+9
-0
ingredients_update_form.html
froyo/templates/ingredients_update_form.html
+9
-0
orders_create_form.html
froyo/templates/orders_create_form.html
+9
-0
orders_detail.html
froyo/templates/orders_detail.html
+9
-0
orders_list.html
froyo/templates/orders_list.html
+9
-0
orders_update_form.html
froyo/templates/orders_update_form.html
+9
-0
recipes_create_form.html
froyo/templates/recipes_create_form.html
+9
-0
recipes_detail.html
froyo/templates/recipes_detail.html
+9
-0
recipes_list.html
froyo/templates/recipes_list.html
+9
-0
recipes_update_form.html
froyo/templates/recipes_update_form.html
+9
-0
urls.py
froyo/urls.py
+20
-0
views.py
froyo/views.py
+38
-0
No files found.
froyo/templates/ingredients_create_form.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Ingredients Create Form
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/ingredients_detail.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Ingredients Detail
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/ingredients_list.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Ingredients List
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/ingredients_update_form.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Ingredients Update Form
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/orders_create_form.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Orders Create Form
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/orders_detail.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Orders Detail
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/orders_list.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Orders List
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/orders_update_form.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Orders Update Form
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/recipes_create_form.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Recipes Create Form
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/recipes_detail.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Recipes Detail
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/recipes_list.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
recipes_list
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/templates/recipes_update_form.html
0 → 100644
View file @
11af5350
<!DOCTYPE html>
<html>
<head>
<title>
Recipes Update Form
</title>
</head>
<body>
</body>
</html>
\ No newline at end of file
froyo/urls.py
0 → 100644
View file @
11af5350
from
django.conf.urls
import
url
from
.views
import
IngredientsListView
,
IngredientsDetailView
,
IngredientsUpdateView
,
IngredientsCreateView
,
RecipesListView
,
RecipesDetailView
,
RecipesUpdateView
,
RecipesCreateView
,
OrdersListView
,
OrdersDetailView
,
OrdersUpdateView
,
OrdersCreateView
urlpatterns
=
[
url
(
r'^ingredients_list$'
,
IngredientsListView
.
as_view
(),
name
=
'Ingredients_List_show'
),
url
(
r'^ingredients_detail$'
,
IngredientsDetailView
.
as_view
(),
name
=
'Ingredients_Detail_show'
),
url
(
r'^ingredients_update$'
,
IngredientsUpdateView
.
as_view
(),
name
=
'Ingredients_Update_show'
),
url
(
r'^ingredients_create$'
,
IngredientsCreateView
.
as_view
(),
name
=
'Ingredients_Create_show'
),
url
(
r'^recipes_list$'
,
RecipesListView
.
as_view
(),
name
=
'Recipes_List_show'
),
url
(
r'^recipes_detail$'
,
RecipesDetailView
.
as_view
(),
name
=
'Recipes_Detail_show'
),
url
(
r'^recipes_update$'
,
RecipesUpdateView
.
as_view
(),
name
=
'Recipes_Update_show'
),
url
(
r'^recipes_create$'
,
RecipesCreateView
.
as_view
(),
name
=
'Recipes_Create_show'
),
url
(
r'^orders_list$'
,
OrdersListView
.
as_view
(),
name
=
'Orders_List_show'
),
url
(
r'^orders_detail$'
,
OrdersDetailView
.
as_view
(),
name
=
'Orders_Detail_show'
),
url
(
r'^orders_update$'
,
OrdersUpdateView
.
as_view
(),
name
=
'Orders_Update_show'
),
url
(
r'^orders_create$'
,
OrdersCreateView
.
as_view
(),
name
=
'Orders_Create_show'
),
]
\ No newline at end of file
froyo/views.py
View file @
11af5350
from
django.shortcuts
import
render
from
django.views.generic
import
ListView
,
DetailView
,
UpdateView
,
CreateView
# Create your views here.
class
IngredientsListView
(
ListView
):
template_name
=
'ingredients_list.html'
class
IngredientsDetailView
(
DetailView
):
template_name
=
'ingredients_detail.html'
class
IngredientsUpdateView
(
UpdateView
):
template_name
=
'ingredients_update_form.html'
class
IngredientsCreateView
(
CreateView
):
template_name
=
'ingredients_create_form.html'
class
RecipesListView
(
ListView
):
template_name
=
'recipes_list.html'
class
RecipesDetailView
(
DetailView
):
template_name
=
'recipes_detail.html'
class
RecipesUpdateView
(
UpdateView
):
template_name
=
'recipes_update_form.html'
class
RecipesCreateView
(
ListView
):
template_name
=
'recipes_create_form.html'
class
OrdersListView
(
ListView
):
template_name
=
'orders_list.html'
class
OrdersDetailView
(
ListView
):
template_name
=
'orders_detail.html'
class
OrdersUpdateListView
(
ListView
):
template_name
=
'orders_update_form.html'
class
OrdersCreateView
(
ListView
):
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