# Path: pyfreebilling/users/views.py
# class UserDetailView(LoginRequiredMixin, DetailView):
# class UserListView(LoginRequiredMixin, ListView):
# class UserUpdateView(LoginRequiredMixin, UpdateView):
# class UserRedirectView(LoginRequiredMixin, RedirectView):
#     def get_success_url(self):
#     def get_object(self):
#     def form_valid(self, form):
#     def get_redirect_url(self):


from django.urls import path
from pyfreebilling.users.views import (
    user_list_view,
    user_redirect_view,
    user_update_view,
    user_detail_view,
)


app_name = "users"
urlpatterns = [
    path("", view=user_list_view, name="list"),
    path("~redirect/", view=user_redirect_view, name="redirect"),

# Path: pyfreebilling/users/views.py
# class UserDetailView(LoginRequiredMixin, DetailView):
# class UserListView(LoginRequiredMixin, ListView):
# class UserUpdateView(LoginRequiredMixin, UpdateView):
# class UserRedirectView(LoginRequiredMixin, RedirectView):
#     def get_success_url(self):
#     def get_object(self):
#     def form_valid(self, form):
#     def get_redirect_url(self):


# Path: pyfreebilling/users/urls.py
from django.urls import path
from pyfreebilling.users.views import (
    user_list_view,
    user_redirect_view,
    user_update_view,
    user_detail_view,
)



app_name = "users"
urlpatterns = [
    path("", view=user_list_view, name="list"),
    path("~redirect/", view=user_redirect_view, name="redirect"),

    path("~update/", view=user_update_view, name="update"),