Re: extends headaches

2008-02-07 Thread AmanKow
On Feb 7, 2:14 pm, AmanKow <[EMAIL PROTECTED]> wrote: > I've reopenedhttp://code.djangoproject.com/ticket/5124. > 'contains_nontext' must be an instance attribute, not a class > attribute in 'NodeList'. There is a patch attached. Arrggh... my humble apologies... been following the template code,

Re: extends headaches

2008-02-07 Thread AmanKow
On Feb 7, 2:26 pm, AmanKow <[EMAIL PROTECTED]> wrote: > BTW, do I understand this correctly... > {# comment #} is alright, but {% comment %} ... {% endcomment %} is > not? I don't see anything in the code that would allow block > comments. Would be nice if it did... This could be implemented ea

Re: extends headaches

2008-02-07 Thread AmanKow
BTW, do I understand this correctly... {# comment #} is alright, but {% comment %} ... {% endcomment %} is not? I don't see anything in the code that would allow block comments. Would be nice if it did... Wayne --~--~-~--~~~---~--~~ You received this message be

Re: extends headaches

2008-02-07 Thread AmanKow
I've reopened http://code.djangoproject.com/ticket/5124. 'contains_nontext' must be an instance attribute, not a class attribute in 'NodeList'. There is a patch attached. Wayne --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Enhancement to edit_inline

2008-02-07 Thread James Bennett
On Feb 7, 2008 8:29 AM, MikeH <[EMAIL PROTECTED]> wrote: > So I modified the admin app to let you override the edit inline templates in > your own applications, > using the admin/app_name/model_name/edit_inline_(stacked|tabular).html > convention that the other admin templates use. > > The diff i

Re: extends headaches

2008-02-07 Thread David Larlet
Thanks, I try to do my best and five mistakes in the same sentence is not that bad ;) Cheers, David Le 7 févr. 08 à 15:31, J. Cliff Dyer a écrit : > > I made a couple of minor grammatical changes for clarity, but your > english was pretty good, David. > > Cheers, > Cliff > > On Thu, 2008-02-0

Re: extends headaches

2008-02-07 Thread J. Cliff Dyer
I made a couple of minor grammatical changes for clarity, but your english was pretty good, David. Cheers, Cliff On Thu, 2008-02-07 at 15:06 +0100, David Larlet wrote: > > Le 6 f�vr. 08 � 21:01, SmileyChris a �crit : > > > > > On Feb 6, 9:43 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > > wro

Enhancement to edit_inline

2008-02-07 Thread MikeH
Hi all, I wanted to use edit_inline for some of my models, but wanted to customise the templates that were used. So I modified the admin app to let you override the edit inline templates in your own applications, using the admin/app_name/model_name/edit_inline_(stacked|tabular).html convention th

Re: extends headaches

2008-02-07 Thread David Larlet
Le 6 févr. 08 à 21:01, SmileyChris a écrit : > > On Feb 6, 9:43 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: >> It already results in a broken site, we're now just being a lot >> clearer >> about that. > > Actually, it only resulted previously in a broken site if the extended > template

EARNING for reading SMS

2008-02-07 Thread Priyabrata Patra
Hello, I found few genuine sites for earning through your mobile. 1. http://www.sms2india.co.in/?user=patrapb 2. http://www.youmint.com/network-patrapb 3. http://www.mginger.com/index.jsp?inviteId=115252 Earning Highlights: = Earning for receiving SMS in your Mobile. = Earning for receiving SM

Re: Bug saving NUL character?

2008-02-07 Thread Patryk Zawadzki
On Feb 7, 2008 4:15 AM, Alexandre Martani <[EMAIL PROTECTED]> wrote: > Hi, > When I try to save a string containing NUL character (\x00), only the > part before the character is saved. I have created a simple model: > > class Test(models.Model): >content = models.TextField() Text fields are n

Re: custom model field validation

2008-02-07 Thread Russell Keith-Magee
On Feb 7, 2008 5:57 PM, Mackenzie Kearl <[EMAIL PROTECTED]> wrote: > > I am having trouble finding documentation on how to add custom > validation to a custom model field. Please don't cross post messages between django-users and django-developers. In addition to the general impoliteness of cross

custom model field validation

2008-02-07 Thread Mackenzie Kearl
I am having trouble finding documentation on how to add custom validation to a custom model field. example: class PostalField(models.CharField): def __init__(self,*args,**kwargs): kwargs['max_length']= 6 super(PostalField, self).__init__(*args, **kwargs)