Y
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
sc68cal
5471 days ago
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...
link
michaelschade
5471 days ago
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 ;)
link
gusi
5471 days ago
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....
link
https://docs.djangoproject.com/en/dev/ref/django-admin/?from...