Gotchas about Fixtures for Initial Data

Source article: Gotchas about Fixtures for Initial Data One part of Django testing environment is fixtures. They are pre-prepared datasets to fill into the database before running tests. Django uses a separate database for running tests, but the fixtures from the files initial_data.* are also loaded into the main database when you synchronize it. I […]

Using pdb to debug management commands and unit tests (Debugging Django Series,Part 4)

Source article: Using pdb to debug management commands and unit tests (Debugging Django Series,Part 4) Today’s screencast is about pdb again. This time we are going to be debugging management commands, and unit tests for django. This is a little bit more powerful than the previous screencast which just introduced the basic debugging commands. Read […]