On Sat, Mar 17, 2012 at 3:16 PM, Thomas Lockhart
wrote:
> locale.getdefaultlocale() should return something other than (None,None) if
> environment variables are set but istm that this should fail gracefully (or
> not fail at all; the ticket suggests a solution using a different call which
> does
On Thu, Jul 9, 2009 at 8:54 AM, James PIC wrote:
>
> Hi,
>
> Apparently, this was not triggered by class names, but by verbose_name
> length:
>
> INSERT INTO "auth_permission" ("name", "content_type_id", "codename")
> VALUES (%s, %s, %s) (u"Can change cat\xe9gorie d'immobilier
> d'entreprise (LCP
Hi,
Apparently, this was not triggered by class names, but by verbose_name length:
INSERT INTO "auth_permission" ("name", "content_type_id", "codename")
VALUES (%s, %s, %s) (u"Can change cat\xe9gorie d'immobilier
d'entreprise (LCP)", 44, u'change_categoriedelcp')
Traceback (most recent call last
>> Just for kidding:
>> class Lot(Mandat, Bien, PourLocation, PourVente, LotAddresse,
>> AvecEquipementsAnnexes, Textes, Immeuble):
>> It was that, or models with thousands of similar fields, high WTF/hour :)
>
> just be thankful you aren't coding in german :)
It's very business-spec
here's the exact ticket you are looking for:
http://code.djangoproject.com/ticket/1820
On Sat, Dec 20, 2008 at 2:19 PM, felix wrote:
>
> On Fri, Dec 19, 2008 at 2:29 PM, James PIC wrote:
>
>>
>> On 12/17/08, Russell Keith-Magee wrote:
>> >
>>
>
>
>> > A better solution would be to come up
On Fri, Dec 19, 2008 at 2:29 PM, James PIC wrote:
>
> On 12/17/08, Russell Keith-Magee wrote:
> >
>
> > A better solution would be to come up with a name munging scheme that
> > guaranteed to give unique permission names that will always fit into
> > the available space. 50 characters is pl
On 12/17/08, Russell Keith-Magee wrote:
>
> On Wed, Dec 17, 2008 at 9:30 PM, James PIC wrote:
> >
> > Is it worth reporting the bug?
>
> However, at a guess, I'm going to say that the problem has been caused
> by your choice of model names. You appear to have named one of your
> models som
On Wed, Dec 17, 2008 at 9:30 PM, James PIC wrote:
>
> Is it worth reporting the bug?
It isn't entirely clear what "the bug" is. All that you have given us
is an error message, and a solution that you have worked out. What you
haven't given us is enough detail to reproduce the problem for
ourself
8 matches
Mail list logo