Hello

I have model like:

class MyModelA(models.Model):
    number = models.IntegerField()

class MyModel(models.Model):
    my_model_a = models.ForeignKey(MyModelA)
    other_field = other data ...

and now in admin:

class MyModelAdmin(admin.ModelAdmin):
    list_filter = ("my_model_a")


it filters by my_model_a and it is ok. But is it possible to filter by
my_model_a.number (sth like that) ??




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to