You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since URLconf of django_reviews matches /reviews/add/27/ I don't have a good idea to omit this error. For /select-variant (and maybe others) there might be a solution. The problem is, the spammers are producing a lot of error mails. Any ideas?
The text was updated successfully, but these errors were encountered:
Well, same thing for /reviews/add/27/. But your patch doesn't work for me (0.7.7). The exception is not found:
"except ctype.model_class().DoesNotExist:"
Just a simple
"except:"
worked for me.
/select-variant is a different case. In lfs.select-variant
"variant = Product.objects.get(pk=variant_id)"
is called with variant_id=None and throws a DoesNotExist exception. Shall we just look for variant_id=None and through a 404?
Since URLconf of django_reviews matches /reviews/add/27/ I don't have a good idea to omit this error. For /select-variant (and maybe others) there might be a solution. The problem is, the spammers are producing a lot of error mails. Any ideas?
The text was updated successfully, but these errors were encountered: