str object is not callable in django python code
change hex() to hex. .hex is a property, not a function, and it already returns a string.
I keep getting the error that str object is not callable. my line of code is pasted below... can anyone tell me what I am doing wrong.
random = str(uuid.uuid4().hex().upper()[0:6])