views:

165

answers:

1

I'm looking for a way to add "user = models.ForeignKey(User, editable=False)" to django-tagging model with templatetags support but my django knowledge is too low to understand the code of django-tagging.

+1  A: 

you need to use the tagging register function

import tagging

class UserModel(models.Model): name = models.CharField(max_length=50)

tagging.register(UserModel)

Take a look http://code.google.com/p/django-tagging/source/browse/trunk/docs/overview.txt

msmart