Add universal context adder
parent
967fd4d55d
commit
92b20dd8a4
@ -0,0 +1,6 @@
|
|||||||
|
import django
|
||||||
|
|
||||||
|
def universal_context(req):
|
||||||
|
return {
|
||||||
|
"GENERATOR": "Django " + ".".join(django.VERSION),
|
||||||
|
}
|
Loading…
Reference in New Issue