5. How to import CSV using Django admin?¶ You have been asked to allow csv imports on the Hero admin. You will do this by adding a link to the Hero changelist page, which will take to a page with an upload form. You will write a handler for the POST action to create the objects from the csv.: class CsvImportForm(forms.Form): csv_file = forms.FileField() @admin.register(Hero) class HeroAdmin(admin.
{{#tags}}- {{label}}
{{/tags}}