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
Hi @ellmetha,
Using anonymous user capabilities, we found that editing a post a anonymous user made, by him.her.self fails.
Error Message : Cannot assign "<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fa3c8230f10>>": "Post.updated_by" must be a "User" instance.
We embeded fix in our app, but it may be useful for everyone.
Class PostForm, method update_post
The text was updated successfully, but these errors were encountered:
Hi @ellmetha,
Using anonymous user capabilities, we found that editing a post a anonymous user made, by him.her.self fails.
Error Message :
Cannot assign "<SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7fa3c8230f10>>": "Post.updated_by" must be a "User" instance.
We embeded fix in our app, but it may be useful for everyone.
Class
PostForm
, methodupdate_post
The text was updated successfully, but these errors were encountered: