add prodcut ai chat bot
This commit is contained in:
@@ -85,9 +85,8 @@ class User(AbstractBaseUser, PermissionsMixin):
|
||||
tokens = OutstandingToken.objects.filter(user=self)
|
||||
for token in tokens:
|
||||
BlacklistedToken.objects.get_or_create(token=token)
|
||||
print('done')
|
||||
except Exception as e:
|
||||
print(f"ridi dadash")
|
||||
print(f"block list error: {e}")
|
||||
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user