This repository has been archived on 2023-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
takahe/users/views/settings/__init__.py

14 lines
532 B
Python
Raw Normal View History

from django.utils.decorators import method_decorator
2022-11-26 03:33:46 +01:00
from django.views.generic import RedirectView
from users.decorators import identity_required
from users.views.settings.interface import InterfacePage # noqa
2022-11-19 21:38:25 +01:00
from users.views.settings.profile import ProfilePage # noqa
2022-11-26 03:33:46 +01:00
from users.views.settings.security import SecurityPage # noqa
from users.views.settings.settings_page import SettingsPage # noqa
@method_decorator(identity_required, name="dispatch")
class SettingsRoot(RedirectView):
pattern_name = "settings_profile"