Showing 1 to 6 of 7 blog posts tagged with "migration".
-
How to Simplify Django Migrations and Deployment
When removing fields from Django models, or adding non-nullable fields, it can be hard to avoid a mismatch between code running on some servers and the database in use. By usin... Read more
May 25, 2021 -
How to Switch to a Custom Django User Model Mid-Project
The Django documentation recommends always starting your project with a custom user model (even if it's identical to Django's to begin with), to make it easier to customize lat... Read more
April 26, 2019 -
Writing Unit Tests for Django Migrations
Testing in a Django project ensures the latest version of a project is as bug-free as possible. But when deploying, you’re dealing with multiple versions of the project through ... Read more
February 2, 2016 -
Initial Data in Django
I've struggled to find an ideal way to load initial data for Django projects. By “initial data,” I'm referring to the kind of data that you need on a new system for it to be fu... Read more
November 10, 2015 -
Contributing Back to Symposion
Recently Caktus collaborated with the organizers of PyOhio, a free regional Python conference, to launch the PyOhio 2014 conference website. The conference starts this weekend, ... Read more
July 21, 2014 -
Migrating to a Custom User Model in Django
UPDATE: Read a newer blog post on this topic. The new custom user model configuration that arrived in Django makes it relatively straightforward to swap in your own model for t... Read more
August 7, 2013