Typo in comment

This commit is contained in:
Peter Inglesby 2013-05-19 09:28:36 +02:00
parent 0a50311063
commit cafcc22b01
1 changed files with 1 additions and 1 deletions

View File

@ -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(