[Answer]-Django-userena "get_visible_profiles" error

1👍

Problem solved.

I had an explicit entry:

objects = models.Manager()

In the model class. Removing it fixed the problem.

👤jcuot

0👍

You can also just lift the method from UserenaBaseProfileManager and place it in your class or derive your Manger class from that class. I opted for the former because I build my managers as QuerySet objects and then use

    objects = ModelQuerySet.as_manager()

And Userena was built before that was possible. I needed some methods in my Manager class so just deleting objects = was not an option for me.

Leave a comment