Hi all,
I would like to draw your attention to bug #8162[1]. It is old as sin, and
annoying as virtue.
The gist of it is: because, for all models, when the admin is present,
permissions are created automatically; because these permissions are named
"Can %s %s" % (action, model.verbose_name); that name gets put in a 50-long
charfield, and actions "change" and "delete" have length 6 -- so, verbose-name
cannot have length >39.
It gets even more annoying with automatic many-to-many fields, which have a
generated verbose name of "%s-%s relationship", limiting sum of lengths of
class names to around 25, forcing creation of an explicit "through" model in
some cases.
The bug was specified as a request to change the Permission model, and as such
was (and is) triaged as "someday/maybe", supposedly waiting for schema
alteration in core. Other suggestions to resolve the issue have been ignored;
in particular, a bug that pointed the problem without suggesting a (wrong,
IMO) solution was marked as duplicate[2].
Can we re-evaluate this, please?
Thanks,
Shai.
[1] https://code.djangoproject.com/ticket/8162
[2] https://code.djangoproject.com/ticket/17763
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.