Changeset 4493 for waeup/branches


Ignore:
Timestamp:
31 Jul 2009, 08:07:28 (15 years ago)
Author:
uli
Message:

Explain what we do here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/university/department.py

    r4492 r4493  
    134134class AddCourseForm(grok.AddForm):
    135135    grok.context(IDepartment)
     136    # We need a deepcopy here, because otherwise also all other
     137    # ICourse forms would be affected.
    136138    form_fields = copy.deepcopy(grok.AutoFields(ICourse))
    137139    form_fields.get('code').field.readonly = False
Note: See TracChangeset for help on using the changeset viewer.