When testing a Django application you often need to populate the test database with some sample data. The standard Django TestCase has support for fixture loading but there are a number of problems with using fixtures:
- First, they must be updated each time your schema changes.
- Second, they force you ...
If you’ve ever written a test for a view or model with associated uploaded files you might have noticed a small problem with those files hanging around after the tests are complete. Since version 1.3, Django won’t delete the files associated with your model instances when they ...
This blog post is about ways of doing things in your Django app, and pitfalls to avoid, so your app is easier to plug in to other sites.
One of the most enticing promises of Django is that you’ll be able to add features to your site by ...