from django.conf.urls import url from tos.compat import patterns from tos.views import check_tos, TosView urlpatterns = patterns('', # Terms of Service conform url(r'^confirm/$', check_tos, name='tos_check_tos'), # Terms of service simple display url(r'^$', TosView.as_view(), name='tos'), )
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')), )
from django.conf.urls import include, url from tos.compat import patterns from tos import views urlpatterns = patterns( '', url(r'^login/$', views.login, {}, 'login'), url(r'^tos/', include('tos.urls')), )
from django.conf.urls import include, url from tos.compat import patterns from tos import views urlpatterns = patterns('', url(r'^login/$', views.login, {}, 'login'), url(r'^tos/', include('tos.urls')), )
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')), )
from django.conf.urls import url from tos.compat import patterns from tos.views import check_tos, TosView urlpatterns = patterns( '', # Terms of Service conform url(r'^confirm/$', check_tos, name='tos_check_tos'), # Terms of service simple display url(r'^$', TosView.as_view(), name='tos'), )