divio/django-shop — comment on commit 82ef7731de252f20e9de8163595339179978e99f
File:  line 0
By zeus:

Replacing:
'%s.%s' % (klass._meta.app_label, klass.__name__)
with:
app_label, model_name = parts[index], parts[-1]

For example if we have Order model for app 'foo' stored in 'bar' module (that is valid code), we will 'bar.Order' as model string which is invalid.