by Carlos Ble | Mar 22, 2011 | Django
If you ever need to create a Django request for testing purposes you can use this: import urllib from urlparse import urlparse, urlunparse, urlsplit from django.test.client import FakePayload from django.conf import settings from django.conf.urls.defaults import *...
by Carlos Ble | Mar 9, 2011 | Django
How to select the main template tabs status from a child template using Django: base.html: {% block tabs%} <ul class=”menu”> <li class=”{{ SEARCH_TAB_STATUS }}”><a href=”/”> <span>{% trans...
by Carlos Ble | May 19, 2009 | Django, Software Development
Very important update: DO NOT USE THE FORMWIZARD for dynamic steps as described below. Django stores the FormWizard as a Singleton so concurrent sessions produce crazy behavior on the wizard. Thanks to my friends at Galotecnia.com because they found the problem. Use...