Browse Source

Context processor para adicionar infos do site nas views

pull/159/head
Sesostris Vieira 2 years ago
parent
commit
c5e2c20450
  1. 5
      sigi/apps/utils/context_processors.py

5
sigi/apps/utils/context_processors.py

@ -0,0 +1,5 @@
from django.contrib import admin
def site_context(request):
return admin.site.each_context(request) or {}
Loading…
Cancel
Save