Posted by Lucemia on Mon 09 Nov 2009 in Django
The simplest way to add internationalization support in google app engine
#urls.py
from django.conf import settings
try:
settings ...
Posted by koen@madebysofa.com on Tue 08 Sep 2009 in Django
I used to get this error every few requests. This is a little hack I found in the Jaiku engine ...
Posted by brainix on Sat 29 Aug 2009 in Django
import datetime
from google.appengine.ext.webapp.template import create_template_register
register = create_template_register()
@register.filter
def beautify_datetime(dt1):
"""Convert a Python ...
Posted by rupert.lloyd on Fri 21 Aug 2009 in Django
The jQuery Taconite Plugin allows you to easily make multiple DOM updates using the results of a single AJAX call ...
Posted by pghapek on Thu 09 Jul 2009 in Django
With this property it's easy to display and set datetime property in users timezones.
Example:
#settings.py:
TIME_ZONE = 'UTC ...
Posted by ktamas77 on Sat 02 May 2009 in Django
Despite it will work locally, Django will not recognize a property added to a db.Model.
Example (bda):
Posted by LSSayers on Sat 18 Apr 2009 in Django
Basically the same as http://code.google.com/appengine/articles/django.html, but with some code modified in main.py ...
Posted by patelgopal on Wed 08 Apr 2009 in Django
as i got frequent error of unicodedecodeerror , this code actually help me to overcome it. this one is actually copied ...
Posted by bsimpson on Mon 23 Mar 2009 in Django
Django's debug page can be very useful, but for security reasons, they recommend that you disable it before uploading ...
Posted by bsimpson on Sun 25 Jan 2009 in Django
Jinja is a reimagining of the Django templating system from the ground up. Though it uses the same {{ var }} tag ...