After recently having migrated our previous Django deployment stack to Dokku, we are sharing our experience in this post.
Dokku is Platform As A Service (PaaS) solution you can host on your own server. It is similar to Heroku but self-hosted. They share the same buildpacks used to build applications.
Installation is pretty straightforward and well explained on the official documentation. In this tutorial we assume you have a ...
Django 1.10 removed the very helpful --list (or -l) option from the manage migrate command. This option was deprecated since 1.8. But don't worry, you can have the same output using:
$ ./manage.py showmigrations
You can also see in which order your migrations will be applied using the --plan option:
$ ./manage.py showmigrations --plan
Django 1.7 comes with a built-in migration system for your data model, replacing the need of a third party module, usually South. This system is pretty good at doing a lot of stuff automatically, but there are some situations where you need to get your hands dirty, especially when there is data migration involved.
This guide will show you, step by step, how to convert a Foreign Key field ...