# Path: sitegate/decorators.py
# def signup_view(*args, **kwargs):
#     """Decorator to mark views used for signup."""
#     return FlowBuilder(ModernSignup, args, kwargs)
# 
# def redirect_signedin(*args, **kwargs):
#     """Decorator to mark views which should not be accessed by signed in users.
#     Example: sign in & sign up pages.
# 
#     """
#     return RedirectBuilder(args, kwargs)
# 
# def signin_view(*args, **kwargs):
#     """Decorator to mark views used for sign in."""
#     return FlowBuilder(ModernSignin, args, kwargs)


    from django.http.response import HttpResponse
    from django.http import HttpResponse
from django.template.base import Template
from django.template.context import Context
from sitegate.decorators import signup_view, redirect_signedin, signin_view
try:
except ImportError:



def response_from_string(request, string):
    return HttpResponse(Template(string).render(Context({'request': request})))



# Path: sitegate/decorators.py
# def signup_view(*args, **kwargs):
#     """Decorator to mark views used for signup."""
#     return FlowBuilder(ModernSignup, args, kwargs)
# 
# def redirect_signedin(*args, **kwargs):
#     """Decorator to mark views which should not be accessed by signed in users.
#     Example: sign in & sign up pages.
# 
#     """
#     return RedirectBuilder(args, kwargs)
# 
# def signin_view(*args, **kwargs):
#     """Decorator to mark views used for sign in."""
#     return FlowBuilder(ModernSignin, args, kwargs)


# Path: sitegate/tests/testapp/views.py
    from django.http.response import HttpResponse
    from django.http import HttpResponse
from django.template.base import Template
from django.template.context import Context
from sitegate.decorators import signup_view, redirect_signedin, signin_view

try:
except ImportError:



def response_from_string(request, string):
    return HttpResponse(Template(string).render(Context({'request': request})))



@signup_view(activate_user=False, auto_signin=False, validate_email_domain=False, redirect_to='ok')