Implement Duck listing

This commit is contained in:
2014-12-23 09:28:43 +01:00
committed by Gergely Polonkai
parent 56d19e07d9
commit 8c9475d076
7 changed files with 60 additions and 12 deletions

View File

@@ -1,10 +0,0 @@
from django.test import TestCase, Client
class TestFront(TestCase):
def setUp(self):
self.client = Client()
def test_front_page(self):
response = self.client.get('/')
self.assertEqual(response.status_code, 200)

View File

@@ -3,6 +3,5 @@ from django.views.generic import TemplateView
urlpatterns = patterns(
'',
url('^$', TemplateView.as_view(template_name = 'front_template.html'), name = 'index'),
url('', include('booking.urls', namespace = 'booking')),
)