Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#1436 closed defect (fixed)

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

Reported by: akaihola Owned by: adrian
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:

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 akaihola 10 years ago.
fixed app_name and removed app_label for error messages

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by akaihola

fixed app_name and removed app_label for error messages

comment:1 Changed 9 years ago by adrian

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

This was fixed somewhere along the way.

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