[tasks] Clean up todoist scrobbling
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user