1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

magic-removal: Fixed #1677 -- syncdb no longer displays '<Permission object>' for all created permissions

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-04-27 18:11:39 +00:00
parent 1e9ab533d8
commit dd184fb06e

View File

@ -32,7 +32,7 @@ def create_permissions(app, created_models):
except Permission.DoesNotExist:
p = Permission(name=name, codename=codename, content_type=ctype)
p.save()
print "Adding permission '%r'" % p
print "Adding permission '%s'" % p
def create_superuser(app, created_models):
from django.contrib.auth.models import User