[Answered ]-Can we create a table in django without models class? 2 January 2024 by thecoderscamp.com 1👍 You can use inspectdb to automatically generate the models from the legacy database. You can check about it in here. Or you can use SQL directly. Although, you will have to process the tables in python. Check it here. 👤Karthik Ronad [Answered ]-IntegrityError – NOT NULL constraint failed Source:stackexchange.com