Opened 18 years ago

Last modified 9 years ago

#4356 closed

Problem with Template library django.template.loader_tag - SVN Version 5311 — at Initial Version

Reported by: anonymous Owned by: Jacob
Component: Uncategorized Version: 0.96
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Traceback (most recent call last):
File "/home/meli/Projet/atelier_rouelibre/django/core/handlers/base.py" in get_response

  1. callback, callback_args, callback_kwargs = resolver.resolve(request.path)

File "/home/meli/Projet/atelier_rouelibre/django/core/urlresolvers.py" in resolve

  1. for pattern in self.urlconf_module.urlpatterns:

File "/home/meli/Projet/atelier_rouelibre/django/core/urlresolvers.py" in _get_urlconf_module

  1. self._urlconf_module = import(self.urlconf_name, {}, {}, [])

File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/urls.py" in

  1. from atelier_rouelibre.views import index

File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/views.py" in

  1. from django.template import Context, loader

File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/loader.py" in

  1. add_to_builtins('django.template.loader_tags')

File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/init.py" in add_to_builtins

  1. builtins.append(get_library(module_name))

File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/init.py" in get_library

  1. mod = import(module_name, {}, {}, [])

File "/home/meli/Projet/atelier_rouelibre/django/template/loader_tags.py" in

  1. from django.template.loader import get_template, get_template_from_string, find_template_source

File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/loader.py" in

  1. add_to_builtins('django.template.loader_tags')

File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/init.py" in add_to_builtins

  1. builtins.append(get_library(module_name))

File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/init.py" in get_library

  1. raise InvalidTemplateLibrary, "Template library %s does not have a variable named 'register'" % module_name

InvalidTemplateLibrary at /
Template library django.template.loader_tags does not have a variable named 'register'

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top