Opened 2 years ago

Closed 18 months ago

#20974 closed Cleanup/optimization (wontfix)

Adding test for mysql-specific model validation checks

Reported by: chrismedrela Owned by: anubhav9042
Component: Core (System checks) Version: 1.5
Severity: Normal Keywords: checks
Cc: anubhav9042@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There is some validation on model fields under MySQL backend here [1]. It checks if you do not use unique varchars longer than 255 characters. This code is not covered by any test.

I'm working at rewriting validation framework (see discussion on mailing list [2]), so please, do not work at this ticket until I finish.

[1] https://github.com/django/django/blob/master/django/db/backends/mysql/validation.py
[2] https://groups.google.com/forum/#!topic/django-developers/fEf21dtpqDE

Change History (4)

comment:1 Changed 2 years ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Summary changed from Adding test for mysql-specific checks to Adding test for mysql-specific model validation checks
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 2 years ago by timo

  • Easy pickings unset

comment:3 Changed 18 months ago by anubhav9042

  • Cc anubhav9042@… added
  • Owner changed from nobody to anubhav9042
  • Status changed from new to assigned

comment:4 Changed 18 months ago by russellm

  • Component changed from Database layer (models, ORM) to Core (System checks)
  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.
Back to Top