Django

Code

Ticket #8777 (closed: fixed)

Opened 3 months ago

Last modified 3 months ago

validate_unique - bad capitalization function

Reported by: Petr Marhoun <petr.marhoun@gmail.com> Assigned to: nobody
Milestone: 1.0 Component: Internationalization
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

Description

In the new function validate_unique from [8805] model_name is capitalized - but with title, not capfirst.

  • Bad (title): log entry -> Log Entry
  • Good (capfirst): log entry -> Log entry

Attached patch could fix it.

Attachments

validate-unique-capfirst.diff (0.9 kB) - added by Petr Marhoun <petr.marhoun@gmail.com> on 09/01/08 17:12:14.

Change History

09/01/08 17:12:14 changed by Petr Marhoun <petr.marhoun@gmail.com>

  • attachment validate-unique-capfirst.diff added.

09/01/08 17:22:18 changed by jacob

  • status changed from new to closed.
  • resolution set to fixed.

(In [8820]) Fixed #8777: use better capitalization in unique together error message. Thanks, Petr Marhoun.


Add/Change #8777 (validate_unique - bad capitalization function)




Change Properties
Action