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
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
2 matches
Mail list logo