Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean method for bulk edit method is not getting called #3702

Open
vmathurpaytm opened this issue Jan 8, 2022 · 0 comments
Open

clean method for bulk edit method is not getting called #3702

vmathurpaytm opened this issue Jan 8, 2022 · 0 comments

Comments

@vmathurpaytm
Copy link

vmathurpaytm commented Jan 8, 2022

Model
file_item = models.FileField(blank=False, verbose_name=_('ABC'),)

Admin



def ModelAdmin():
     action = ['bulk_edit_action']
     bulk_list_display = ['file_item']
     form = FileFieldForm 

def FileFieldForm(RalphAdminForm):
    file_item = forms.FileField()
    def clean_file_item():
         # do some stuff

Expected behaviour
Want this file field clean method to be called

@vmathurpaytm vmathurpaytm changed the title clean method for buld edit method. is not getting called clean method for bulk edit method is not getting called Jan 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant