Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thegoodplace
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
Patrick James Ong
thegoodplace
Commits
c7c1928d
Commit
c7c1928d
authored
Mar 18, 2020
by
Patrick James Ong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added code for froyo urls
parent
8398bcbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
urls.py
thegoodplace/froyo/urls.py
+22
-0
No files found.
thegoodplace/froyo/urls.py
View file @
c7c1928d
from
django.conf.urls
import
url
from
.views
import
IngredientListView
,
IngredientDetailView
,
IngredientUpdateView
,
IngredientCreateView
from
.views
import
RecipesListView
,
RecipesDetailView
,
RecipesUpdateView
,
RecipesCreateView
from
.views
import
OrdersListView
,
OrdersDetailView
,
OrdersUpdateView
,
OrdersCreateView
urlpatterns
=
[
url
(
r'^ingredients/list/$'
,
IngredientListView
.
as_view
(),
name
=
'ingredients_list'
),
url
(
r'^ingredients/detail/$'
,
IngredientDetailView
.
as_view
(),
name
=
'ingredients_detail'
),
url
(
r'^ingredients/update/$'
,
IngredientUpdateView
.
as_view
(),
name
=
'ingredients_update_form'
),
url
(
r'^ingredients/new/$'
,
IngredientCreateView
.
as_view
(),
name
=
'ingredients_create_form'
),
url
(
r'^recipes/list/$'
,
RecipesListView
.
as_view
(),
name
=
'recipes_list'
),
url
(
r'^recipes/detail/$'
,
RecipesDetailView
.
as_view
(),
name
=
'recipes_detail'
),
url
(
r'^recipes/update/$'
,
RecipesUpdateView
.
as_view
(),
name
=
'recipes_update_form'
),
url
(
r'^recipes/new/$'
,
RecipesCreateView
.
as_view
(),
name
=
'recipes_create_form'
),
url
(
r'^orders/list/$'
,
OrdersListView
.
as_view
(),
name
=
'orders_list'
),
url
(
r'^orders/detail/$'
,
OrdersDetailView
.
as_view
(),
name
=
'orders_detail'
),
url
(
r'^orders/update/$'
,
OrdersUpdateView
.
as_view
(),
name
=
'orders_update_form'
),
url
(
r'^orders/new/$'
,
OrdersCreateView
.
as_view
(),
name
=
'orders_create_form'
),
]
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