Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
will-o-wisp
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
will-o-wisp
Commits
89d4507d
Commit
89d4507d
authored
Mar 06, 2020
by
Santino Campos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add urls for the hero details pages
parent
4aa29aa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
urls.py
heroes/urls.py
+7
-0
No files found.
heroes/urls.py
View file @
89d4507d
...
@@ -2,6 +2,13 @@
...
@@ -2,6 +2,13 @@
from
django.conf.urls
import
url
from
django.conf.urls
import
url
from
.views
import
homepage
from
.views
import
homepage
from
.views
import
details_sunflowey
from
.views
import
details_jester
from
.views
import
details_cloud
urlpatterns
=
[
urlpatterns
=
[
url
(
r'^heroes'
,
homepage
,
name
=
'homepage'
),
url
(
r'^heroes'
,
homepage
,
name
=
'homepage'
),
url
(
r'^hero/sunflowey'
,
details_sunflowey
,
name
=
'homepage'
),
url
(
r'^hero/jester'
,
details_jester
,
name
=
'homepage'
),
url
(
r'^hero/cloud'
,
details_cloud
,
name
=
'homepage'
),
]
]
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