Re: widget=forms.HiddenInput doesn't work

2009-04-02 Thread Michael Rose Jr.

This was fixed by upgrading to the latest version in SVN.

Thanks for your help B

On Apr 1, 8:57 pm, "Michael Rose Jr." <michaelros...@gmail.com> wrote:
> On Apr 1, 8:40 pm, Brian Neal <bgn...@gmail.com> wrote:
>
>
>
> > On Apr 1, 10:19 pm, "Michael Rose Jr." <michaelros...@gmail.com>
> > wrote:
>
> > > Brian. Thanks for responding. I mean to post "name". I've been
> > > experimenting with other field types, which why I accidentally pasted
> > > "last". Here is the HTML for "name".
> > > Name: > > type="text" name="name" maxlength="45" />
>
> > > Here's the model.http://dpaste.com/22453/
> > > Thanks again for your help.
>
> > > Riz
>
> > Oh, one more thing. How are you displaying your form in your template?
> > Can you post that part of your template?
>
> > BN
>
> Hi Brian,
>
> Here's the template:http://dpaste.com/22457/
>
> Here's the "view source" (Line 5)http://dpaste.com/22458/
>
> I am seeing this issue in the development server and in production/
> Apache. I restarted both and cleared my cache in my browsers just to
> be sure that wasn't the issue.
>
> Python 2.5.2 (r252:60911, Jan  4 2009, 21:59:32)
> [GCC 4.3.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.>>> 
> import django
> >>> django.VERSION
>
> (1, 0, 2, 'final', 0)
>
>
>
> Thanks,
>
>  Riz
--~--~-~--~~~---~--~~
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 email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: widget=forms.HiddenInput doesn't work

2009-04-01 Thread Michael Rose Jr.

On Apr 1, 8:40 pm, Brian Neal <bgn...@gmail.com> wrote:
> On Apr 1, 10:19 pm, "Michael Rose Jr." <michaelros...@gmail.com>
> wrote:
>
>
>
> > Brian. Thanks for responding. I mean to post "name". I've been
> > experimenting with other field types, which why I accidentally pasted
> > "last". Here is the HTML for "name".
> > Name: > type="text" name="name" maxlength="45" />
>
> > Here's the model.http://dpaste.com/22453/
> > Thanks again for your help.
>
> > Riz
>
> Oh, one more thing. How are you displaying your form in your template?
> Can you post that part of your template?
>
> BN

Hi Brian,

Here's the template:
http://dpaste.com/22457/

Here's the "view source" (Line 5)
http://dpaste.com/22458/

I am seeing this issue in the development server and in production/
Apache. I restarted both and cleared my cache in my browsers just to
be sure that wasn't the issue.

Python 2.5.2 (r252:60911, Jan  4 2009, 21:59:32)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import django
>>> django.VERSION
(1, 0, 2, 'final', 0)
>>>

Thanks,

 Riz


--~--~-~--~~~---~--~~
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 email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: widget=forms.HiddenInput doesn't work

2009-04-01 Thread Michael Rose Jr.

On Apr 1, 6:53 pm, Brian Neal  wrote:
> On Apr 1, 8:16 pm, rizzoo  wrote:
>
> > How do I make a field hidden when using ModelForm?  I tried
> > HiddenInput but it appears to be ignored.
>
> > code:http://dpaste.com/22290/
> > Line 9
>
> > Here's what View Source shows for that line in the browners:
> > Last: > name="last" maxlength="45">
>
> Well it looks like you are trying to hide the field "name". So why are
> you showing us the HTML for the field named "last"?
>
> I just did this the other day and it worked for me.
>
> Can you post your model code too?
>
> BN

Brian. Thanks for responding. I mean to post "name". I've been
experimenting with other field types, which why I accidentally pasted
"last". Here is the HTML for "name".
Name:

Here's the model. http://dpaste.com/22453/
Thanks again for your help.

Riz

--~--~-~--~~~---~--~~
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 email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---