Skip to content

Not possible to use with django.contrib.auth.models.User #6

@coderholic

Description

@coderholic

I noticed that the User models were never getting cached, so try to override the default manager by monkey patching it

User.objects = CacheBotManager()

This results in an error though, because queryset.model is None. Is there another way that I should be overriding the User manager, or is there a fundamental limitation with cachebot that means I can't cache User objects?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions