I have recently been looking into Django and Python as a new direction for my own programming. Whilst the default database migration is quite cool I think that for longer term projects with lots of iterative changes dbSync just does not cut it. 467 more words
Tags » Django
In a heavy loop, you might want to change django model filtering to built in python filter function.
from myStuff.models import MyModel myModelItems = MyModel.objects.filter(pk__gt = 15) for x in range(1, 500): myModelItems.filter(pk__gte = random.randint(15, 35)).pk … 132 more words
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! 115 more words
Even though we’d all like to believe that IE is dead and there’s no need to test it any more, that simply isn’t the case yet. 342 more words