In PolymorphicModelBase.__new__ we work around a limitation with the app_label detection in Django ModelBase (which could raise IndexError). |
||
|---|---|---|
| .. | ||
| management | ||
| __init__.py | ||
| models.py | ||
| polymorphic.py | ||
| tests.py | ||
In PolymorphicModelBase.__new__ we work around a limitation with the app_label detection in Django ModelBase (which could raise IndexError). |
||
|---|---|---|
| .. | ||
| management | ||
| __init__.py | ||
| models.py | ||
| polymorphic.py | ||
| tests.py | ||