TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Improving Django testing with seed database

2 pointsby kilorevenover 1 year ago

1 comment

vlzover 1 year 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.