Re: ForeignKey relationship to FlatPage not available in filter()

2011-11-12 Thread Sceva
I think the problem was I did not have from django.db import models at the top. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/cBRkBTlxUuQJ. To post

ForeignKey relationship to FlatPage not available in filter()

2011-11-12 Thread Sceva
I have a project using the FlatPage app. I have added a search app with a keyword model. It has a foreignkey relationship to the FlatPage model: from django.contrib import admin > > from django.db import models > > from django.contrib.flatpages.models import FlatPage > > >> >> class