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
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
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"
:
'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
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
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
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
7 matches
Mail list logo