[tasks] Clean up todoist scrobbling
All checks were successful
build & deploy / test (push) Successful in 1m47s
build & deploy / deploy (push) Successful in 21s

This commit is contained in:
2026-03-31 18:28:49 -04:00
parent 01aa0cba76
commit 2dbd752609
4 changed files with 147 additions and 96 deletions

View File

@ -1,8 +1,7 @@
from django.contrib.auth.mixins import LoginRequiredMixin
from django.urls import reverse_lazy
from django.http.response import HttpResponseBadRequest
from django.urls import reverse_lazy
from django.views.generic import FormView
from profiles.forms import UserProfileForm
@ -27,4 +26,5 @@ class ProfileFormView(LoginRequiredMixin, FormView):
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["user_id"] = self.request.user.id
context["profile"] = self.request.user.profile
return context