# Path: tango_user/views.py
# class MemberList(ListView):
# class EditProfile(UpdateView):
# class EditProfileSettings(EditProfile):
#     def get_context_data(self, **kwargs):
#     def dispatch(self, *args, **kwargs):
#     def get_object(self, queryset=None):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def form_valid(self, form, *args, **kwargs):
# def view_profile(request, slug='', pk=''):


from django.urls import path
from .views import member_index, edit_profile, edit_settings, view_profile


urlpatterns = [
    path('', member_index, name="community_index"),
    path('edit-profile/', edit_profile, name="edit_profile"),
    path('edit-settings/', edit_settings, name="edit_settings"),
    path('<int:pk>/', view_profile, name="view_profile_by_id"),

# Path: tango_user/views.py
# class MemberList(ListView):
# class EditProfile(UpdateView):
# class EditProfileSettings(EditProfile):
#     def get_context_data(self, **kwargs):
#     def dispatch(self, *args, **kwargs):
#     def get_object(self, queryset=None):
#     def get_context_data(self, **kwargs):
#     def get_context_data(self, **kwargs):
#     def form_valid(self, form, *args, **kwargs):
# def view_profile(request, slug='', pk=''):


# Path: tango_user/urls.py
from django.urls import path
from .views import member_index, edit_profile, edit_settings, view_profile



urlpatterns = [
    path('', member_index, name="community_index"),
    path('edit-profile/', edit_profile, name="edit_profile"),
    path('edit-settings/', edit_settings, name="edit_settings"),
    path('<int:pk>/', view_profile, name="view_profile_by_id"),

    path('<slug:slug>/', view_profile, name='view_profile'),