Altering settings at runtime
You shouldn't alter settings in your applications at runtime. For example, don't do this in a view:
from django.conf import settings
settings.DEBUG = True # Don't do this!
The only place you should assign to settings is in a settings file.
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.