changeset 1289 | 86a4e0e75ea6 |
parent 1255 | 9fe8c6c54933 |
child 1290 | b2919e3ffdae |
--- a/app/soc/views/models/group_app.py Thu Feb 12 23:06:14 2009 +0000 +++ b/app/soc/views/models/group_app.py Thu Feb 12 23:12:09 2009 +0000 @@ -107,7 +107,8 @@ """See base.View._editGet(). """ - form.fields['backup_admin_link_id'].initial = entity.backup_admin.link_id + if entity: + form.fields['backup_admin_link_id'].initial = entity.backup_admin.link_id super(View, self)._editGet(request, entity, form)