add context processing for contact_form views
This commit is contained in:
parent
42f3ed7f06
commit
f9e4e67cf6
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def navigation(request):
|
|||
if request.resolver_match:
|
||||
viewfunc = request.resolver_match.func
|
||||
viewmodule = viewfunc.__module__
|
||||
if viewmodule == 'contact.views':
|
||||
if viewmodule == 'contact_form.views':
|
||||
context['active_item'] = 'contact'
|
||||
elif viewmodule in (
|
||||
'hostingpackages.views', 'osusers.views', 'userdbs.views',
|
||||
|
|
Loading…
Reference in a new issue