Hi,

There's no template variable, at least for the frontpage.
Here's the traceback:
Environment:

Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 0.97-pre-SVN-6917
Python Version: 2.5.1
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'registration',
 'apps.frontpage',
 'apps.profiles',
 'apps.projects']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware')


Traceback:
File "C:\Python25\Lib\site-packages\django\core\handlers\base.py" in
get_response
  82.                 response = callback(request, *callback_args,
**callback_kwargs)
File "E:\Software\workspace\bigproject\trunk\apps\frontpage\views.py"
in frontpage
  6.     return render_to_response('frontpage.html')
File "C:\Python25\Lib\site-packages\django\shortcuts\__init__.py" in
render_to_response
  18.     return HttpResponse(loader.render_to_string(*args,
**kwargs), **httpresponse_kwargs)
File "C:\Python25\Lib\site-packages\django\template\loader.py" in
render_to_string
  106.     return t.render(context_instance)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in
render
  176.         return self.nodelist.render(context)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in
render
  804.                 bits.append(self.render_node(node, context))
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in
render_node
  817.         return node.render(context)
File "C:\Python25\Lib\site-packages\django\template\loader_tags.py" in
render
  64.         compiled_parent = self.get_parent(context)
File "C:\Python25\Lib\site-packages\django\template\loader_tags.py" in
get_parent
  61.             return get_template_from_string(source, origin,
parent)
File "C:\Python25\Lib\site-packages\django\template\loader.py" in
get_template_from_string
  88.     return Template(source, origin, name)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in
__init__
  166.         self.nodelist = compile_string(template_string, origin)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in
compile_string
  182.     return parser.parse()
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in
parse
  290.                     compiled_result = compile_func(self, token)
File "C:\Python25\Lib\site-packages\django\template\defaulttags.py" in
load
  855.             lib = get_library("django.templatetags.%s" %
taglib)
File "C:\Python25\Lib\site-packages\django\template\__init__.py" in
get_library
  1004.             mod = __import__(module_name, {}, {}, [''])
File "E:\Software\workspace\bigproject\trunk\apps\projects\templatetags
\project_tags.py" in <module>
  5. from models import Project
File "C:\Python25\Lib\site-packages\registration\models.py" in
<module>
  169. class RegistrationProfile(models.Model):
File "C:\Python25\Lib\site-packages\django\db\models\base.py" in
__new__
  53.             new_class._meta.app_label =
model_module.__name__.split('.')[-2]

Exception Type: IndexError at /
Exception Value: list index out of range


On Dec 14, 11:37 am, l5x <[EMAIL PROTECTED]> wrote:
> Traceback? Template variables?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to