COZYHUB
  • Home
  • Disclaimer
  • Privacy Policy
  • About
  • Contact

My django server does not save my model object but if I use python shell it does


I'm still learning django, I tried to save an object from my app models on the django server but it does not work, and it shows OperationalError at/admin but if I try to use python shell to save it, it saves I need help please.

1

Best Answer


Your question is not specific, but i can guess that you did not maybe execute the migration command to make the auth tables. Try this:

python manage.py migrate

Random Posts

How to use react component in nextjs?'Jupyter' is not recognized as an internal or external commandHow to update local repository location in tower?How to configure rest client in quarkus microprofile casePerformance of UNION versus UNION ALL in SQL ServerBig-O notation of a method that calls a method of O(n)mongodb update push arrayforeach with index [duplicate]Convert Scala Code to Python for ReportingUsing Put request for ScienceDirect APIWhat are keypoints in image processing?Assigning Image from URL with DragonflySwapping first and last items in a listHow to draw line slowly from a point to another point in P5?Root Directory Information Included in Compiled Jar File?error: expected unqualified-id before 'void'Javascript document.referrer with full querystringdata.frame with a column containing a matrix in RUploading a file to a S3 bucket with a prefix using Boto3logistic regression get the sm.Logit values (python, statsmodels)
Designed by COZYHUB