The problem is "ProgrammingError at /admin/doctor/doctor/
Unknown column 'doctor_doctor.first_name' in 'field list'
Request Method: GET
Request URL: http://192.168.0.121/admin/doctor/doctor/
Django Version: 2.0.4
Exception Type: ProgrammingError
Exception Value:
Unknown column 'doctor_doctor.first_name' in 'field list'
Exception Location: /home/medrec1/.virtualenvs/medrecproj/lib/python3.5/site-packages/mysql/connector/connection.py in _handle_result, line 432"
I have searched all of my files in the app on that machine and was unable to find any "field list" with "doctor_doctor.first_name OR even just first_name" in them. Tis happens when I click on the Doctors link on the Admin Screen and also after I add data in the Django generated form when I click on "SAVE".
Problem #2. Laptop #2 is also an ASUS running Linux Mint 18.3.
AttributeError at /admin/login/
'datetime.datetime' object has no attribute 'split'
Request Method: POST
Request URL: http://192.168.0.122/admin/login/?next=/admin/
Django Version: 2.0.4
Exception Type: AttributeError
Exception Value:
'datetime.datetime' object has no attribute 'split'
Exception Location: /home/medrec2/.local/lib/python3.6/site-packages/mysql/connector/conversion.py in _DATETIME_to_python, line 506
This happens when I log-in to the Admin of the app. None of my code is involved.
Problem #3. Laptop #3 is a HP running Ubuntu 18.04.
Unable to connect
Firefox can't establish a connection to the server at 192.168.0.119.
This is probably an error in my code as I was getting this error before. I have been following the code from: https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04
Any thoughts, ideas or solutions to any or all of these problems?
Thanks in advance.
I have 3 laptops set up supposedly running the same code but each one gives me a different error message. See attached file for an explanation of the problems.
Each of the 3 systems are supposedly running the same code.
-- Each of the 3 systems are supposedly running the same code.
Thanks for any thoughts, ideas, or SOLUTIONS for the listed problems. | |
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4b5d3b92-98b2-40fc-a17a-43b9006f0350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment