Skip to content

Changing theme programatically #212

Answered by grizzlydevil
grizzlydevil asked this question in Q&A
Discussion options

You must be logged in to vote

I found out what the problem was. The cache in the django settings was not set. I set the cache to dummy cache and now everything works fine. Themes are changing instantly.

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
    }
}

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@fabiocaccamo
Comment options

@grizzlydevil
Comment options

@fabiocaccamo
Comment options

@grizzlydevil
Comment options

Answer selected by fabiocaccamo
@fabiocaccamo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants