V
V
Vitaly Ananiev2022-03-29 16:26:47
Django
Vitaly Ananiev, 2022-03-29 16:26:47

How to deal with 'AnonymousUser' object is not iterable problem?

What is the best method to fix this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danil Gorev, 2022-03-29
@ketovv

Don't try to iterate over an anonymous user, I guess.
In general, can you describe in more detail under what conditions you encounter this problem?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question