What steps will reproduce the problem?
class Test(db.Model):
items = db.StringListProperty()
class TestForm(forms.ModelForm):
class Meta:
model = Test
def test(request):
form = TestForm()
return render_to_response('test.html', {'form':form})
What is the expected output? What do you see instead?
StringListProperty should be displayed as a textarea (multi-line) with an
initial value of ''. app-engine-patch causes it to instead be displayed as
a textinput (single-line) with an initial value of '[]'. This means that
multiple elements cannot be specified (as list elements are delimited by
newlines).
What version of the product are you using? On what operating system?
Ubuntu, 1.0.2.1 - but the issue seems to exist in the repository version as
well.
Please provide any additional information below.
I've attached a patch that fixes the issue.
Original issue reported on code.google.com by dvd...@gmail.com on 21 Jun 2009 at 12:30
Original issue reported on code.google.com by
dvd...@gmail.com
on 21 Jun 2009 at 12:30Attachments: