Skip to content

Commit

Permalink
changed post_syncdb to post_migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
sax committed May 28, 2015
1 parent 375675f commit dca57b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Release 0.8.2
=============
* fixes #64: Export not working when actions enabled on top & bottom
* document #62: default of csv is not csv (thanks @oppianmatt)

Release 0.8.1
=============
* Use collections.OrderedDict instead for Django1.7 or higher. (thanks @rvoicilas)
Expand Down
2 changes: 1 addition & 1 deletion adminactions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ def create_extra_permission(sender, **kwargs):
Permission.objects.get_or_create(codename=codename, content_type=ct, defaults={'name': label[:50]})


signals.post_syncdb.connect(create_extra_permission)
signals.post_migrate.connect(create_extra_permission)

0 comments on commit dca57b5

Please sign in to comment.