Upgrading Wagtail to use Django 1.7 locally using vagrant

These are the steps I followed to upgrade an existing Wagtail 0.8.3 which was using Django 1.6 to use 1.7. It wasn't that obvious to me so I've detailed the steps here. This assumes you're using Vagrant locally, to test things, I cloned a new local version of our site in case it went wrong, …

Continue reading Upgrading Wagtail to use Django 1.7 locally using vagrant

Advertisements

Outputing JSON for a model with properties and db fields in Wagtail/Django

I thought I'd share this example because it took me ages to figure out how to output JSON for a model which included a model property as well as the actual fields of the model. For our footer links we had a property called 'link' in the snippet which would return either a full URL …

Continue reading Outputing JSON for a model with properties and db fields in Wagtail/Django

Installing Django on Mavericks Mac Os X (Simple install for development)

I was having a real problem installing Django and mySql on a mac, there were lots of guides but many of them wanted you to install another version of Python and stuff like virtualenv! The following commands are what I finally used to get it all installed using mainly homebrew. Hope this saves someone a …

Continue reading Installing Django on Mavericks Mac Os X (Simple install for development)