Nope, still not working. If you're not defining tags = TagField() in
the model, how are you defining it? As a CharField? I'd like to see
how your model is set up.

Of course, if I create a CharField and call it tags, it will show up.
Even overriding the form for the admin, and overriding tags: tags =
TagField() does not invoke any of the Tagging functionality for me.

b

On Mar 20, 11:49 am, Brandon Taylor <btaylordes...@gmail.com> wrote:
> Hmm. Curious. The exact same code works with MySQL and SQLite3 for me.
>
> Oh well, let me switch it up and see if it's happy.
>
> Kind regards,
> b
>
> On Mar 20, 11:37 am, Ian Kelly <ian.g.ke...@gmail.com> wrote:
>
> > On Mar 20, 8:26 am, Brandon Taylor <btaylordes...@gmail.com> wrote:
>
> > > Hi Ian,
>
> > > Thanks for the response. The test case is adding the TagField() to any
> > > model.
>
> > > Here's an excerpt from my model class:
>
> > > #models.py
> > > from django.db import models
> > > from django.contrib import admin
> > > from tagging.models import Tag
> > > from tagging.forms import TagField
>
> > Here's the problem.  The models.py is importing TagField from
> > tagging.forms instead of tagging.fields, and so you're adding a form
> > field to your model rather than a model field.
>
> > HTH,
> > Ian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to