- edited description
Batchupdate doesn't like prepopulated_fields
Issue #3
resolved
Given:
class TagAdmin(BatchUpdateAdmin):
prepopulated_fields = {"slug": ("name",)}
batch_update_fields = ('category', )
A 500 error is raised that neither slug
nor name
are in the form.
Adding these fields as a workaround raises validation messages that the fields are required.
Comments (5)
-
reporter -
repo owner Disregard fieldsets/readonly/prepopulated for BatchUpdate form media. See
#3→ <<cset e61ca8e20bfc>>
-
repo owner Does that work for you @cogat ?
-
reporter It does, thanks!
-
reporter - changed status to resolved
Fixed.
- Log in to comment