This commit is contained in:
pacnpal
2024-10-29 23:11:55 -04:00
parent 6880f36b99
commit c58968a24a
20 changed files with 175 additions and 153 deletions

View File

@@ -11,8 +11,12 @@ urlpatterns = [
# Main app URLs
path('', HomeView.as_view(), name='home'),
path('parks/', include('parks.urls')),
path('rides/', include('rides.urls')),
# Parks URLs
path('parks/', include('parks.urls', namespace='parks')),
path('rides/', include('rides.urls', namespace='rides')),
# Other URLs
path('reviews/', include('reviews.urls')),
path('companies/', include('companies.urls')),
path('search/', SearchView.as_view(), name='search'),
@@ -28,8 +32,7 @@ urlpatterns = [
path('accounts/email-required/', accounts_views.email_required, name='email_required'),
# User profile URLs
path('users/<str:username>/', accounts_views.ProfileView.as_view(), name='user_profile'),
path('user/<str:username>/', accounts_views.ProfileView.as_view(), name='single_user_profile'),
path('user/<str:username>/', accounts_views.ProfileView.as_view(), name='user_profile'),
path('profile/<str:username>/', accounts_views.ProfileView.as_view(), name='profile'),
path('settings/', accounts_views.SettingsView.as_view(), name='settings'),