Re: correction de mon code

2007-12-06 Thread Christophe Lai-Cheung-Kit
Bonjour, je débute en python, je ne sais pas si je te serais d'une grande aide mais dans les autres langages, on ne peut pas faire d'addition ou de soustraction de date de manière implicite, j'entends Date2 - Date1 ou des choses comme ca, il faut plutot utiliser une fonction. par exemple sous

Re: Cache Invalidation Proposal -- CachedModel

2007-12-06 Thread David Cramer
Here's some code that's been started -- I know you're interested in this Adrian :) http://www.pastethat.com/?weBZo This pulls in 2 different things that we've worked on: CachedForeignKey (little bits of it), and CacheManager (which is what brings in CachedQuerySet as well). This is just a quick

Cache Invalidation Proposal -- CachedModel

2007-12-06 Thread David Cramer
read this first: http://www.davidcramer.net/code/61/handling-cache-invalidation.html The goal is to create a cachedmodel, which relies on a completely different set of routines. All calls to this model, whether it be a foreignkey lookup, an objects call, or a JOIN on it's table (inside the ORM),

Re: aide

2007-12-06 Thread J. Clifford Dyer
Sorry for adding to the noise:signal by replying on list. I didn't look closely enough at which list it was in. Won't happen again. Cheers, Cliff On Thu, Dec 06, 2007 at 06:21:09PM +, EL AATIFI Sidi Mohamed wrote regarding Re: aide: > > > Bonjour, > > cette mailing est r?serv? au d?ve

Re: correction de mon code

2007-12-06 Thread J. Clifford Dyer
On Thu, Dec 06, 2007 at 09:19:47AM -0800, marie wrote regarding correction de mon code: > > voici mon code de date > > # -*- coding: utf-8 -*- > from datetime import datetime > > def dateDiffJour(dateeffet,dateecheance): > if dateeffet == dateecheance: > jour = (dateecheance) - (da

Re: aide

2007-12-06 Thread EL AATIFI Sidi Mohamed
Bonjour, cette mailing est r�serv� au d�veloppement interne de Django et c'est en Anglais en plus, vous trouverez ici l'adresse de la mailing liste francophone :[EMAIL PROTECTED] On Thu, 2007-12-06 at 09:24 -0800, marie wrote: > j'ai ce message d'error ('str' object has no attribute > 'creati

aide

2007-12-06 Thread marie
j'ai ce message d'error ('str' object has no attribute 'creation_counter') Je ne comprend d'ou peu venir mon error --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send

correction de mon code

2007-12-06 Thread marie
voici mon code de date # -*- coding: utf-8 -*- from datetime import datetime def dateDiffJour(dateeffet,dateecheance): if dateeffet == dateecheance: jour = (dateecheance) - (dateeffet) if dateeffet < dateecheance: jour = (dateecheance) - (dateeffet) else:

e-mails para mala direta dividida por classe social

2007-12-06 Thread Paula22
e-mails para mala direta dividida por classe social emails, e-mails por estados, e-mails cidade, cadastro e-mail, mala direta por e-mail, listas emails, e-mail regiões, propaganda email, enviar email anônimo, envio mala direta Visite agora: http://www.divulgaemails.com campanhas e-mail, lista

Re: Fixing app_label

2007-12-06 Thread Amit Upadhyay
On Dec 6, 2007 1:46 AM, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > Why not also use actual module objects here instead of strings like with > > view functions in urlconfs? > > I don't see the benefit. It makes sense for views so you can apply > decorators to them in your urls.py file. I'm n

Re: unicode error in template-loder

2007-12-06 Thread Malcolm Tredinnick
On Thu, 2007-12-06 at 01:17 -0800, [EMAIL PROTECTED] wrote: > high, i try too build my own django-template for my site. > the goal is to customize the look for feedjack, genius feedreader :) > > The string that could not be encoded/decoded was: stre�" /> # return (open(filepath).read().decode(

unicode error in template-loder

2007-12-06 Thread [EMAIL PROTECTED]
high, i try too build my own django-template for my site. the goal is to customize the look for feedjack, genius feedreader :) The string that could not be encoded/decoded was: stre�" />http://mobbing-gegner.de/ --~--~-~--~~~---~--~~ You received this message bec