Sweet, thanks alot. A welcome addition.
--~--~-~--~~~---~--~~
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 this group, send e
Well, for better or worse I submitted a ticket with my modded
fields.py, based off the latest SVN trunk:
http://code.djangoproject.com/ticket/1665
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group
Actually, it was really easy. As in "four lines" easy. I haven't done
extensive testing with it, but a quick run through seems to demonstrate
that it does what I want it to do.
Best of all, you only have to modify one file -- core/meta/fields.py:
1) Add a new param "length=None" to the __init__
On 4/19/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote:
> On 4/19/06, argus <[EMAIL PROTECTED]> wrote:
> >
> > Is there any reason that there's not a way to specify/override the size
> > of the form field that gets used in templates (separately from what
> > gets used in the admin interface)? I
On 4/19/06, argus <[EMAIL PROTECTED]> wrote:
>
> Is there any reason that there's not a way to specify/override the size
> of the form field that gets used in templates (separately from what
> gets used in the admin interface)? I can't think of one, and it's been
> something of a thorn in my side
Is there any reason that there's not a way to specify/override the size
of the form field that gets used in templates (separately from what
gets used in the admin interface)? I can't think of one, and it's been
something of a thorn in my side recently, so I figured I'd ask :) I'm
reluctant to ha
Hi
If the form element is set correctly I have to question why it saved
more than 3 characters to the DB and then retrieved those same
characters back again. I would have to dig deeper to see exactly what
is going on which is why I posted the question first, under the idea
that other people have
On 3/21/06, ChaosKCW <[EMAIL PROTECTED]> wrote:
> I am wondering what I need to do in order to get the admin site to
> enforce the maxlength property. I am using the MR Branch.
>
> I have a model with a CharField where maxlength=3. I goto in admin. It
> shows a huge box ie way more than 3 charcaat
Hi
I am wondering what I need to do in order to get the admin site to
enforce the maxlength property. I am using the MR Branch.
I have a model with a CharField where maxlength=3. I goto in admin. It
shows a huge box ie way more than 3 charcaaters, allows you to enter
more than 3 characters and d
9 matches
Mail list logo