summaryrefslogtreecommitdiff
path: root/django/contrib/auth
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-08-01 12:55:53 -0400
committerTim Graham <timograham@gmail.com>2018-08-01 16:09:22 -0400
commit97e637a87fb45c4de970cca6cb783d93473c9d15 (patch)
treef2bc4b9a102aa1277005ee469b6f7e390c925c8d /django/contrib/auth
parent4263cd0e095c55a1011e5bf0746d651126a8da5f (diff)
Fixed typos in comments and docs.
Diffstat (limited to 'django/contrib/auth')
-rw-r--r--django/contrib/auth/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py
index c4ccf5b4ef..cc4f48861a 100644
--- a/django/contrib/auth/models.py
+++ b/django/contrib/auth/models.py
@@ -276,7 +276,7 @@ class PermissionsMixin(models.Model):
def has_module_perms(self, app_label):
"""
Return True if the user has any permissions in the given app label.
- Use simlar logic as has_perm(), above.
+ Use similar logic as has_perm(), above.
"""
# Active superusers have all permissions.
if self.is_active and self.is_superuser: