clean up merge
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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>",
|
||||
|
||||
Reference in New Issue
Block a user