Opened 7 years ago

Closed 4 years ago

#11756 closed Cleanup/optimization (needsinfo)

Emulating built-in field types

Reported by: marcoslhc Owned by: nobody
Component: Documentation Version: 1.1
Severity: Normal Keywords: built-in field admindocs
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Emulating built-in field types

The Documentation says not to care too much about using/overriding this function specially when using the db_type method but when activating the admindoc utility in Django the app crashes when trying to show the documentation of a model using the built-in field type.
I consider useful to give the advice of writing the function when using the admindocs utility

Change History (5)

comment:1 Changed 6 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 5 years ago by baumer1122

  • Severity set to Normal
  • Type set to Cleanup/optimization

comment:3 Changed 4 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:4 Changed 4 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:5 Changed 4 years ago by timo

  • Resolution set to needsinfo
  • Status changed from new to closed

I am not sure how to reproduce this. I tried implementing db_type but not get_internal_type on a custom model field, but didn't get an error when viewing the model in admindocs. If someone can provide more details here, please reopen.

Note: See TracTickets for help on using tickets.
Back to Top