Python/Django: unit testing DB apps with fixtures or factory methods?
Do you prefer factory methods or fixtures when unit testing with a database?
Posted by Gene at 09:12 on Fri 17 December 2010 -- 1 Comments
Short wide displays, Python and PEP 8
My next display will pivot or be tall and thin to suppose python and pep 8
Posted by Gene at 11:12 on Fri 10 December 2010 -- 9 Comments
Believe it or not you can debug Django templates with Wing4.0
Wing4.0 now has support to debug inside a Django template file
Posted by Gene at 21:06 on Thu 3 June 2010 -- 3 Comments
Model a DB with Django, Extensions and Firefox
You can use the Django models system along with the Django Extensions and something to view images in order to rapidly model your DB
Posted by Gene at 22:05 on Thu 27 May 2010 -- 1 Comments
Customizing Django Admin with jQuery? Getting '$ is not a function'?
A solution to the problem of having the jQuery $ alias removed from the namespace when loading Django Admin pages.
Posted by Gene at 12:05 on Wed 5 May 2010 -- 3 Comments
Poor Programmer's Release Script
If you only have rsync and a network, you can release your project
Posted by Gene at 10:04 on Mon 26 April 2010 -- 0 Comments
Django Apache WSGI locale and "Currency formatting is not possible using the 'C' locale."
If you are getting this error, this post might help.
Posted by Gene at 22:04 on Sun 25 April 2010 -- 2 Comments
DO NOT FOLLOW (was: Best way to clear and reset Django-South migration history)
When a project reaches a release point, it is often wise to collapse your Django-South history. Here's how.
Posted by Gene at 09:04 on Wed 21 April 2010 -- 6 Comments
Pythons? Going to Cairns, Australia?
You like Snakes? Something to see while in Cairns, Australia
Posted by Gene at 12:04 on Sat 17 April 2010 -- 0 Comments
Running Django's 'manage.py test' within WingIDE
One way to run unit tests within a Django project using WingIDE as the test runner.
Posted by Gene at 12:04 on Wed 14 April 2010 -- 1 Comments
Subclassing User to add extra fields in the Django Admin Site
Posted by Gene at 11:04 on Wed 14 April 2010 -- 2 Comments
Secret to laying out data with reportlab.platypus
reportlab playpus layout technique for breaking the flow of elements onto the next line
Posted by Gene at 21:03 on Tue 23 March 2010 -- 0 Comments
Welcome to my Blog
My blog is a place for me to record those things I find interesting or just hard to remember.
Posted by Gene at 17:03 on Mon 22 March 2010 -- 11 Comments