Ho messo un attribute error che non era vero
parent
5f2e2982b1
commit
c44621dae1
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue