Skip to main content

login_not_required

Decorator for views that allows access to unauthenticated requests.

def login_not_required(
view_func: function
) - > function

Decorator for views that allows access to unauthenticated requests.

Parameters

NameTypeDescription
view_funcfunctionThe view function to be marked as accessible without user authentication

Returns

TypeDescription
functionThe original view function with an internal attribute set to bypass authentication checks