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

Re: ModelForms

2007-11-09 Thread EL AATIFI Sidi Mohamed
I'm agree with you, but this example is just for demonstration purposes, but concerning the proposition, we really need something to reuse our model definitions into forms without rewrite(DRY), since that a form field, in many cases, has the same validation rules in both, back end and front end.

Separate models.py in multiple files

2007-06-03 Thread EL AATIFI Sidi Mohamed
Hi, Currently I develop a large website using Django, and I have in the project some applications with a very big models file, and I want to separate it in multiple files : Product.py, Category.py, , which will be set up in the models directory.That´s to say: + myapp/ + models/ |-