I have model with manytomany field and the task is to make an validation in model layer. When i run this code, this error occurs: ValueError at /admin/main/boss
I ran a series of simulations and want to create a response surface of the performance based off my two parameters, tol and eta. The issue I'm having is actuall
We want to have a distributed transaction publishing between two ActiveMQ brokers. The ActiveMQ documentation states they support XA transactions. Our code base
I am training a sample model with dummy data then i got this error. I have gave everything properly but still i am getting this error: No `configure_optimizers(
[enter image description here][1] [1]: https://i.stack.imgur.com/2wDSL.png NameError! I am following Django tutorial in part 5 when try to run test, getting e
I am trying to list files from a folder. It works with folder name with spaces but doesn't work when folder name contains '#'. I am getting below error office36
/!\ The problem here is a f-string problem; I know how to click the "onclick" element in another ways, but I want to understand why it doesnt work THAT way /!\
I am trying to build a DataFrame using pandas but I am not able to handle the case when I have the variable size of JSON chunks I am getting. eg: 1st chunk: {'a
I have a problem and I don't know how to solve it. There is a code in which I get the result of the found registry (its output) to the terminal. But, I need to
I am new to Django/Python, and am trying to figure out the best way to have global constants in my project that are available to templates in ALL APPS in the pr
ph = input("Enter Phone Number: ") async def sign_up(): try: x = await bot.send_code_request(ph, force_sms=True) print(x)
i am trying to join columns values to a list of values df1= name | department| state | id| -----+-----------+-------+---+ James|Sales |NY |101 Maria|F
i am using pandas to read an excel file from s3 and i will be doing some operation in one of the column and write the new version in same location. Basically ne
I am trying to put list values into entry widgets, keep getting brackets and quotes. lista = ['abc', 'def', 'ghi'] # These are normally strings, but can be inte
I am just learning about multiprocessing in python. And when I am trying to run the code I receive these problems. Code from multiprocessing import Process, cpu
Please Note, the provided answer doesn't solve the problem for me. In python I have: resolver_ip = 127.0.0.2 resolver = dns.resolver.Resolver() resolver.nameser
I have a Collection allRecords as {'name':'tom', 'subjects':'Physics'} {'name':'jerry', 'subjects':'Maths'} I have one json file is testData.json as {names:",t
I wanted to make a connection on the socket.io so I used python-socket.io in the backend (FastAPI) and socket.io-client for the frontend(React.js) but I have be
edit I have 2 list of dictionaries and I am trying to compare the value of a key in the dictionaries list_1 to see if it that value exists in the value of a dif
I want to merge one column into one string from 2D list. Are there better ways to merge it? lists = [['H', 'W'], ['e', 'o'], ['l', 'r'], ['l', 'l'], ['o','d']]