#848: [PATCH] DateTimeConvertor fails to throw empty exception
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a5
Severity: normal | Resolution:
Keywords: |
-----------------------------------+----------------------------------------
Changes (by michele):
* summary: DateTimeConvertor fails to throw empty exception => [PATCH]
DateTimeConvertor fails to throw empty
exception
Comment:
Hi Alberto,
I can't see the need to duplicate the use of not_empty by using a
orthogonal attribute (allow_empty) that in the end does the exact same
thing if you look at the code (it even raises the empty message if
needed), if you need to store NULL you simply keep not_empty=False as by
default.
Or am I missing something here?
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/848>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---