Rapid-ChatXChannels icon indicating copy to clipboard operation
Rapid-ChatXChannels copied to clipboard

Error when logging in with superuser

Open subbusgithub opened this issue 7 years ago • 2 comments

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

subbusgithub avatar Apr 25 '19 07:04 subbusgithub

how can i solve it? please help me.

towhid135 avatar Jan 19 '20 18:01 towhid135

i am also facing the same problem

avirupdutta avatar Mar 16 '20 14:03 avirupdutta