You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i try to use ajax_selects.make_ajax_field for selecting a many-to-one-relationship.
however, when i run the code, it fails with the following message: `AttributeError: 'ManyToOneRel' object has no attribute 'verbose_name'``
though i can set label and help_textexplicitly, it will eventually fail when the blank attribute gets looked up. the __repr__ of the name field at this point in the function is <ManyToOneRel: Relatedmodelplural.modelsingular>.
any short hint is highly appreciated.
The text was updated successfully, but these errors were encountered:
i try to use
ajax_selects.make_ajax_field
for selecting a many-to-one-relationship.however, when i run the code, it fails with the following message: `AttributeError: 'ManyToOneRel' object has no attribute 'verbose_name'``
though i can set
label
andhelp_text
explicitly, it will eventually fail when theblank
attribute gets looked up. the__repr__
of the namefield
at this point in the function is<ManyToOneRel: Relatedmodelplural.modelsingular>
.any short hint is highly appreciated.
The text was updated successfully, but these errors were encountered: