editable AutoField

0 views
Skip to first unread message

Baurzhan Ismagulov

unread,
Dec 12, 2009, 11:09:31 AM12/12/09
to django...@googlegroups.com
Hello,

I'd like to have a numeric field that is shown in the admin and in the
model form, the value entered by the user is saved, if no value is
entered, the next sequence number is assigned by the database. Is there
an easy way to do that? Or should I override the model's save method and
use a custom form?

With kind regards,
--
Baurzhan Ismagulov
http://www.kz-easy.com/
Reply all
Reply to author
Forward
0 new messages