Skip to content

Commit

Permalink
Retire un workaround devenu inutile.
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandBordage committed Feb 9, 2014
1 parent 94c653d commit dd1ed08
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libretto/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,6 @@ class UniqueSlugModel(Model):
slug = AutoSlugField(
populate_from='get_slug', unique=True, always_update=True)

def __init__(self, *args, **kwargs):
super(UniqueSlugModel, self).__init__(*args, **kwargs)
# FIXME: Retirer les deux lignes suivantes quand sera résolu
# https://bitbucket.org/neithere/django-autoslug/pull-request/6
slug = self._meta.get_field('slug')
slug.manager = slug.model._default_manager

class Meta(object):
abstract = True

Expand Down

0 comments on commit dd1ed08

Please sign in to comment.