Djangofoo - djangofoo.com - Django foo

General Information:
Latest News:
DjangoFoo Hosting Updates 18 Aug 2010 | 09:38 pm
Just a quick entry to let you know the following updates are now available on our DjangoFoo hosting platform Upgraded mod_wsgi to 3.3 New 750GB of backup server available, with weekly backups.
RequestContext direct_to_template, TEMPLATE_CONTEXT_PROCESSORS 6 Aug 2010 | 02:28 am
If you are wondering why you can’t use {{ request }} in your templates while using direct_to_template then you probably forgot to edit your TEMPLATE_CONTEXT_PROCESSORS in settings.py The default TEM...
Session Key Change On Login 4 Jul 2010 | 09:05 am
If you use the request.session.session_key for an anonymous user e.g. to store shopping cart information, and then use django.contrib.auth login be aware that the session key will change. This tends t...
Get SESSION id/key (session_key) 23 Jun 2010 | 09:50 pm
You can easily grab the session key/id from the request object
Autoreload/Restart modwsgi on source change 20 Jun 2010 | 10:50 pm
When developing with Django’s DEV server it has a very nice feature, the auto-reload. That is, every time you make changes to a file, the server is automatically restarted. We can have the same with...
Django Foo hosting now in Russian 19 Jun 2010 | 11:03 pm
We are pleased to anounce that our hosting platform is now available in Russian. Many thanks to Viktor “Barbuza” Kotseruba who helped with the translation.
Display Django Version 19 Jun 2010 | 01:36 am
Ever wondered how to detect which version of Django you are actually running? Well it is as simple as this:
Use javascript, css in admin 3 Jun 2010 | 02:17 am
Ever wanted to use your own JavaScript OR CSS inside the built in Django admin? Well… it is possible! All you need to do is the following: 1) Add a admin.py (if you don’t already have yet…) for you...
AVG Decimal simplejson (Decimal is not JSON serializable) 26 May 2010 | 11:46 pm
If you use AVG aggregation function on Integer field in MySQL, you will have in a result { “avg_rate” : Decimal(’2.6667′)} and an “Exception Value: Decimal(’2.6667′) is not JSON serializable”. In th...
Increment/Decrement Field value 26 May 2010 | 11:43 pm
Incrementing or decrementing field values can be done by using the F() function. UPDATE FIELD = FIELD + 1 WHERE… ?