Ho messo un attribute error che non era vero

testato-con-bdlaser
Davide Borgonovo 2023-01-10 18:18:41 +01:00
parent 5f2e2982b1
commit c44621dae1
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Theme(models.Model):
try: try:
return user_theme_manager.filter(user=user, theme__active=True).first().theme return user_theme_manager.filter(user=user, theme__active=True).first().theme
except AttributeError as e: except:
obj = objs_active_ls[-1] obj = objs_active_ls[-1]
obj.set_active() obj.set_active()