Some more information:
I am getting this from the insertion of auth_permissions, in django/db/backends/postgresql_psycopg2/base.py, line 52
'INSERT INTO "auth_permission" ("name", "content_type_id", "codename") VALUES (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s), (%s, %s, %s)'
args is a long tupple of the create_x, add_x, modify_x and a couple custom permissions. The longest string is 22 characters long. Since nothing here is over 50 characters, is there something I'm missing. I am also using django_guardian
james