mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-31 13:10:40 +00:00
Removed un-needed format specificity.
This commit is contained in:
parent
5a60408076
commit
13549da827
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ class SortableAdmin(SortableAdminBase, ModelAdmin):
|
|||
order can be changed via drag-and-drop.
|
||||
"""
|
||||
opts = self.model._meta
|
||||
has_perm = request.user.has_perm('{0}.{1}'.format(opts.app_label,
|
||||
has_perm = request.user.has_perm('{}.{}'.format(opts.app_label,
|
||||
opts.get_change_permission()))
|
||||
|
||||
# get sort group index from querystring if present
|
||||
|
|
|
|||
Loading…
Reference in a new issue