NameError Exception

2005-08-29 Thread Sebastien Fievet
Hi all, I'm just stating with Django and it's API (and Python too). Thanks to all developers to this Framework. I'm trying to make my own application (on Debian system). So, I've read the documentation, and made all symbolic links than needed and set my environment variables. I've created my model

Re: NameError Exception

2005-08-30 Thread Sebastien Fievet
Allright, i'm confused. I'm a noob. Thanks a lot.

Re: initial data

2005-09-01 Thread Sebastien Fievet
Great. Nice shot !

Re: iterative data model development

2005-09-01 Thread Sebastien Fievet
Django is not a release product. So, some features are not implemented yet. Just leave their some time, and be patient ;)

How to generate fieldsets from a ForeignKey ?

2005-09-07 Thread Sebastien Fievet
Hi all, I'm developping an application, which model is the following : - from django.core import meta # Create your models here. class Device(meta.Model): name = meta.CharField(maxlength=55, db_index=True, core=True) fall_back = meta.For

Re: How to generate fieldsets from a ForeignKey ?

2005-09-08 Thread Sebastien Fievet
Well, maybe i'm not clear or there is no solution. Perhaps my solution would be in writing some GenericViews(http://www.djangoproject.com/documentation/generic_views/)...

Re: wysiwyg editor

2005-09-12 Thread Sebastien Fievet
Hi, if you want a templating language editable in a WYSIWYG editor, take a look at DjangoPageTemplate (http://www.zope.org/Members/shh/DjangoPageTemplates/1.0.0/readme.txt) It's an implementation to use TAL, TALES, and METAL template system with Django. Hope it helps.

Re: help with admin screens and many2many model

2005-10-11 Thread Sebastien Fievet
Hi, try this code : from django.core import meta class Article(meta.Model): headline = meta.CharField(maxlength=100) def __repr__(self): return self.headline class Publication(meta.Model): title

Re: success: django + fastcgi (flup) + nginx

2005-12-16 Thread Sebastien Fievet
Very nice weblog. Looks great !

iterator lookup function crashs

2006-02-10 Thread Sebastien Fievet
Hi all, i'm trying to use the iterator lookup function on my model, but it failed. My model is the following : from django.core import meta STATUS_CHOICES = ( (0, 'Added'), (1, 'Requested'), (2, 'Registered'), ) # Create your models here. class User(meta.Model): msisdn = meta.Ch

Re: iterator lookup function crashs

2006-02-10 Thread Sebastien Fievet
Oups, you should read : >>> from django.models.flood import members, events >>> e = events.get_values(pk=1) >>> for m in members.get_iterator(event__exact=e): ... print m --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: iterator lookup function crashs

2006-02-10 Thread Sebastien Fievet
Hi Adrian, You're right. Shame on me ! Thanks a lot. Seb --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from t