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
- callback, callback_args, callback_kwargs = resolver.resolve(request.path)
File "/home/meli/Projet/atelier_rouelibre/django/core/urlresolvers.py" in resolve
- for pattern in self.urlconf_module.urlpatterns:
File "/home/meli/Projet/atelier_rouelibre/django/core/urlresolvers.py" in _get_urlconf_module
- self._urlconf_module = import(self.urlconf_name, {}, {}, [])
File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/urls.py" in
- from atelier_rouelibre.views import index
File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/views.py" in
- from django.template import Context, loader
File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/loader.py" in
- add_to_builtins('django.template.loader_tags')
File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/init.py" in add_to_builtins
- builtins.append(get_library(module_name))
File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/init.py" in get_library
- mod = import(module_name, {}, {}, [])
File "/home/meli/Projet/atelier_rouelibre/django/template/loader_tags.py" in
- 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
- add_to_builtins('django.template.loader_tags')
File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/init.py" in add_to_builtins
- builtins.append(get_library(module_name))
File "/home/meli/Projet/atelier_rouelibre/../atelier_rouelibre/django/template/init.py" in get_library
- 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'