Fwd: Country, State and City data

2007-12-14 Thread David Blewett
This didn't make it the first time -- Forwarded message -- From: David Blewett <[EMAIL PROTECTED]> Date: Dec 11, 2007 6:57 PM Subject: Re: Country, State and City data To: django-users@googlegroups.com On Dec 11, 2007 4:59 PM, <[EMAIL PROTECTED]> wrote: &

Re: Logging in an application

2006-11-07 Thread David Blewett
an has an example here: http://feh.holsman.net/articles/2006/06/13/django-signals There is example code in the counter app at: http://svn.zyons.python-hosting.com/trunk/zilbo/common/counter/ in models.py and signals.py. David Blewett --~--~-~--~~~---~--~~ You received

Re: how are you handling i18n and m10l content?

2006-11-09 Thread David Blewett
e('Spanish')) You can get the text for a specific translation like this: a.translations.filter(field='bar', language=Language('Spanish')) David Blewett --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: how are you handling i18n and m10l content?

2006-11-09 Thread David Blewett
On Nov 9, 8:17 am, "David Blewett" <[EMAIL PROTECTED]> wrote: > Then you can add translations of field(s) by doing: > a = ModelNeedingTranslation(1, 'nothing') > a.translations.create(field='bar', translated_text='nada', > language=La

Re: Ordering flatpages?

2006-12-22 Thread David Blewett
Paul Smith wrote: Another thing on my mind is what would happen if my flatpages start getting all hierarchical on me... has anyone had to figure out how to let users manage objects with something like a file/folder tree? You could use the MPTT (modified pre-order tree traversal) app to make

Threading and Django

2006-07-15 Thread David Blewett
Hi All: I'm starting to work on a webmail app in Django. I came across an improved version of imaplib1 that uses threads for some of the calls to the IMAP server. Will this cause problems in a Django / mod-python / Apache scenario? Or should I stick to plain imaplib? David Blewett 1:

Django and Threading

2006-07-15 Thread David Blewett
Hi All: I'm starting to work on a webmail app in Django. I came across an improved version of imaplib1 that uses threads for some of the calls to the IMAP server. Will this cause problems in a Django / mod-python / Apache scenario? Or should I stick to plain imaplib? David Blewett 1:

Re: geographic targeting with django

2006-08-15 Thread David Blewett
You could combine the maxmind GeoIP database 1 + cross-referencing that with the CivicSpace ZIP code database 2.David Blewett1 http://www.maxmind.com/app/geolitecity 2 http://www.civicspacelabs.org/home/zipcodedbOn 8/15/06, Ian Holsman < [EMAIL PROTECTED]> wrote:Hi.does anyone know of a python modu

Signals

2006-08-31 Thread David Blewett
o the post_save signal of several different objects (User, ContentType, etc). Any help is appreciated! David Blewett --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: Database events?

2006-09-10 Thread David Blewett
On 9/10/06, cyberco <[EMAIL PROTECTED]> wrote: Is this solvable with Django, or am I using the wrong framework for myproblem?Have you looked at https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/JobControl ?David --~--~-~--~~~---~--~~ You received this mes