Overriding a Field attribute in a proxy model is not allowed.

2012-08-30 Thread Alti
Hello, I'm currently working with an app that i would not like to modify. This app contains 2 Models, basically : (i took off some code to make it clearer) ``` class Invoice(models.Model): [...] a bunch of attributes [...] lines = generic.GenericRelation(Line) [...] all the class

Localization with thousand separator makes foreign key id invalid in forms

2017-05-11 Thread Alti
Hello, With localization and thousand separator active, my foreign keys ids are rendered with a thousand separator in django forms and give me an invalid field during validation. in settings.py: USE_L10N = True USE_THOUSAND_SEPARATOR = True example : Company something something with the fr

Re: Localization with thousand separator makes foreign key id invalid in forms

2017-05-12 Thread Alti
; Simon > > [0] https://code.djangoproject.com/ticket/28075 > > Le jeudi 11 mai 2017 11:39:41 UTC-4, Alti a écrit : >> >> Hello, >> >> With localization and thousand separator active, my foreign keys ids are >> rendered with a thousand separator in django for