On 1 June 2011 14:13, skyde <madpoe...@gmail.com> wrote:

> Thank you for the links!
>
> I had actually skimmed the first of those and I could not see at the
> time how it related to my problem.
> The second is very interesting and I'll try to read both of them asap.
>
> Rant begins...
> Most of my issues stem of poor understanding of python and not
> directly related to django.
> This is what you get from trying to understand django with limited
> knowledge of python.
> Why I haven't had the time to study python is another matter
> alltogether...
>
> On Jun 1, 2:15 pm, Derek <gamesb...@gmail.com> wrote:
> > On Jun 1, 11:39 am, skyde <madpoe...@gmail.com> wrote:
> >
> > > Thank you very much! I had not realised the self.fields['vaihtoehdot']
> > > part!
> >
> > > Best regards,
> > > skyde
> >
> > For what it's worth (as this question comes up from time to time and,
> > occasionally, people actually search in the archives before asking
> > again...), I'll add links to these excellent blog posts, by two of
> > Django's core developers, on this topic:
> >
> >
> http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/http://jacobian.org/writing/dynamic-form-generation/
>
>
> Well, the very first piece of code in the first link  includes the line:

self.fields['captcha'] = CaptchaField()

and if your earlier reply, you said

"I had not realised the self.fields['vaihtoehdot'] part!"
so it seems it does relate, perhaps, to your understanding of the problem.

I do agree that trying to understand Django with limited knowledge of Python
is going to be very difficult.  I suggest you look at the current thread on
this topic on the mailing list...

-- 
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.

Reply via email to