Opened 9 years ago

Closed 9 years ago

#2285 closed defect (fixed)

Syncdb doesn't give app name on error

Reported by: SmileyChris Owned by: adrian
Component: Core (Management commands) Version:
Severity: minor Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When manage.py syncdb is run and errors are found (via django.core.management._check_for_validation_errors, the app name is not passed so the first error line looks like:

Error: None couldn't be installed, because there were errors in your model:

Either the app names should be passed to _check_for_validation_errors or the error line should be changed if no app name is passed.

Change History (1)

comment:1 Changed 9 years ago by mtredinnick

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

(In [3276]) Fixed #2285 -- Tweaked the error message after model errors at "syncdb" time so
that we don't report an app name of "None".

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