Settings

Theme

Improving Django testing with seed database

tla.wtf

2 points by kiloreven 2 years ago · 1 comment

Reader

vlz 2 years ago

When using Django, one of the things I am missing from rails is the `db/schema.rb` file containing the whole db structure as ruby code. It is great for getting an overview of what tables there are and also allows you to quickly recreate the db in any adapter (e.g. sqlite for test, postgres for dev, …) without going through all the migrations as Django does.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection