#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)
Change History (2)
by , 20 years ago
| Attachment: | management_error_messages.diff added | 
|---|
comment:1 by , 20 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
This was fixed somewhere along the way.
  Note:
 See   TracTickets
 for help on using tickets.
    
fixed app_name and removed app_label for error messages