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
Santino Campos
thegoodplace
Commits
7ae02902
Commit
7ae02902
authored
Mar 17, 2020
by
Santino Campos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add url resolutions for all views for ingredients model
parent
f746b899
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
urls.py
froyo/urls.py
+20
-2
No files found.
froyo/urls.py
View file @
7ae02902
from
django.conf.urls
import
url
,
include
from
.views
import
ingredients_detail
from
.views
import
ingredients_list
from
.views
import
ingredients_create
from
.views
import
ingredients_update
from
.views
import
recipes_detail
from
.views
import
recipes_list
from
.views
import
recipes_create
from
.views
import
recipes_update
from
.views
import
orders_detail
from
.views
import
orders_list
from
.views
import
orders_create
from
.views
import
orders_update
urlpatterns
=
[
url
(
r''
,
placeholder_view
),
]
url
(
r'ingredients/detail'
,
ingredients_detail
,
name
=
'ingredients_detail'
),
url
(
r'ingredients/list'
,
ingredients_list
,
name
=
'ingredients_list'
),
url
(
r'ingredients/create'
,
ingredients_create
,
name
=
'ingredients_create'
),
url
(
r'ingredients/update'
,
ingredients_update
,
name
=
'ingredients_update'
),
]
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