Coffee on the Keyboard
  • Home
  • jamessocol.com
Sign in Subscribe

testing

A collection of 2 posts
django

Testing with Django's Cache

I don’t love my solution to this problem, so I’m writing about it in hopes that someone has something better. When you run tests with Django, you get an isolated test database. This can be wiped out and the consistency makes life a lot easier when you are
Dec 6, 2014 1 min read
Database

Django Fixtures with Circular Foreign Keys

If you create a nice, perfectly normalized database, you (probably) won’t ever run into circular foreign keys (when a row in table A references a row in table B that references the same row in table A). In the real world, this happens pretty regularly. The most common situation
Sep 29, 2010 1 min read
Page 1 of 1
Coffee on the Keyboard © 2023
Powered by Ghost