sqladmin icon indicating copy to clipboard operation
sqladmin copied to clipboard

Add feature for importing CSV file

Open alserious opened this issue 10 months ago • 1 comments

  1. Add an import button and a modal window for selecting a CSV file in the list page.
  2. Add flags: column_import_list, column_import_exclude_list, can_import by default disabled.
  3. If the model has relations, the association will be according to the returned data __str__ method of the SQLAlchemy model. Relation models in a CSV file are separated by a comma.

Screenshot 2025-02-03 144529

Screenshot 2025-02-03 144541

import_csv

image

alserious avatar Feb 03 '25 08:02 alserious