Category : database

How should I write code for the GUI to connect to the database? My code doesn’t show any errors. But no information has been added to the database. enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here Source: Python..

Read more

This is my edit.html code and during retrieving the values from database it shows only the text fields like value={{ i.full_name}} but when I am writing value={{ i.cv}}, value={{ i.status}}, value={{ i.gender}} it does not shows the value which needs to bed edited I have two choice fields and one file field. this is my ..

Read more

This is my edit.html code and during retrieving the values from database it shows only the text fields like value={{ i.full_name}} but when I am writing value={{ i.cv}}, value={{ i.status}}, value={{ i.gender}} it does not shows the value which needs to bed edited I have two choice fields and one file field. this is my ..

Read more

I use Python redis ORM rom to model and store a document like this: class TextRedis(rom.Model): id = rom.PrimaryKey() num = rom.Integer(required=True, index=True) doc_num = rom.Integer(required=True, index=True) text = rom.String() start_tok = rom.Integer(required=True, index=True) start_char = rom.Integer(required=True, index=True) However, when I run this command to extract a document with a start_char between a certain range: ..

Read more

My program returns me a dictionary that has several layers. Drawing in Excel, it looks like this: Excel Template The code returns this dictionary (it is already organized to help you visualize): {‘Parity’: ‘BITCOIN / TETHERUS’, ‘1m’: {‘Datas’: {‘Price’: {‘Initial Price’: ‘58239.43’, ‘Final Price’: ‘58236.50’}, ‘Oscillators’: {‘Buy’: 1, ‘Neutral’: 8, ‘Sell’: 2}, ‘MovingAverages’: {‘Buy’: 6, ..

Read more

enter image description hereThis is my edit.html code and during retrieving the values from database it shows only the text fields like value={{ i.full_name}} but when I am writing value={{ i.cv}}, value={{ i.status}}, value={{ i.gender}} it does not shows the value which needs to bed edited I have two choice fields and one file field ..

Read more