Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI40-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
Andrea Tsai
CSCI40-Midterm-Project
Commits
5b76a145
Commit
5b76a145
authored
Mar 18, 2020
by
littleredpanda14
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated urls
parent
6defcce2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
urls.py
froyo/urls.py
+12
-2
No files found.
froyo/urls.py
View file @
5b76a145
...
...
@@ -16,9 +16,19 @@ from .views import OrdersListView, OrdersDetailView, OrdersUpdateView, OrdersCre
urlpatterns
=
[
url
(
r'^froyo$'
,
JanetView
.
as_view
(),
name
=
'
janet
'
),
url
(
r'^froyo$'
,
JanetView
.
as_view
(),
name
=
'
froyo
'
),
url
(
r'^froyo/ingredients$'
,
IngredientsListView
.
as_view
(),
name
=
'ingredients_list'
),
url
(
r'^froyo/ingredients/
almonds$'
,
IngredientsDetailView
.
as_view
(),
name
=
'almonds
'
),
url
(
r'^froyo/ingredients/
ingredient_name$'
,
IngredientsDetailView
.
as_view
(),
name
=
'ingredient_name
'
),
url
(
r'^froyo/ingredients/update$'
,
IngredientsUpdateView
.
as_view
(),
name
=
'ingredients_update'
),
url
(
r'^froyo/ingredients/create$'
,
IngredientsCreateView
.
as_view
(),
name
=
'ingredients_create'
),
url
(
r'^froyo/recipes$'
,
RecipesListView
.
as_view
(),
name
=
'ingredients_list'
),
url
(
r'^froyo/recipes/recipe_name$'
,
RecipesDetailView
.
as_view
(),
name
=
'recipe_name'
),
url
(
r'^froyo/recipes/update$'
,
RecipesUpdateView
.
as_view
(),
name
=
'recipes_update'
),
url
(
r'^froyo/recipes/create$'
,
RecipesCreateView
.
as_view
(),
name
=
'recipes_create'
),
url
(
r'^froyo/orders$'
,
OrdersListView
.
as_view
(),
name
=
'orders_list'
),
url
(
r'^froyo/orders/order_name$'
,
OrdersCreateView
.
as_view
(),
name
=
'order_name'
),
url
(
r'^froyo/orders/update$'
,
OrdersUpdateView
.
as_view
(),
name
=
'orders_update'
),
url
(
r'^froyo/orders/create$'
,
OrdersDetailView
.
as_view
(),
name
=
'orders_create'
),
]
\ 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