[tasks] First try at adding an emacs webhook
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
from django.urls import path
|
||||
from scrobbles import views
|
||||
from tasks.webhooks import todoist_webhook
|
||||
from tasks.webhooks import todoist_webhook, emacs_webhook
|
||||
|
||||
app_name = "scrobbles"
|
||||
|
||||
@ -63,6 +63,13 @@ urlpatterns = [
|
||||
views.ScrobbleImportListView.as_view(),
|
||||
name="import-detail",
|
||||
),
|
||||
path("webhook/emacs/", emacs_webhook, name="emacs_webhook"),
|
||||
path("export/", views.export, name="export"),
|
||||
path(
|
||||
"imports/",
|
||||
views.ScrobbleImportListView.as_view(),
|
||||
name="import-detail",
|
||||
),
|
||||
path(
|
||||
"imports/tsv/<slug:slug>/",
|
||||
views.ScrobbleTSVImportDetailView.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user