예제 #1
0
파일: urls.py 프로젝트: blag/django-tos
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'),
)
예제 #2
0
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')),
)
예제 #3
0
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')),
)
예제 #4
0
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')),
)
예제 #5
0
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')),
)
예제 #6
0
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'),
)