fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed DC panel form. PersonListField was raising a TypeError.
[redakcja.git]
/
apps
/
explorer
/
forms.py
diff --git
a/apps/explorer/forms.py
b/apps/explorer/forms.py
index
d79bc74
..
4946be6
100644
(file)
--- a/
apps/explorer/forms.py
+++ b/
apps/explorer/forms.py
@@
-19,7
+19,7
@@
class PersonListField(forms.Field):
super(PersonListField, self).__init__(*args, **kwargs)
def _get_initial(self):
super(PersonListField, self).__init__(*args, **kwargs)
def _get_initial(self):
- return
u'\n'.join( ( unicode(person) for person in self._initial)
)
+ return
self._initial and (u'\n'.join( ( unicode(person) for person in self._initial))
)
def _set_initial(self, value):
if value is None:
def _set_initial(self, value):
if value is None: