clean up merge

This commit is contained in:
2022-06-10 07:17:38 -05:00
parent a83bbffbfe
commit df210b71a2
5 changed files with 26 additions and 60 deletions

View File

@@ -2,15 +2,13 @@ from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from django.urls import include, path
from .provider import TeamsnapProvider
from .views import PreferencesFormView, dashboard, schedule_view, view_event
from .views import PreferencesFormView, schedule_view, view_event
urlpatterns = default_urlpatterns(TeamsnapProvider)
urlpatterns += [
path("preferences/", PreferencesFormView.as_view(), name="teamsnap_preferences"),
path("<int:team_id>/schedule/", schedule_view, name="teamsnap_schedule"),
path("<int:team_id>/dashboard/", dashboard, name="teamsnap_dashboard"),
path("dashboard/", dashboard, name="teamsnap_dashboard"),
path("schedule/", schedule_view, name="teamsnap_schedule"),
path(
"<int:team_id>/schedule/view_event/<int:event_id>",