diff --git a/nummi/main/views.py b/nummi/main/views.py index 0e8ce64..3c24222 100644 --- a/nummi/main/views.py +++ b/nummi/main/views.py @@ -41,7 +41,10 @@ class UserMixin(LoginRequiredMixin): class UserFormMixin: def get_form_kwargs(self): - return super().get_form_kwargs() | {"user": self.request.user} + return super().get_form_kwargs() | { + "user": self.request.user, + "initial": self.request.GET, + } class NummiCreateView(UserMixin, UserFormMixin, CreateView):