#28702: Field.db_type, Field.get_internal_type() and postgresql ::citext
----------------------------------+------------------------------------
     Reporter:  Дилян Палаузов    |                    Owner:  (none)
         Type:  Uncategorized     |                   Status:  new
    Component:  contrib.postgres  |                  Version:  1.11
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  1                 |      Needs documentation:  0
  Needs tests:  1                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------

Comment (by Mads Jensen):

 I think this issue highlights that the section `Custom database types` in
 `docs/howto/custom-model-fields.txt` needs to be adjusted, as `db_type` is
 referenced for `filter` and `exclude` but is not always used for casting.

 The test `test_lookup_cast` for PostgreSQL will also need to be adjusted.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28702#comment:4>
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/072.d86f195b0ad1ca154f7b7e4876057571%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to