So this might be a weird or super easy question. Is it possible to build a table(model like) from csv files on the go from django views?
Asked
Active
Viewed 316 times
0

subha.py
- 463
- 3
- 18
1 Answers
0
Django Models are ultimately just Python classes, so, Yes, you can create then at runtime.
There are two excellent sources that come to mind:
- Dynamic Models — from the Django Wiki
- Answer to "Django dynamic model fields" — here on StackOverflow
They cover pretty much all you need.

Community
- 1
- 1

Carlton Gibson
- 7,278
- 2
- 36
- 46