> perhaps having an __init__ function in your Vineyard class could allow
> you to set pinot noir as the default, unless it is passed another type
> of wine.

Conceptually, what you said is correct, but TDIITD (The Devil Is In
The Details).

I believe that the "correct" way to do this is to set default values
in the n-value selector widget that displays in the admin add/edit
interface. I have spent a fair amount of time this morning trying to
figure out exactly how to do this.

The answer appears to be to create custom add & change manipulators
for Vineyard, something I've not done before. Well, now I have a hobby
for the weekend.
--~--~---------~--~----~------------~-------~--~----~
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