Hacker News new | ask | show | jobs
by michaelschade 5471 days ago
Love SQLite when doing some Django development. Great to easily scrap the database with a quick `rm` and repopulate with good data.
1 comments

I've been breaking myself of that habit: I try and use the flush command so I don't have to keep doing the superuser creation step.

https://docs.djangoproject.com/en/dev/ref/django-admin/?from...

Good point, as the superuser creation bit does tend to get annoying. But you have to admit–there's something much more fun about getting to rm your db ;)
yeah, but if you are modifying the schema and are not using south or something like that, you will still want to rm & syncdb again....