import django def universal_context(req): return { "GENERATOR": "Django " + ".".join(map(str, django.VERSION)), }