2👍
✅
If your database is read-only, you don’t have to do syncdb
. Use managed=False
and the db_table
meta option on your model to specify the table name it corresponds to, and likewise for the field column names.
If you haven’t already, see the doc on legacy databases for more info.
Source:stackexchange.com