-
15 NOV 2011
Random bits
0 commentsAlready slacking with the updates here, I should start trying to be a bit more regular with these posts. So a few random unrelated things today:
South on Hostgator
My site has been up working for a bit of time now, and the fact there's django (and Rails) hosting as part of the cheap shared hosting package on Hostgator still impresses me, but one little problem I encountered was using South.Now, on this page they list support for it, and it is indeed installed available to add to your INSTALLED_APPS in your settings.py. The problem is the shared hosting severs run Python 2.4, and so the second I ran a migration I hit this bug. Despite several attempts to let the folks at Hostgator know that it wouldn't work for anyone, they were being a little over-cautious and didn't want to update South at all.
Thankfully I found a nice simple solution to work around the problem. Download your own copy of South and stick it inside your django project folder and add the path inside your .fcgi file - sys.path.insert(0, "/home/tomc/djangoapps/south"). Then in your settings.py, rather than just adding 'south' to your INSTALLED_APPS, add '<project>.south' (djangoapps.south in my case) and you'll have a correctly working copy of south good to go.
Minecraft 1.0 and Minecon
For you gamers, a reminder that Minecon is happening next weekend, and IGN are going to be streaming various things during the event. For those of you who've not picked up Minecraft, I really would give it a try - it's a great thing to relax with in the evenings.More posts soon, honest...
Comments