in
you find
class AdminArea(models.Model):
...
country = models.ForeignKey(Country)
On 26 bře, 16:54, Thomas <[email protected]> wrote:
> In satchmo/satchmo/apps/satchmo_store/contact/forms.py, there is a
> reference to 'adminarea_set'. Where would this be defined? (See
> snippet below)
>
> def area_choices_for_country(country, translator=_):
> choices = [('',translator("Not Applicable"))]
>
> if country:
> areas = country.adminarea_set.filter(active=True)
> if areas.count()>0:
> choices = [('',translator("---Please Select---"))]
> etc, etc...
>
> Many thanks,
> Thomas
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.