What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-29 22:10:02
django content type
from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType from django.db import models class TaggedItem(models.Model): tag = models.SlugField() content_type = models.ForeignKey(Con... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5