quantumlicht / django-wine

Django version of Site vins
3 stars 1 forks source link

Cepage are not associated to a wineType #62

Closed quantumlicht closed 10 years ago

quantumlicht commented 10 years ago

A cepage cannot be for both Red and White wines. It should be fairly easy to override the form cleaning stage to add the winetype to the cepage before saving it.

However, this would also mean that we need to populate the available cepage with a list specific for wine types. We will need to filer data on a call back when we select de type.