4 ms·
Love SQLite when doing some Django development. Great to easily scrap the database with a quick `rm` and repopulate with good data.
by michaelschade 15y ago
Love SQLite when doing some Django development. Great to easily scrap the database with a quick `rm` and repopulate with good data.
- sc68cal 15y agoI'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=olddocs#flush https://docs.djangoproject.com/en/dev/ref/django-admin/?from...
- michaelschade 15y agoGood 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 ;)
- gusi 15y agoyeah, but if you are modifying the schema and are not using south or something like that, you will still want to rm & syncdb again....