diff --git a/django/contrib/auth/management/__init__.py b/django/contrib/auth/management/__init__.py
index 6380d2f..670a2ad 100644
a
|
b
|
def _get_all_permissions(opts, ctype):
|
28 | 28 | def _get_builtin_permissions(opts): |
29 | 29 | """ |
30 | 30 | Returns (codename, name) for all autogenerated permissions. |
31 | | By default, this is ('add', 'change', 'delete') |
| 31 | By default, this is ('view', 'add', 'change', 'delete') |
32 | 32 | """ |
33 | 33 | perms = [] |
34 | 34 | for action in opts.default_permissions: |
diff --git a/django/db/models/options.py b/django/db/models/options.py
index 368ac62..3f1f3c5 100644
a
|
b
|
class Options(object):
|
106 | 106 | self.unique_together = [] |
107 | 107 | self.index_together = [] |
108 | 108 | self.select_on_save = False |
109 | | self.default_permissions = ('add', 'change', 'delete') |
| 109 | self.default_permissions = ('view', 'add', 'change', 'delete') |
110 | 110 | self.permissions = [] |
111 | 111 | self.object_name = None |
112 | 112 | self.app_label = app_label |
diff --git a/tests/auth_tests/test_management.py b/tests/auth_tests/test_management.py
index f45703f..3434d4d 100644
a
|
b
|
class PermissionTestCase(TestCase):
|
570 | 570 | ] |
571 | 571 | create_permissions(auth_app_config, verbosity=0) |
572 | 572 | |
573 | | # add/change/delete permission by default + custom permission |
| 573 | # view/add/change/delete permission by default + custom permission |
574 | 574 | self.assertEqual(models.Permission.objects.filter( |
575 | 575 | content_type=permission_content_type, |
576 | | ).count(), 4) |
| 576 | ).count(), 5) |
577 | 577 | |
578 | 578 | models.Permission.objects.filter(content_type=permission_content_type).delete() |
579 | 579 | models.Permission._meta.default_permissions = [] |