#2414: coredump of python by a template extending itself
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Template system | Version:
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
I'm just starting with Django. When I made by a mistake so that a template
jobs/base.html extended inself instead of intended base.html
(one level up), the development server died and I got a python.core file.
I believe this is a bug in python interpreter, but I think that
django can detect the situation triggering this bug and present a
resonable message. I also hope that django developers can extract
a small reproducible case for python developers...
If jobs/base.html starts with
{{{
{% extends "base.html" %}
}}}
everything works OK. If it starts with
{{{
{% extends "jobs/base.html" %}
}}}
the coredump happens.
Additional information:
{{{
$ uname -a
FreeBSD h33.h33.erkki.ton.tut.fi 6.1-RC FreeBSD 6.1-RC #0: Fri Apr 21
12:34:43 EEST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/H33 i386
$ pkg_info -I '*django*'
py24-django-devel-20060704 High-level Python Web framework
}}}
BTW, thanks for great software!
--
Ticket URL: <http://code.djangoproject.com/ticket/2414>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---