Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI 40 Project 1
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
Dirk Reyes
CSCI 40 Project 1
Commits
12e3c5a1
Commit
12e3c5a1
authored
Mar 25, 2020
by
Dirk Reyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created froyo/urls.py and added the url patters
parent
ef4cb5d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
urls.py
froyo/urls.py
+18
-0
No files found.
froyo/urls.py
0 → 100644
View file @
12e3c5a1
from
django.confs.url
import
url
from
.views
import
IngredientsList
,
IngredientsDetail
,
IngredientsUpdateForm
,
IngredientsCreateForm
,
RecipesList
,
RecipesDetail
,
RecipesUpdateForm
,
RecipesCreateForm
,
OrdersList
,
OrdersDetail
,
OrdersUpdateForm
,
OrdersCreateForm
urlpatterns
=
[
url
(
r'^ingredients/list/$'
,
IngredientsList
.
as_view
(),
name
"ingredients_list"
),
url
(
r'^ingredients/detail/$'
,
IngredientsDetail
.
as_view
(),
name
"ingredients_detail"
),
url
(
r'^ingredients/update_form/$'
,
IngredientsUpdateForm
.
as_view
(),
name
"ingredients_update_form"
),
url
(
r'^ingredients/create_form/$'
,
IngredientsCreateForm
.
as_view
(),
name
"ingredients_create_form"
),
url
(
r'^recipes/list/$'
,
RecipesList
.
as_view
(),
name
"recipes_list"
),
url
(
r'^recipes/detail/$'
,
RecipesDetail
.
as_view
(),
name
"recipes_detail"
),
url
(
r'^recipes/update_form/$'
,
RecipesUpdateForm
.
as_view
(),
name
"recipes_update_form"
),
url
(
r'^recipes/create_form/$'
,
RecipesCreateForm
.
as_view
(),
name
"recipes_create_form"
),
url
(
r'^orders/list/$'
,
OrdersList
.
as_view
(),
name
"orders_list"
),
url
(
r'^orders/detail/$'
,
OrdersDetail
.
as_view
(),
name
"orders_detail"
),
url
(
r'^orders/update_form/$'
,
OrdersUpdateForm
.
as_view
(),
name
"orders_update_form"
),
url
(
r'^orders/create_form/$'
,
OrdersCreateForm
.
as_view
(),
name
"orders_create_form"
),
]
\ 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