I have a Django application that is successfully being hosted on a remote server using Nginx. The production DB is PostgreSQL.
I have a development server where I'd like to change the code for the Django application. When I use python manage.py runserver
for testing, I'd ideally prefer to avoid touching the production DB at all.
This is my first time crossing this bridge. Can someone shed some light on the best practice for 'stubbing' the entire database for development? Can you do some if/else statement in settings.py
to use SQLite? Or is there a better solution?