Hi Carles,
Hope you are well.
You mentioned you are using crispy-forms. :-)
Have you seen this part of the docs, it allows you to update forms 'on the go'.
I've not really played with this but it sounds similar to what you need?
https://django-crispy-forms.readthedocs.io/en/latest/dynamic_layo
Hi Carles.
Supported/unsupported isn't always clear cut... if you bend it far it far
enough maybe it's just undefined what the behaviour is.
Certainly, adding fields based on whether the field data is itself if
invalid is going to lead into sticky territory. When you add FormSets to
the mix a
Hi,
On Jun/19/2020, Carlton Gibson wrote:
> Bon dia Carles.
I'm very impressed! :-)
> I'm inclined to say that calling self.errors in __init__ is at least *holding
> it wrong*.
:-) it almost worked! (the only known issue was for the BaseForm not
deleting the model of my ModelForm... for wh
I'd argue that since Django is an international framework, we should strive
to set an international standard. If a certain word is off-putting or
problematic to individuals in our community, and if it does not convey an
accurate and least astonishing meaning to a non-native English speaker,
then we
As an international framework I think we should make our interface as language
and culturally agnostic as possible. ‘Allow’ and ‘Deny’ are simply semantically
clearer than ‘white’ and ‘black’. That alone is a convincing argument for me.
> On 19 Jun 2020, at 13:55, Alexander Lyabah wrote:
>
>
Django in international framework, not US-framework. You should not change
variable names just because meaning of some words have been changed in US
recently. Those words have been used in source-code for years, and nobody
put racism in those word when this framework was founded and nobody puts
Bon dia Carles.
I'm inclined to say that calling self.errors in __init__ is at least *holding
it wrong*.
I'm not sure what if anything we might do about that. DRF's serializers
have all kinds of
"you have to call is_valid() before accessing .data" type assertions, but
they only catch the
o
Hi,
Yesterday I found that calling self.errors in the constructor of a Form
that is in an InlineFormSet (or any formset I guess): the "delete" of a
form doesn't work anymore. I wonder if this is a bug in Django (for this
case, if a new bug is needed, I'm happy to open it... or be referred to
an