add import and export functionality
This commit is contained in:
parent
cc5307a723
commit
f14cc0e39e
4 changed files with 68 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
from pathlib import Path
|
||||
from environs import Env
|
||||
from import_export.formats.base_formats import CSV
|
||||
|
||||
env = Env()
|
||||
env.read_env()
|
||||
|
@ -79,6 +80,7 @@ INSTALLED_APPS = [
|
|||
"schema_viewer",
|
||||
"nested_admin",
|
||||
"adminsortable2",
|
||||
"import_export",
|
||||
# local
|
||||
"hub.services",
|
||||
"hub.broker",
|
||||
|
@ -245,3 +247,5 @@ JAZZMIN_SETTINGS = {
|
|||
"show_sidebar": True,
|
||||
"navigation_expanded": True,
|
||||
}
|
||||
|
||||
IMPORT_EXPORT_FORMATS = [CSV]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue