A lifesaver you are! Thx DR!
On Apr 25, 4:37 pm, Daniel Roseman wrote:
> On Monday, April 25, 2011 9:16:18 PM UTC+1, lingrlongr wrote:
>
> > I have a view that subclasses uses django.views.generic UpdateView.
> > In my template, I'm trying to access a form field's required
> > property. For exa
On Monday, April 25, 2011 9:16:18 PM UTC+1, lingrlongr wrote:
>
> I have a view that subclasses uses django.views.generic UpdateView.
> In my template, I'm trying to access a form field's required
> property. For example:
>
> {% for field in form %}
>{{ field.required }}
> {% endfor %}
>
I have a view that subclasses uses django.views.generic UpdateView.
In my template, I'm trying to access a form field's required
property. For example:
{% for field in form %}
{{ field.required }}
{% endfor %}
Nothing outputs when the template is rendered. Does the "required"
attribute not g
>Cheers,>> It's not totally clear to me why i would want to go the way of >> creating code & using manipulators if all that can be done >> automatically :)>It can indeed be automatically done for an object creation. But what about sending a mail? Or what about a form involving two models? >Or made
Cheers,
> It's not totally clear to me why i would want to go the way of creating code
> & using manipulators
> if all that can be done automatically :)
It can indeed be automatically done for an object creation. But what
about sending a mail? Or what about a form involving two models? Or
made to
Hi,in the "docs forms, fields, and manipulators" documentation,it's stated that you can't have the forms automatically created so you need to createyour own forms.In there there's an example that deals with a view & manipulators and a template.
However, if you use "django.views.generic.create_updat
6 matches
Mail list logo