Blacken quotes
This commit is contained in:
@ -1,70 +1,70 @@
|
||||
from django.urls import path
|
||||
from scrobbles import views
|
||||
|
||||
app_name = 'scrobbles'
|
||||
app_name = "scrobbles"
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
'manual/imdb/',
|
||||
"manual/imdb/",
|
||||
views.ManualScrobbleView.as_view(),
|
||||
name='imdb-manual-scrobble',
|
||||
name="imdb-manual-scrobble",
|
||||
),
|
||||
path(
|
||||
'manual/audioscrobbler/',
|
||||
"manual/audioscrobbler/",
|
||||
views.AudioScrobblerImportCreateView.as_view(),
|
||||
name='audioscrobbler-file-upload',
|
||||
name="audioscrobbler-file-upload",
|
||||
),
|
||||
path(
|
||||
'manual/koreader/',
|
||||
"manual/koreader/",
|
||||
views.KoReaderImportCreateView.as_view(),
|
||||
name='koreader-file-upload',
|
||||
name="koreader-file-upload",
|
||||
),
|
||||
path('finish/<slug:uuid>', views.scrobble_finish, name='finish'),
|
||||
path('cancel/<slug:uuid>', views.scrobble_cancel, name='cancel'),
|
||||
path("finish/<slug:uuid>", views.scrobble_finish, name="finish"),
|
||||
path("cancel/<slug:uuid>", views.scrobble_cancel, name="cancel"),
|
||||
path(
|
||||
'upload/',
|
||||
"upload/",
|
||||
views.AudioScrobblerImportCreateView.as_view(),
|
||||
name='audioscrobbler-file-upload',
|
||||
name="audioscrobbler-file-upload",
|
||||
),
|
||||
path(
|
||||
'lastfm-import/',
|
||||
"lastfm-import/",
|
||||
views.lastfm_import,
|
||||
name='lastfm-import',
|
||||
name="lastfm-import",
|
||||
),
|
||||
path(
|
||||
'webhook/jellyfin/',
|
||||
"webhook/jellyfin/",
|
||||
views.jellyfin_webhook,
|
||||
name='jellyfin-webhook',
|
||||
name="jellyfin-webhook",
|
||||
),
|
||||
path(
|
||||
'webhook/mopidy/',
|
||||
"webhook/mopidy/",
|
||||
views.mopidy_webhook,
|
||||
name='mopidy-webhook',
|
||||
name="mopidy-webhook",
|
||||
),
|
||||
path('export/', views.export, name='export'),
|
||||
path("export/", views.export, name="export"),
|
||||
path(
|
||||
'imports/',
|
||||
"imports/",
|
||||
views.ScrobbleImportListView.as_view(),
|
||||
name='import-detail',
|
||||
name="import-detail",
|
||||
),
|
||||
path(
|
||||
'imports/tsv/<slug:slug>/',
|
||||
"imports/tsv/<slug:slug>/",
|
||||
views.ScrobbleTSVImportDetailView.as_view(),
|
||||
name='tsv-import-detail',
|
||||
name="tsv-import-detail",
|
||||
),
|
||||
path(
|
||||
'imports/lastfm/<slug:slug>/',
|
||||
"imports/lastfm/<slug:slug>/",
|
||||
views.ScrobbleLastFMImportDetailView.as_view(),
|
||||
name='lastfm-import-detail',
|
||||
name="lastfm-import-detail",
|
||||
),
|
||||
path(
|
||||
'imports/koreader/<slug:slug>/',
|
||||
"imports/koreader/<slug:slug>/",
|
||||
views.ScrobbleKoReaderImportDetailView.as_view(),
|
||||
name='koreader-import-detail',
|
||||
name="koreader-import-detail",
|
||||
),
|
||||
path(
|
||||
'charts/',
|
||||
"charts/",
|
||||
views.ChartRecordView.as_view(),
|
||||
name='charts-home',
|
||||
name="charts-home",
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user