Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI40Lab1
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
Xavier Calabia
CSCI40Lab1
Commits
a1d7df9b
Commit
a1d7df9b
authored
Mar 07, 2020
by
Xavier Calabia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved hero pages and assets to their own folder
renamed home_page into heroes_page
parent
a69429d1
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
3 deletions
+3
-3
cloud.png
heroes/templates/hero/cloud.png
+0
-0
detail_cloud.html
heroes/templates/hero/detail_cloud.html
+0
-0
detail_jester.html
heroes/templates/hero/detail_jester.html
+0
-0
detail_sunflowey.html
heroes/templates/hero/detail_sunflowey.html
+0
-0
sunflowey.png
heroes/templates/hero/sunflowey.png
+0
-0
urls.py
heroes/urls.py
+2
-2
views.py
heroes/views.py
+1
-1
No files found.
heroes/templates/cloud.png
→
heroes/templates/
hero/
cloud.png
View file @
a1d7df9b
File moved
heroes/templates/detail_cloud.html
→
heroes/templates/
hero/
detail_cloud.html
View file @
a1d7df9b
File moved
heroes/templates/detail_jester.html
→
heroes/templates/
hero/
detail_jester.html
View file @
a1d7df9b
File moved
heroes/templates/detail_sunflowey.html
→
heroes/templates/
hero/
detail_sunflowey.html
View file @
a1d7df9b
File moved
heroes/templates/sunflowey.png
→
heroes/templates/
hero/
sunflowey.png
View file @
a1d7df9b
File moved
heroes/urls.py
View file @
a1d7df9b
from
django.conf.urls
import
url
from
.views
import
h
ome
_page
from
.views
import
h
eros
_page
urlpatterns
=
[
url
(
r'$'
,
h
ome_page
,
name
=
'home
_page'
),
url
(
r'$'
,
h
eros_page
,
name
=
'heros
_page'
),
]
heroes/views.py
View file @
a1d7df9b
# Create your views here.
from
django.shortcuts
import
render
def
h
ome
_page
(
request
):
def
h
eros
_page
(
request
):
return
render
(
request
,
'heroes.html'
)
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