Relative Content

Tag Archive for pythondjangopickle

Loading a pickle file into Django

I am working to develop on the website an application that built a picke file containing an object of a class defined on that project with specific data. I did not create that application and have no much knowledge of how pickle works.
Now I want to move this app to a web version and I decided to go with django. To do not repeat the proces of creating those models I thought of directly load the pickle file in views.py and use the object already to make some operations. However, I am not sure how to make this load process as directly making the query: