Deploying to heroku using mercurial & bitbucket

Very neat and straightforward guide to use mercurial & bitbucket to deploy to heroku, which only supports git. In short: create another repository on bitbucket that hosts git, and push all the existing code to it. Then maintain the same in parallel, force pushing to the git repository.

http://www.fantomfactory.org/articles/using-mercurial-and-git-in-harmony

 
6
Kudos
 
6
Kudos

Now read this

Django Model Choices using Python Enum

Python 3.4 introduced enums types which seem tailor made for use with django model choices. For some reason there seemed no examples to do this, but it’s relatively simple with some tricks (you may call them warts, django needs to enable... Continue →