diff options
author | Christopher Long <indirecthit@gmail.com> | 2006-08-29 13:49:45 +0000 |
---|---|---|
committer | Christopher Long <indirecthit@gmail.com> | 2006-08-29 13:49:45 +0000 |
commit | 325762a1e925e642a8c5ecca0b19216668bfebf9 (patch) | |
tree | 49dc37d63a7e86c40230cdb1d9cbedcaedacca6d | |
parent | 64be2e2881fe39857fc70478198b86cc13b0ec24 (diff) | |
download | django-325762a1e925e642a8c5ecca0b19216668bfebf9.tar.gz |
[per-object-permissions] Fixed missing parenthesis
git-svn-id: http://code.djangoproject.com/svn/django/branches/per-object-permissions@3677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r-- | django/contrib/admin/views/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/views/main.py b/django/contrib/admin/views/main.py index 6c075f82c6..dab5270d6f 100644 --- a/django/contrib/admin/views/main.py +++ b/django/contrib/admin/views/main.py @@ -690,7 +690,7 @@ class ChangeList(object): return order_field, order_type def get_query_set(self): - if (not self.opts.admin.show_all_rows) and self.opts.row_level_permissions and (not self.user.has_perm(self.opts.app_label + "."+self.opts.get_change_permission()): + if (not self.opts.admin.show_all_rows) and self.opts.row_level_permissions and (not self.user.has_perm(self.opts.app_label + "."+self.opts.get_change_permission())): from django.contrib.auth.models import RowLevelPermission qs = self.manager.filter(id__in=RowLevelPermission.objects.get_model_list(self.user, self.model, |