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
8a394377
Commit
8a394377
authored
Mar 06, 2020
by
KY-2187
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited views.py
parent
2e1cadbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
views.py
Lab1/heroes/views.py
+16
-2
No files found.
Lab1/heroes/views.py
View file @
8a394377
from
django.
shortcuts
import
render
from
django.
views.generic.base
import
TemplateView
# Create your views here.
class
HeroesView
(
TemplateView
):
template_name
=
'heroes.html'
class
CloudView
(
TemplateView
):
template_name
=
'detail_cloud.html'
class
SunfloweyView
(
TemplateView
):
template_name
=
'detail_sunflowey.html'
class
JesterView
(
TemplateView
):
template_name
=
'detail_jester.html'
\ 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