On 1/26/06, Tim TerlegÄrd <[EMAIL PROTECTED]> wrote:
> Why is a field with prepopulate_from populated using javascript?
> It's ok that javascript is used for some tasks, but why is it used for
> populating a field before it's saved? Can't it be done in the save()
> method instead?

That's because prepopulate_from is intended to give *recommended*
values, not definitive values. If your slug prepopulates from your
headline, you still may want to edit the slug after it's been
prepopulated.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to