from django import template
from django.core.urlresolvers import reverse, resolve

register = template.Library()

# Register your models here.

@register.simple_tag

def navactive(request, urls):
	if request.path in (reverse (url) for url in urls.split()):
		return "active"
	return ""
0fe8e76272670e1cdf6f206634334425232241be
<mask token>

<mask token>


@register.simple_tag
def navactive(request, urls):
    if request.path in (reverse(url) for url in urls.split()):
        return 'active'
    return ''

<mask token>
register = template.Library()


@register.simple_tag
def navactive(request, urls):
    if request.path in (reverse(url) for url in urls.split()):
        return 'active'
    return ''

from django import template
from django.core.urlresolvers import reverse, resolve
register = template.Library()


@register.simple_tag
def navactive(request, urls):
    if request.path in (reverse(url) for url in urls.split()):
        return 'active'
    return ''

from django import template
from django.core.urlresolvers import reverse, resolve

register = template.Library()

# Register your models here.

@register.simple_tag

def navactive(request, urls):
	if request.path in (reverse (url) for url in urls.split()):
		return "active"
	return ""