I have a basic form that shows what a person entered when it is
submitted. However, it shows up as a form.CharField (textbox) instead
of model.CharField. Is there a way to access the model's saved data
from the Forms? Also does form_for_model (http://www.djangobook.com/en/
1.0/chapter07/) no long
Thanks, that's a big help.
On Nov 1, 5:14 am, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Nov 1, 5:33 am, killsto <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have a basic form that shows what a person entered when it is
> > submitted. However, it shows
First of all, I know the tutorial supplies somewhat of a poll, and
I've been through it.
What I want to do is make an app that has one poll (or question) of
the day that someone can edit from the admin interface. Each question
has 4 choices. Also, there will not be user registration, just a field
I'm making a small app which is kind of like a blog. I have an Entry
class which has "ForeignKey(User)" as one of its members. I'm using
ModelForm to generate the form and I'm excluding the User ForeignKey
because it will just ask for you to pick a user from a drop-down
list.
Where do I tell it t
Thanks, that worked.
On Jul 10, 1:44 pm, Jonathan Buchanan
wrote:
> > I'm making a small app which is kind of like a blog. I have an Entry
> > class which has "ForeignKey(User)" as one of its members. I'm using
> > ModelForm to generate the form and I'm excluding the User ForeignKey
> > because
5 matches
Mail list logo