On Thu, Nov 13, 2008 at 4:28 PM, caio ariede <[EMAIL PROTECTED]> wrote:
> Nothing about this? :(
>
> I can't put a field came from a foreignkey in a list_filter..
>
> If someone can help..
Have you tried reading the documentation?:
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#list-f
Nothing about this? :(
I can't put a field came from a foreignkey in a list_filter..
If someone can help..
On Thu, Nov 13, 2008 at 11:52 AM, caio ariede <[EMAIL PROTECTED]> wrote:
> Hello.
>
> I'm trying to put a field came from a foreignkey in admin list_filter.
>
> My model is something like
Hello.
I'm trying to put a field came from a foreignkey in admin list_filter.
My model is something like this:
class UserProfile(models.Model):
user = models.ForeignKey(User, unique=True)
state= models.CharField(max_length = 2, choices = STATE_CHOICES)
city= models.CharField(ma
3 matches
Mail list logo