u can use ModelForm and you don't have to write choices.
Don't know any other way. But I don't suppose there is other way, these two
"ways" can solve everything, I think.
Or maybe someone else would help

R.


Donn Ingle wrote:
> 
> 
> On Friday, 21 November 2008 08:06:32 urukay wrote:
>> easy way how to solve it is to put definition of your choices out of
>> model
>> definition:
> 
> Yeah, that's what I call a 'global', but is there no way to get the
> choices 
> from the field in the model class?
> 
> \d
> 
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Custom-Select-widget-choices---how-to-reuse-choices--tp20606743p20617654.html
Sent from the django-users mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to