#23981: Error accessing the table from an app with label changed
----------------------------------------------+----------------------------
Reporter: psnma | Owner: nobody
Type: Bug | Status: new
Component: Database layer (models, ORM) | Version: 1.7
Severity: Normal | Keywords: appconfig,
Triage Stage: Unreviewed | label, model
Easy pickings: 0 | Has patch: 0
| UI/UX: 0
----------------------------------------------+----------------------------
I created an app and using AppConfig I changed the label to another name
('abc' to 'my_abc'). The migration was successful and the table was
created with the label prefix (table 'my_abc'). But when I access the
page, Django emits an error that is trying to access the table without
taking into account that has changed the name of the label, it is trying
to access the table "abc", but should access "my_abc".
{{{
ProgrammingError
relation "abc" does not exist
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23981>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.c614b8562d0356c7bf02f2f771fb6cdb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.