On Nov 19, 3:46 pm, Jonas Geiregat wrote:
> I'm trying to save a model and then insert it into a generic relation.
> Having this models.py file:
>
> from django.db import models
> from datetime import datetime
> from django.conf import settings
> from django.contrib.contenttypes.models import Cont
I'm trying to save a model and then insert it into a generic relation.
Having this models.py file:
from django.db import models
from datetime import datetime
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes import generic
2 matches
Mail list logo