Skip to content
Advertisement

Django project without models and data base

It is possible to build a project in Django without models ? I have a views, templates(html), css and urls. That site is looking very good in a browser. It is a hairdressing salon website.

Greetings

Advertisement

Answer

It is completely possible to create a Django project without any models. You only really need models if your website contains objects, like posts or users.

For one example, I created a recreation of Wikipedia using Django using exactly 0 models; since each entry was just a Markdown file, there was no need for any models.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement