Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
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
Kyra Hung
Midterm-Project
Commits
bb185b66
Commit
bb185b66
authored
Mar 16, 2020
by
KY-2187
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update urls.py
parent
b211f093
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
urls.py
Midterm Project/froyo/urls.py
+20
-1
No files found.
Midterm Project/froyo/urls.py
View file @
bb185b66
from
django.conf.urls
import
urls
from
django.conf.urls
import
urls
from
.views
import
IngredientsListView
from
.views
import
IngredientsListView
,
IngredientsDetailView
,
IngredientsUpdateView
,
IngredientsCreateView
,
RecipesListView
,
RecipesDetailView
,
RecipesUpdateView
,
RecipesCreateView
,
OrdersListView
,
OrdersDetailView
,
OrdersUpdateView
,
OrdersCreateView
\ No newline at end of file
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
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