#27282: port cant be integer with oracle backend
----------------------------------------------+--------------------
Reporter: Zapelini | Owner: nobody
Type: Bug | Status: new
Component: Database layer (models, ORM) | Version: 1.10
Severity: Normal | Keywords: port
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------------------+--------------------
if you set the PORT to be an integer with the oracle backend you will get
an exception because it calls strip on the value:
https://github.com/django/django/blob/master/django/db/backends/oracle/base.py#L194
note that the other backends do not do this, so either an integer or
string value will do just fine.
https://github.com/django/django/blob/master/django/db/backends/postgresql/base.py#L165
The fix ix simple: just remove the .strip() call from line 194
--
Ticket URL: <https://code.djangoproject.com/ticket/27282>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.7cf5d714dab1a036807336bb08f86451%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.