A “not null constraint failed” is in the error message. So you have a field
which is not being set and the database itself is complaining.
It looks like you have extended the user profile to include a foreign key to
“babyinfo” and that is empty apparently.
Either change the model to allow a
Request Method: POST Request URL: http://127.0.0.1:8000/profile/ Django
Version: 3.1.7 Python Version: 3.9.2 Installed Applications:
['django.contrib.admin',
'django.contrib.auth', 'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
Hello Integr,
I did not understand your suggestion? How do I clear cache in Python
virtual environment? and what is other method you suggest based on the
install error that I'm hitting.
Best regards,
~Ram
On Mon, Nov 25, 2019 at 10:16 AM Integr@te System
wrote:
> Hi man,
>
> Clear cache and
Hi man,
Clear cache and try other method to requisite install.
On Sun, Nov 24, 2019, 06:28 Ram wrote:
> Hello Kasper,
>
> I tried installing libssl1.1 globally and then tried mysqlclient install
> in virtualenv, but the result is the same and mysqlclient is still failed
> with same error.
>
>
Hello Kasper,
I tried installing libssl1.1 globally and then tried mysqlclient install in
virtualenv, but the result is the same and mysqlclient is still failed with
same error.
Thanks
~Ram
On Sat, Nov 23, 2019 at 3:59 PM Kasper Laudrup
wrote:
> Hi Ram,
>
> On 23/11/2019 23.48, Ram wrote:
> >
Hi Ram,
On 23/11/2019 23.48, Ram wrote:
Hi, I’m running into this blocking issue while setting up Django with
MySQL database. I’m pasting here what I tried so far on Ubuntu 18.04 OS.
|/(vkdev)user@ubuntu-he:~/testproject$ pip install mysqlclient
Collecting mysqlclient Using cached
Hi, I’m running into this blocking issue while setting up Django with MySQL
database. I’m pasting here what I tried so far on Ubuntu 18.04 OS.
> *$ sudo apt install nginx mysql-server python3-pip python3-dev
> libmysqlclient-dev
> $ sudo apt install mysql-client
> $ sudo
You're trying to use a MySQL database without the proper library installed,
download the python-mysql.
http://stackoverflow.com/questions/372885/how-do-i-connect-to-a-mysql-database-in-python
2014-03-21 16:34 GMT-03:00 Aayush Aggarwal :
> Hello!
>
> Please help me in
Hello!
Please help me in fixing this error.When is use the command python
manage.py runserver 8000.It shows following error
Validating models...
Unhandled exception in thread started by >
Traceback (most recent call last):
File
9 matches
Mail list logo