Commit bed957df by Florian Apolloner

Fixed Django 1.7 support (again and again).

parent 10923624
Changelog
=========
0.10.0 (16.08.2013)
0.10.0 (17.08.2013)
~~~~~~~~~~~~~~~~~~~
* Support for Django 1.6 and 1.7.
......
......@@ -63,6 +63,10 @@ class ExtraJoinRestriction(object):
params = self.content_types
return extra_where, params
def relabel_aliases(self, change_map):
self.alias = change_map.get(self.alias, self.alias)
class TaggableManager(RelatedField, Field):
def __init__(self, verbose_name=_("Tags"),
help_text=_("A comma-separated list of tags."), through=None, blank=False):
......@@ -303,6 +307,7 @@ class TaggableManager(RelatedField, Field):
def foreign_related_fields(self):
return [self.related_fields[0][1]]
class _TaggableManager(models.Manager):
def __init__(self, through, model, instance):
self.through = through
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment