mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 02:31:00 +00:00
9a0008db06
Fixes #437
18 lines
649 B
Python
18 lines
649 B
Python
from django.utils.decorators import method_decorator
|
|
from django.views.generic import RedirectView
|
|
|
|
from users.decorators import identity_required
|
|
from users.views.settings.import_export import ( # noqa
|
|
CsvFollowers,
|
|
CsvFollowing,
|
|
ImportExportPage,
|
|
)
|
|
from users.views.settings.interface import InterfacePage # noqa
|
|
from users.views.settings.profile import ProfilePage # noqa
|
|
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"
|