I have a question about django
, my question is what exactly is this?:
<class 'messenger.models.Thread_messages'>
I get it from a signal, but it's not an object or instance since I already get an instance in the signal, I could get all model instances with it, as follows (and it works):
x = <class 'messenger.models.Thread_messages'>
x.objects.all()
But what is it exactly? Thanks in advance for your answers!
It is the String representation of the class inside the folder
Thread_messages
module . You can execute the query that you indicate because you are calling the class.models
messenger