add prodcut ai chat bot

This commit is contained in:
Parsa Nazer
2025-01-01 23:08:05 +03:30
parent fe33bcaa52
commit 90b82a97d9
17 changed files with 320 additions and 11 deletions
+1 -2
View File
@@ -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):