Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI40-Lab1
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
Kyra Hung
CSCI40-Lab1
Commits
2e1cadbb
Commit
2e1cadbb
authored
Mar 06, 2020
by
KY-2187
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created urls.py
parent
8b3c9a72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
urls.py
Lab1/urls.py
+10
-0
No files found.
Lab1/urls.py
0 → 100644
View file @
2e1cadbb
from
django.conf.urls
import
urls
from
.views
import
HeroesView
,
CloudView
,
SunfloweyView
,
JesterView
urlpatterns
=
[
url
(
r'^heroes/$'
,
heroesView
.
as_view
(),
name
=
'heroes_show'
),
url
(
r'^hero/cloud$'
,
cloudView
.
as_view
(),
name
=
'cloud_show'
),
url
(
r'^hero/sunflowey$'
,
sunfloweyView
.
as_view
(),
name
=
'sunflowey_show'
),
url
(
r'^hero/jester$'
,
jesterView
.
as_view
(),
name
=
'jester_show'
)
]
\ 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