git.ithinksw.org
/
philo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added kwarg capability to embed tag. Adjusted reference substitution to account for...
[philo.git]
/
models
/
fields.py
diff --git
a/models/fields.py
b/models/fields.py
index
79b31b3
..
dbf1886
100644
(file)
--- a/
models/fields.py
+++ b/
models/fields.py
@@
-147,9
+147,9
@@
class RelationshipField(EntityProxyField):
class TemplateField(models.TextField):
class TemplateField(models.TextField):
- def __init__(self, allow=None, disallow=None, *args, **kwargs):
+ def __init__(self, allow=None, disallow=None,
secure=True,
*args, **kwargs):
super(TemplateField, self).__init__(*args, **kwargs)
super(TemplateField, self).__init__(*args, **kwargs)
- self.validators.append(TemplateValidator(allow, disallow))
+ self.validators.append(TemplateValidator(allow, disallow
, secure
))
try:
try: