Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#1436 closed defect (fixed)

[magic-removal] [patch] django-admin.py 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: no UI/UX: no

Description

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

$ ./manage.py 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 'django-admin.py 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 18 years ago.
fixed app_name and removed app_label for error messages

Download all attachments as: .zip

Change History (2)

by Antti Kaihola, 18 years ago

fixed app_name and removed app_label for error messages

comment:1 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

This was fixed somewhere along the way.

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