Skip to content

Commit

Permalink
Merge branch 'release-1.0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
abidibo committed Sep 28, 2017
2 parents 82db3dc + 60f1518 commit b82e8f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions baton/autodiscover/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self, *args, **kwargs):
super(BatonAdminSite, self).__init__(*args, **kwargs)
self._registry.update(site._registry)
for model in site._registry:
self.unregister(model)
self.register(model, type(site._registry[model]))
self.unregister([model])
self.register([model], type(site._registry[model]))

site = BatonAdminSite() # noqa
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='django-baton',
version='1.0.2',
version='1.0.3',
packages=['baton', 'baton.autodiscover', 'baton.templatetags'],
include_package_data=True,
license='MIT License',
Expand Down

0 comments on commit b82e8f8

Please sign in to comment.