#5622: empty ipaddress raises an error (invalid input syntax for type inet: "")
---------------------------------------+------------------------------------
Reporter: anonymous | Owner: nobody
Status: reopened | Component: Admin interface
Version: newforms-admin | Resolution:
Keywords: sprintdec01, postgresql | Stage: Design decision
needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------------------+------------------------------------
Changes (by toke):
* stage: Unreviewed => Design decision needed
Comment:
Postgresql inet type don't allow empty inet fields. Null is OK.
Should an empty string in the admin be converted to a NULL value in the
DB?
http://www.postgresql.org/docs/7.4/interactive/datatype-net-types.html
#DATATYPE-INET
--
Ticket URL: <http://code.djangoproject.com/ticket/5622#comment:7>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---