Fixed #5124 -- Added a reasonable error when "extends" is not the first template...
commit11ab8230f1b1980e07870d18e06e5f7e663afc36
authormtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Mon, 4 Feb 2008 04:52:37 +0000 (4 04:52 +0000)
committermtredinnick <mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37>
Mon, 4 Feb 2008 04:52:37 +0000 (4 04:52 +0000)
treeb5f2e06995d8a95199218096e74c9bb60b2429cc
parent2ecf1918144fa0051b7ec1f65f4ee37682153b1c
Fixed #5124 -- Added a reasonable error when "extends" is not the first template tag. Patch from k0001.

Refs #6274.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
django/template/__init__.py
django/template/loader_tags.py