# Path: lazysignup/views.py
# def convert(request, form_class=None,
#             redirect_field_name='redirect_to',
#             anonymous_redirect=settings.LOGIN_URL,
#             template_name='lazysignup/convert.html',
#             ajax_template_name='lazysignup/convert_ajax.html'):
# 
# Path: lazysignup/tests/views.py
# def view(request):
# def lazy_view(request):
# def requires_lazy_view(request):
# def requires_nonlazy_view(request):


from django.conf.urls import url, include
from django.contrib.auth.forms import UserCreationForm
from django.conf import settings
    from lazysignup.tests.forms import GoodUserCreationForm
    from custom_user_tests.forms import GoodUserCreationForm
from django.contrib import admin
from lazysignup import views
from lazysignup.tests import views as test_views
from django.contrib import admin


if settings.AUTH_USER_MODEL is 'auth.User':  # pragma: no cover
else:  # pragma: no cover



admin.autodiscover()


# URL test patterns for lazysignup. Use this file to ensure a consistent
# set of URL patterns are used when running unit tests.


urlpatterns = [
    url(r'^admin/?', admin.site.urls),
    url(r'^convert/', include('lazysignup.urls')),
    url(r'^custom_convert/', views.convert, {
        'template_name': 'lazysignup/done.html'
    }),
    url(r'^custom_convert_ajax/', views.convert, {
        'ajax_template_name': 'lazysignup/done.html'
    }),
]

urlpatterns += [
    url(r'^nolazy/$', test_views.view, name='test_view'),

# Path: lazysignup/views.py
# def convert(request, form_class=None,
#             redirect_field_name='redirect_to',
#             anonymous_redirect=settings.LOGIN_URL,
#             template_name='lazysignup/convert.html',
#             ajax_template_name='lazysignup/convert_ajax.html'):
# 
# Path: lazysignup/tests/views.py
# def view(request):
# def lazy_view(request):
# def requires_lazy_view(request):
# def requires_nonlazy_view(request):


# Path: lazysignup/tests/urls.py
from django.conf.urls import url, include
from django.contrib.auth.forms import UserCreationForm
from django.conf import settings
    from lazysignup.tests.forms import GoodUserCreationForm
    from custom_user_tests.forms import GoodUserCreationForm
from django.contrib import admin
from lazysignup import views
from lazysignup.tests import views as test_views
from django.contrib import admin



if settings.AUTH_USER_MODEL is 'auth.User':  # pragma: no cover
else:  # pragma: no cover



admin.autodiscover()


# URL test patterns for lazysignup. Use this file to ensure a consistent
# set of URL patterns are used when running unit tests.


urlpatterns = [
    url(r'^admin/?', admin.site.urls),
    url(r'^convert/', include('lazysignup.urls')),
    url(r'^custom_convert/', views.convert, {
        'template_name': 'lazysignup/done.html'
    }),
    url(r'^custom_convert_ajax/', views.convert, {
        'ajax_template_name': 'lazysignup/done.html'
    }),
]

urlpatterns += [
    url(r'^nolazy/$', test_views.view, name='test_view'),

    url(r'^lazy/$', test_views.lazy_view, name='test_lazy_view'),