> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Malcolm Tredinnick > Sent: March 19, 2009 22:18 > To: [email protected] > Subject: Re: Permission model's CharField fields, name and > codename, too short > > > On Thu, 2009-03-19 at 21:58 -0400, Giovannetti, Mark wrote: > > Hi Everyone, > > > > Has anyone else run across this? I tried to enter it as > > a ticket at: > > > > http://code.djangoproject.com/simpleticket > > > > but was mistaken for a spammer. ;-) > > You need to register then, as it says in the big coloured box on that > page.
I saw that, thank you. I declined registration for reasons of my own. > > I was hoping your mail would finish with "so I decided to check if the > ticket was already in Trac and realised it was #8632". I saw a few other related tickets as well. > > I found that by typing "Django long permission names" into > Google and it > was the first link. Please, please, please search before opening > tickets. There's a good chance it's been discovered before. Yes, the search I performed turned up a few others, too. One was two years old, the other is 7 months old. My point in posting is to raise this seemingly simple issue and have it fixed once and for all. It is vexing having to modify the django/contrib/auth/models.py file on all upgrades to handle this. Now, if you have any helpful comments on my original questions (below), please provide them. Thanks. Original questions: > I can easily fix this by changing the max_length > values both to 255 (in the installed source code and the database) > to overcome this. Should I be doing this? I asked the above "should I?" in case the law of unintended consequences decides to express itself. and > If so, can these values be bumped up in the official release? I asked that question to add it to the request queue to fix this problem. Regards, Mark --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

