Closed rajat404 closed 7 years ago
Hi @rajat404, which version of django are you using?
Does the actor
keyword argument work with other arguments than AnonymousUser
objects?
Also, django's AnonymousUser
is not a database object, it is just an instance of class with API similar to actual user object. On top of that, you seem to be passing AnonymousUser
class as an argument which inherently is wrong way of doing it.
Hi @v1k45
I'm using Django==1.10.5. actor
keyword does work with other arguments.
According to the documentation all parameters can have Anonymous objects
, so I assumed that it referred to django's AnonymousUser
. Can you tell me exactly what kind of Anonymous objects can be used as arguments for actor
I think I have phrased it incorrectly. By anonymous objects I didn't mean that it allows objects without database reference, I meant that an actor can be anonymous conceptually and not programmatically.
If you don't have a database reference of your actor, just don't pass anything to that keyword argument. Maybe send an actor_text
value instead.
Closing due to inactivity. Feel free to open it again.
In
notify.send
method, I passed actor=AnonymousUser This resulted in the following error:Please suggest, what I might be doing wrong.
Complete Traceback: