Implement Duck listing
This commit is contained in:
@@ -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)
|
||||
|
@@ -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')),
|
||||
)
|
||||
|
Reference in New Issue
Block a user