Commit a241dd4c authored by Patrick James Ong's avatar Patrick James Ong

Renamed file and fixed files according to rename

parent ed1251d3
<html>
<head>
<title>The Will of the Wisps Wiki</title>
<h1> The Will of the Wisps Wiki
<h1> The Will of the Wisps Wiki </h1>
</head>
<body>
......
......@@ -7,7 +7,7 @@ class HomePageTest(TestCase):
def test_uses_home_template(self):
response = self.client.get('/')
self.assertTemplateUsed(response, 'home.html')
self.assertTemplateUsed(response, 'heroes.html')
class CloudPageTest(TestCase):
......
......@@ -3,7 +3,7 @@ from django.conf.urls import url
from .views import HomeListView, CloudDetailView, JesterDetailView, SunfloweyDetailView
urlpatterns = [
url(r'^$', HomeListView.as_view(), name='home'),
url(r'^$', HomeListView.as_view(), name='heroes'),
url(r'^hero/cloud/$', CloudDetailView.as_view(), name='detail_cloud'),
url(r'^hero/jester/$', JesterDetailView.as_view(), name='detail_jester'),
url(r'^hero/sunflowey/$', SunfloweyDetailView.as_view(), name='detail_sunflowey'),
......
......@@ -6,7 +6,7 @@ from django.views.generic.base import TemplateView
# Create your views here.
class HomeListView(TemplateView):
template_name = 'home.html'
template_name = 'heroes.html'
class CloudDetailView(TemplateView):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment