Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI40_Lab01_Willowisp
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
Ana Gabrielle S. Caligagan
CSCI40_Lab01_Willowisp
Commits
33d23bb4
Commit
33d23bb4
authored
Mar 06, 2020
by
Ana Gabrielle S. Caligagan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modifying urls and views by fixing misspellings.
parent
c91e10c5
Pipeline
#833
canceled with stages
Changes
5
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
2 deletions
+2
-2
tests.cpython-37.pyc
heroes/__pycache__/tests.cpython-37.pyc
+0
-0
urls.cpython-37.pyc
heroes/__pycache__/urls.cpython-37.pyc
+0
-0
views.cpython-37.pyc
heroes/__pycache__/views.cpython-37.pyc
+0
-0
urls.py
heroes/urls.py
+1
-1
views.py
heroes/views.py
+1
-1
No files found.
heroes/__pycache__/tests.cpython-37.pyc
0 → 100644
View file @
33d23bb4
File added
heroes/__pycache__/urls.cpython-37.pyc
View file @
33d23bb4
No preview for this file type
heroes/__pycache__/views.cpython-37.pyc
0 → 100644
View file @
33d23bb4
File added
heroes/urls.py
View file @
33d23bb4
from
django.conf.urls
import
url
s
from
django.conf.urls
import
url
from
.views
import
HomeListView
,
CloudDetailView
,
JesterDetailView
,
SunfloweyDetailView
from
.views
import
HomeListView
,
CloudDetailView
,
JesterDetailView
,
SunfloweyDetailView
...
...
heroes/views.py
View file @
33d23bb4
...
@@ -5,7 +5,7 @@ from django.views.generic.list import ListView
...
@@ -5,7 +5,7 @@ from django.views.generic.list import ListView
from
django.views.generic.detail
import
DetailView
from
django.views.generic.detail
import
DetailView
# Create your views here.
# Create your views here.
class
HomeView
(
TemplateView
):
class
Home
List
View
(
TemplateView
):
template_name
=
"home.html"
template_name
=
"home.html"
class
CloudDetailView
(
DetailView
):
class
CloudDetailView
(
DetailView
):
...
...
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