i'm trying to get a TagField working in the admin for my model using
django-tagging 0.2. i get an IntegrityError when i save my model from
the admin- it looks like django is trying to send a python list to the
database, where string is expected. i suspect i haven't set it up
right. Can someone point me in the right direction?
# models.py:
from django.db import models
import tagging
from tagging.fields import TagField
class Post(models.Model):
title = models.CharField(max_length=255)
body = models.TextField()
tags = TagField()
tagging.register(Post)
# admin.py
from django.contrib import admin
from temp.tagtest.models import Post
admin.site.register(Post)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---