Template error:
In template /home/chris/Dropbox/Projects/loco-directory/reviews/loco_directory/templates/teams/team_detail.html, error at line 2
'teams_tags' is not a valid tag library: Template library teams_tags not found, tried django.templatetags.teams_tags,django.contrib.admin.templatetags.teams_tags,meetings.templatetags.teams_tags
1 : {% extends "base.html" %}
2 : {% load i18n teams_tags %}
3 :
4 : {% block title %}{% trans team.name %} | {% trans "Ubuntu LoCo Team Directory" %} {% endblock %}
5 :
6 : {% block sub_nav_links %}
7 : <a class="sub-nav-item" href="{% url team-list %}" title="{% trans "Back to Teams List" %}">{% trans "Back to Teams List" %}</a>
8 : {% if is_member %}{% else %} <a class="sub-nav-item" href="https://launchpad.net/~{{ team.lp_name }}/+join">{% trans "Join This Team!" %}</a>{% endif %}
9 : {% if is_admin %}<a class="sub-nav-item" href="{% url team-edit team.lp_name %}" title="{% trans "Edit Details" %}">{% trans "Edit Details" %}</a>{% endif %}
10 : {% if is_admin and not team.active %}<a class="sub-nav-item" href="{% url select-other-team team.lp_name %}" title="{% trans "Merge with another team" %}">{% trans "Merge team" %}</a>{% endif %}
11 : {% if is_member %}<a class="sub-nav-item" href="{% url team-event-new team.lp_name %}" title="{% trans "Add New Event" %}">{% trans "Add New Event" %}</a>{% endif %}
12 : {% if is_member %}<a class="sub-nav-item" href="{% url team-meeting-new team.lp_name %}" title="{% trans "Add New Meeting" %}">{% trans "Add New Meeting" %}</a>{% endif %}
Traceback:
File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py" in get_response
100. response = callback(request, *callback_args, **callback_kwargs)
File "/home/chris/Dropbox/Projects/loco-directory/reviews/loco_directory/teams/views.py" in team_detail
170. context, RequestContext(request))
File "/usr/lib/pymodules/python2.7/django/shortcuts/__init__.py" in render_to_response
20. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "/usr/lib/pymodules/python2.7/django/template/loader.py" in render_to_string
181. t = get_template(template_name)
File "/usr/lib/pymodules/python2.7/django/template/loader.py" in get_template
160. template = get_template_from_string(template, origin, template_name)
File "/usr/lib/pymodules/python2.7/django/template/loader.py" in get_template_from_string
168. return Template(source, origin, name)
File "/usr/lib/pymodules/python2.7/django/template/__init__.py" in __init__
158. self.nodelist = compile_string(template_string, origin)
File "/usr/lib/pymodules/python2.7/django/template/__init__.py" in compile_string
186. return parser.parse()
File "/usr/lib/pymodules/python2.7/django/template/__init__.py" in parse
282. compiled_result = compile_func(self, token)
File "/usr/lib/pymodules/python2.7/django/template/loader_tags.py" in do_extends
195. nodelist = parser.parse()
File "/usr/lib/pymodules/python2.7/django/template/__init__.py" in parse
282. compiled_result = compile_func(self, token)
File "/usr/lib/pymodules/python2.7/django/template/defaulttags.py" in load
928. (taglib, e))
Exception Type: TemplateSyntaxError at /teams/ubuntu-us-florida
Exception Value: 'teams_tags' is not a valid tag library: Template library teams_tags not found, tried django.templatetags.teams_tags,django.contrib.admin.templatetags.teams_tags,meetings.templatetags.teams_tags
Environment:
Request Method: GET 127.0.0. 1:8000/ teams/ubuntu- us-florida contrib. auth', contrib. contenttypes' , contrib. sessions' , contrib. admin', openid_ auth', middleware. common. CommonMiddlewar e', middleware. locale. LocaleMiddlewar e', contrib. sessions. middleware. SessionMiddlewa re', contrib. auth.middleware .Authentication Middleware' )
Request URL: http://
Django Version: 1.2.5
Python Version: 2.7.1
Installed Applications:
['django.
'django.
'django.
'django.
'common',
'teams',
'venues',
'events',
'meetings',
'userprofiles',
'django_
'south',
'bzr_apps']
Installed Middleware:
('django.
'django.
'django.
'django.
Template error: Dropbox/ Projects/ loco-directory/ reviews/ loco_directory/ templates/ teams/team_ detail. html, error at line 2 templatetags. teams_tags, django. contrib. admin.templatet ags.teams_ tags,meetings. templatetags. teams_tags
In template /home/chris/
'teams_tags' is not a valid tag library: Template library teams_tags not found, tried django.
1 : {% extends "base.html" %}
2 : {% load i18n teams_tags %}
3 :
4 : {% block title %}{% trans team.name %} | {% trans "Ubuntu LoCo Team Directory" %} {% endblock %}
5 :
6 : {% block sub_nav_links %}
7 : <a class=" sub-nav- item" href="{% url team-list %}" title="{% trans "Back to Teams List" %}">{% trans "Back to Teams List" %}</a>
8 : {% if is_member %}{% else %} <a class=" sub-nav- item" href="https:/ /launchpad. net/~{{ team.lp_name }}/+join">{% trans "Join This Team!" %}</a>{% endif %}
9 : {% if is_admin %}<a class=" sub-nav- item" href="{% url team-edit team.lp_name %}" title="{% trans "Edit Details" %}">{% trans "Edit Details" %}</a>{% endif %}
10 : {% if is_admin and not team.active %}<a class=" sub-nav- item" href="{% url select-other-team team.lp_name %}" title="{% trans "Merge with another team" %}">{% trans "Merge team" %}</a>{% endif %}
11 : {% if is_member %}<a class=" sub-nav- item" href="{% url team-event-new team.lp_name %}" title="{% trans "Add New Event" %}">{% trans "Add New Event" %}</a>{% endif %}
12 : {% if is_member %}<a class=" sub-nav- item" href="{% url team-meeting-new team.lp_name %}" title="{% trans "Add New Meeting" %}">{% trans "Add New Meeting" %}</a>{% endif %}
Traceback: pymodules/ python2. 7/django/ core/handlers/ base.py" in get_response chris/Dropbox/ Projects/ loco-directory/ reviews/ loco_directory/ teams/views. py" in team_detail request) ) pymodules/ python2. 7/django/ shortcuts/ __init_ _.py" in render_to_response loader. render_ to_string( *args, **kwargs), **httpresponse_ kwargs) pymodules/ python2. 7/django/ template/ loader. py" in render_to_string template_ name) pymodules/ python2. 7/django/ template/ loader. py" in get_template from_string( template, origin, template_name) pymodules/ python2. 7/django/ template/ loader. py" in get_template_ from_string pymodules/ python2. 7/django/ template/ __init_ _.py" in __init__ string( template_ string, origin) pymodules/ python2. 7/django/ template/ __init_ _.py" in compile_string pymodules/ python2. 7/django/ template/ __init_ _.py" in parse pymodules/ python2. 7/django/ template/ loader_ tags.py" in do_extends pymodules/ python2. 7/django/ template/ __init_ _.py" in parse pymodules/ python2. 7/django/ template/ defaulttags. py" in load
File "/usr/lib/
100. response = callback(request, *callback_args, **callback_kwargs)
File "/home/
170. context, RequestContext(
File "/usr/lib/
20. return HttpResponse(
File "/usr/lib/
181. t = get_template(
File "/usr/lib/
160. template = get_template_
File "/usr/lib/
168. return Template(source, origin, name)
File "/usr/lib/
158. self.nodelist = compile_
File "/usr/lib/
186. return parser.parse()
File "/usr/lib/
282. compiled_result = compile_func(self, token)
File "/usr/lib/
195. nodelist = parser.parse()
File "/usr/lib/
282. compiled_result = compile_func(self, token)
File "/usr/lib/
928. (taglib, e))
Exception Type: TemplateSyntaxError at /teams/ ubuntu- us-florida templatetags. teams_tags, django. contrib. admin.templatet ags.teams_ tags,meetings. templatetags. teams_tags
Exception Value: 'teams_tags' is not a valid tag library: Template library teams_tags not found, tried django.