Dimitris Kougioumtzis Blog About technology

Cached templates django production settings

Category Django

Posted on Dec. 1, 2017



Cached templates django production settings


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
In template settings  in options  add cached settings:

            'debug': DEBUG,
            'loaders': [
                ('django.template.loaders.cached.Loader', [
                    'django.template.loaders.filesystem.Loader',
                    'django.template.loaders.app_directories.Loader',

                ]),
            ],

About

My name is Dimitris Kougioumtzis and i work as a Web developer at Rapidbounce Company

Elsewhere