Django 1.10.1 'my_templatetag' is not a registered tag library. Must be one of: : <p>I want a menu thats custom depending which group you are member of.
Im using Django 1.10.1, allauth and so on. 
When im trying to make my templatetag it fails and it says:¨</p>

<pre><code>TemplateSyntaxError at /
'my_templatetag' is not a registered tag library. Must be one of:
account
account_tags
admin_list
admin_modify
admin_static
admin_urls
cache
i18n
l10n
log
socialaccount
socialaccount_tags
static
staticfiles
tz
</code></pre>

<p>'my_templatetag.py' looks like this:</p>

<pre><code>from django import template
from django.contrib.auth.models import Group


register = template.Library()

@register.filter(name='has_group')
def has_group(user, group_name):
    group =  Group.objects.get(name=group_name)
    return group in user.groups.all()
</code></pre>

<p>and tha error comes in my .html file which say,</p>

<pre><code>{%  load my_templatetag %}
</code></pre>

<p>I have tried to restart the server like millions of times, also i tried to change all the names, and the app is a part of INSTALLED_APPS in settings.py.
What am I doing wrong?</p>
