Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#1436 closed defect (fixed)

[magic-removal] [patch] error messages always refer to app with name "models"

Reported by: Antti Kaihola Owned by: Adrian Holovaty
Component: Core (Management commands) Version:
Severity: minor Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Below the word "models" should of course be "myapp".

$ ./ install myapp
Error: models couldn't be installed. Possible reasons:
  * The database isn't running or isn't configured correctly.
  * At least one of the database tables already exists.
  * The SQL was invalid.
Hint: Look at the output of ' sqlall models'. That's the SQL this command wasn't able to run.
The full error: ERROR:  relation "myapp_mymodel_id_seq" already exists

Attachments (1)

management_error_messages.diff (2.7 KB) - added by Antti Kaihola 12 years ago.
fixed app_name and removed app_label for error messages

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Antti Kaihola

fixed app_name and removed app_label for error messages

comment:1 Changed 12 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

This was fixed somewhere along the way.

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