I don't see any documentation on helper methods for the django objects. By helper methods I'm envisioning the following:
IsModified() - If an object is from the database and a field has been edited. IsNew() - This object is not in the database yet. I.e. it's new and won't be there until a save() GetAllFields() - Just a list of the fields GetAllEditableFields() - A list of fields with editable=true. GetAllCoreFields() - Fields with core=true .... You get what I mean... I was wondering if there is any way to do something like that... especially the first two (IsNew and IsModified). And so is there any interest in having functions like this in the model? Alan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---
