- Code: Select all
if conn is None:
#go to login page
what would be the best way to this?
if conn is None:
#go to login page
@login_required()
...
def my_view(request, conn=None, **kwargs):
...my implementation...
Return to Developer Discussion
Users browsing this forum: No registered users and 1 guest