Rapid-ChatXChannels
Rapid-ChatXChannels copied to clipboard
Error when logging in with superuser
In the views.py the get_object method throws an error saying
obj, created = Thread.objects.get_or_new(self.request.user, other_username) TypeError: cannot unpack non-iterable NoneType object
This happens when the self.request.user and other_username are the same
how can i solve it? please help me.
i am also facing the same problem