On Wed, Nov 11, 2009 at 11:28 PM, andreas schmid <a.schmi...@gmail.com>wrote:

>
>
> ok this is fine for the form representation but how should i extend my
> model to define the field i am going to multiply 12 times a year for x
> years? (actually im using generic create_update view to get the form out
> of the model)
>
> and how should i store the values independently from each other?


I believe the simple way would be a model that has month and year fields,
with a meta method that defines them as unique together.

Nick

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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=.


Reply via email to