Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI 40 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
Lance Michael O. Co
CSCI 40 Midterm Project
Commits
2d5ce144
Commit
2d5ce144
authored
Mar 13, 2020
by
Lance Michael O. Co
😢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ingredients list test passed
parent
f283a687
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
2 deletions
+3
-2
tests.cpython-38.pyc
froyo/__pycache__/tests.cpython-38.pyc
+0
-0
urls.cpython-38.pyc
froyo/__pycache__/urls.cpython-38.pyc
+0
-0
views.cpython-38.pyc
froyo/__pycache__/views.cpython-38.pyc
+0
-0
urls.py
froyo/urls.py
+3
-2
No files found.
froyo/__pycache__/tests.cpython-38.pyc
View file @
2d5ce144
No preview for this file type
froyo/__pycache__/urls.cpython-38.pyc
View file @
2d5ce144
No preview for this file type
froyo/__pycache__/views.cpython-38.pyc
View file @
2d5ce144
No preview for this file type
froyo/urls.py
View file @
2d5ce144
#froyo/urls
#froyo/urls
from
django.conf.urls
import
url
from
django.conf.urls
import
url
from
.views
import
HomeView
,
TaskCreateView
from
.views
import
HomeView
,
IngredientsList
urlpatterns
=
[
urlpatterns
=
[
url
(
r'^$'
,
HomeView
,
name
=
'home_page'
),
url
(
r'^$'
,
HomeView
,
name
=
'home_page'
),
url
(
r'^tasks/new$'
,
TaskCreateView
,
name
=
'task_create'
),
url
(
r'^ingredients/list$'
,
IngredientsList
.
as_view
(),
name
=
'ingredients-list'
),
]
]
\ 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