diff --git a/tos/tests/templates/index.html b/tos/tests/templates/index.html new file mode 100644 index 0000000..e69de29 diff --git a/tos/tests/test_urls.py b/tos/tests/test_urls.py index a931113..6c91a25 100644 --- a/tos/tests/test_urls.py +++ b/tos/tests/test_urls.py @@ -1,9 +1,12 @@ from django.conf.urls import include, url +from django.views.generic import TemplateView from tos.compat import patterns from tos import views urlpatterns = patterns('', + url(r'^$', TemplateView.as_view(template_name='index.html'), name='index'), + url(r'^login/$', views.login, {}, 'login'), url(r'^tos/', include('tos.urls')), )