clean up merge

This commit is contained in:
2022-06-09 18:54:58 -05:00
parent a83bbffbfe
commit 3a0efe3eeb
3 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

View File

@@ -1,5 +1,6 @@
from django.urls import path
from views import dashboard
from .views import dashboard
urlpatterns = [
path("<int:team_id>/dashboard/", dashboard, name="teamsnap_dashboard"),

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>",