mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
String origin fix for template debugging
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
32b0981dc1
commit
d0f4c1e4cd
@ -120,7 +120,7 @@ class StringOrigin(Origin):
|
|||||||
self.source = source
|
self.source = source
|
||||||
|
|
||||||
def reload(self):
|
def reload(self):
|
||||||
return (self.source, self.name)
|
return self.source
|
||||||
|
|
||||||
class Template:
|
class Template:
|
||||||
def __init__(self, template_string, origin=None):
|
def __init__(self, template_string, origin=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user