broke out lineup into its own app
This commit is contained in:
@@ -2,15 +2,7 @@ from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
|
||||
from django.urls import include, path
|
||||
|
||||
from .provider import TeamsnapProvider
|
||||
from .views import (
|
||||
PreferencesFormView,
|
||||
dashboard,
|
||||
edit_lineup,
|
||||
multi_lineup_choose,
|
||||
schedule_view,
|
||||
submit_lineup,
|
||||
view_event,
|
||||
)
|
||||
from .views import PreferencesFormView, dashboard, schedule_view, view_event
|
||||
|
||||
urlpatterns = default_urlpatterns(TeamsnapProvider)
|
||||
|
||||
@@ -25,25 +17,5 @@ urlpatterns += [
|
||||
view_event,
|
||||
name="teamsnap_view_event",
|
||||
),
|
||||
path(
|
||||
"<int:team_id>/schedule/edit_lineup/<int:event_ids>",
|
||||
edit_lineup,
|
||||
name="teamsnap_edit_lineup",
|
||||
),
|
||||
path(
|
||||
"<int:team_id>/event/<int:event_id>/submit_lineup/",
|
||||
submit_lineup,
|
||||
name="teamsnap_submit_lineup",
|
||||
),
|
||||
path(
|
||||
"<int:team_id>/event/<str:event_ids>/edit_lineup/",
|
||||
edit_lineup,
|
||||
name="teamsnap_edit_multiple_lineups",
|
||||
),
|
||||
path(
|
||||
"<int:team_id>/multievent/choose",
|
||||
multi_lineup_choose,
|
||||
name="teamsnap_choose_multiple_lineups",
|
||||
),
|
||||
path("", include("teamsnap.lineup.urls")),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user