context_processors.py 183 B

1234567
  1. from django.conf import settings
  2. def installed_apps(request):
  3. """ Expose the settings INSTALLED_APPS to templates
  4. """
  5. return {'INSTALLED_APPS': settings.INSTALLED_APPS}