Skip to content

Commit

Permalink
Don't override manager if it's in the arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
philb61 committed May 4, 2016
1 parent 6bcbf04 commit fe538d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autoslug/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ def deconstruct(self):
if self.always_update:
kwargs['always_update'] = self.always_update

if 'manager' in kwargs:
del kwargs['manager']

return name, path, args, kwargs

def pre_save(self, instance, add):
Expand Down

0 comments on commit fe538d1

Please sign in to comment.