auth.Group.permissions: (fields.E340) The field's intermediary table 'auth_group_permissions' clashes with the table name of 'mesrecettes.AuthGroupPermissions'

2018-10-09 Thread 'odile Lambert' via Django users
Hello I need to use an existing SQL database with Django. The database was under MSAccess. I generated a Dump of the database. I use SQL" source" command to generate my SQL database. Then I do Python manage.py inspectDB. I incorporate the proposed Django model in

Charfield variable length

2019-01-23 Thread 'Odile Lambert' via Django users
Hello I have problems with the Charfield max_length. In the source code, the possibility exists to have max_length = None but it does not pass Django check when  models.py. contains a charfield = None I can understand that there is a need for such a max_length

checkng for uniqueness of a field in django Admin

2019-01-28 Thread 'Odile Lambert' via Django users
Hello In django admin, I have a model with a model fiel "tech_number" which must be unique across the table. If I do not check the uniqueness, it raises a Django integrity error. According to the documentation it sounds normal. I checked the uniqueness of the"

Re: Bug in Django 2.1 on ModelMultipleChoiceField

2019-03-14 Thread 'Odile Lambert' via Django users
: 'Odile Lambert' via Django users [mailto:django-users@googlegroups.com] Sent: Wednesday, March 13, 2019 1:57 PM To: Django users Subject: Bug in Django 2.1 on ModelMultipleChoiceField

Bug in Django 2.1 on ModelMultipleChoiceField

2019-03-13 Thread 'Odile Lambert' via Django users
Hello, I believe Bugs in Django are to be reported in this user list. Below is a report for a bug which does not seem to be already filed. In the documentation reference on the ModelMultipleChoiceField there is no restrictios mentioned on the empty_label

Re: Charfield variable length

2019-01-24 Thread 'Odile Lambert' via Django users
this is a crazy path, please let me know! Le 24/01/2019 à 01:52, Mike Dewhirst a écrit : On 24/01/2019 9:14 am, 'Odile Lambert' via Django users wrote: Hello I have problems with the Charfield max_length

Key error for error messages in case the check on unique fails.

2019-01-30 Thread 'Odile Lambert' via Django users
Hello I have a field in my model which has unique = True. If I specify an error message with a reference to the value of the field, Django crashes with Key error. Yet this works for other error_messages. How wan I solve this? Here is the code and the trace back