Answer the question
In order to leave comments, you need to log in
How to create an object with save() method in Django?
Good day! Here is a question.
I have a python parser that parses products, and I have a Django application.
We need the parser to parse the products and store them in the Django database.
I found this information in the documentation. But I still don't understand how to use it. In which file should this be written, etc.
Tried like this. Created a test.py file in the application directory.
The contents of the file
I tried to run the python test.py command. But I got an error,
please help me
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question