dlamotte / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

returning the model in tagging.register() #240

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If you add a 'return model' at the end of the register() function in 
tagging/__init__.py, it can at least in its simplest form be used as a 
decorator in Python 2.6+

@tagging.register
class MyModel(models.Model): ...

Original issue reported on code.google.com by afo...@gmail.com on 12 Feb 2010 at 7:43

GoogleCodeExporter commented 8 years ago
Why is this (after four years) not yet implemented?

Original comment by jdor...@redhat.com on 6 Dec 2014 at 12:12

GoogleCodeExporter commented 8 years ago
Well, it seems like the project's been inactive for just about that time? :-)

Original comment by afo...@gmail.com on 6 Dec 2014 at 7:11