mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-05-17 22:31:08 +00:00
Generic index view for testing
This commit is contained in:
parent
9b9250b5c3
commit
e07fb710a8
2 changed files with 3 additions and 0 deletions
0
tos/tests/templates/index.html
Normal file
0
tos/tests/templates/index.html
Normal file
|
|
@ -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')),
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue