3 ms·
Could I just setup my db and then hook it up to Django's admin? Right now I'm trying to basically do a restructure of a database by having a set of csvs (4 sets
by SnowingXIV 9y ago
Could I just setup my db and then hook it up to Django's admin? Right now I'm trying to basically do a restructure of a database by having a set of csvs (4 sets of files or 4 "tables" bigger than excel can open but I use bash to pull the columns and sample data) and wrote some scripts to import them into postgres.
Old data is fun!
- danudey 9y agoDjango lets you inspect a database and generate models from it: https://docs.djangoproject.com/en/1.11/howto/legacy-databases/ https://docs.djangoproject.com/en/1.11/howto/legacy-database... Alternately, you can generate models that fit your data set and import them via Django's ORM and some simple scripting.