# -*- coding: utf-8 -*-
from django.urls import path
from django.views.generic import RedirectView
from .views import TenantRegistrationView, RegistrationSuccessView

app_name = 'tenants'

urlpatterns = [
    path('', RedirectView.as_view(url='register/', permanent=False), name='home'),  # Главная страница перенаправляет на регистрацию
    path('register/', TenantRegistrationView.as_view(), name='register'),
    path('register/success/', RegistrationSuccessView.as_view(), name='registration_success'),
]
