Actually, looking again at the source, it might be generally belter to use
self.base_fields. (Yes, my previous answer is not an exact copy of my code,
so I got it wrong).
On Sun, 18 Apr 2021 at 17:16, Shaheed Haque wrote:
>
>
> On Sun, 18 Apr 2021 at 14:38, sebasti...@gmail.com <
> sebastian.ju.
On Sun, 18 Apr 2021 at 14:38, sebasti...@gmail.com <
sebastian.ju...@gmail.com> wrote:
> Hello,
>
> Thanks for your fast response. But i don't know how i can
> use self.declared_fields and why this would help me...
>
The "how" is easy. Here is a fragment from my code where the problem is
that ev
Hello,
Thanks for your fast response. But i don't know how i can
use self.declared_fields and why this would help me...
Regards
shahee...@gmail.com schrieb am Sonntag, 18. April 2021 um 15:14:03 UTC+2:
> Try updating self.declared_fields instead.
>
> On Sun, 18 Apr 2021, 13:47 sebasti...@gma
Try updating self.declared_fields instead.
On Sun, 18 Apr 2021, 13:47 sebasti...@gmail.com,
wrote:
> Hello,
>
>
> *forms.py:*
>
> class Newsletterform(StandardMixin):
> class Meta:
> model = Newsletter
> fields = ['newslettername', 'from_link', 'to_list',
> 'email_subject', '
4 matches
Mail list logo