Skip to content

Commit

Permalink
Typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
inglesp committed May 19, 2013
1 parent 0a50311 commit cafcc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/auth/management/__init__.py
Expand Up @@ -80,7 +80,7 @@ def create_permissions(app, created_models, verbosity, db=DEFAULT_DB_ALIAS, **kw
for perm in _get_all_permissions(klass._meta, ctype): for perm in _get_all_permissions(klass._meta, ctype):
searched_perms.append((ctype, perm)) searched_perms.append((ctype, perm))


# Find all the Permissions that have a context_type for a model we're # Find all the Permissions that have a content_type for a model we're
# looking for. We don't need to check for codenames since we already have # looking for. We don't need to check for codenames since we already have
# a list of the ones we're going to create. # a list of the ones we're going to create.
all_perms = set(auth_app.Permission.objects.using(db).filter( all_perms = set(auth_app.Permission.objects.using(db).filter(
Expand Down

0 comments on commit cafcc22

Please sign in to comment.