#24981: Importing an abstract model from a bare package fails.
-------------------------------+--------------------------------------
Reporter: skorokithakis | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 1.8
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):
* status: new => closed
* needs_better_patch: => 0
* resolution: => invalid
* needs_tests: => 0
* needs_docs: => 0
Comment:
Based on the traceback, it looks like you're using Django 1.7. In Django
1.8 it looks like that `IndexError` is caught and you should get an error
message like 'Unable to detect the app label for model "%s." Ensure that
its module, "%s", is located inside an installed app.'" You might try
adding an explicit `Meta.app_label` to your abstract model. Feel free to
reopen if you continue to suspect a bug and can provide a sample project
running Django 1.8, as 1.7 is only receiving security updates at this
time. Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/24981#comment:1>
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/071.4d3f457c80055baef6e93595fae0e50f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.