Closed BoPeng closed 1 year ago
https://github.com/ellmetha/django-machina/issues/229 https://github.com/ellmetha/django-machina/issues/287
Current, get_class does not support apps defined in INSTALLED_APPS as
get_class
INSTALLED_APPS
INSTALLED_APPS = [ ... "machina.forum_tracking.apps.ForumTrackingAppConfig", ... ]
This does not conform to django conventions and makes deriving from machina-defined AppConfig more difficult (see #287 for details).
machina
AppConfig
This PR parses app and handles the apps case for get_class.
app
apps
Tests for python 3.6 should be removed, I guess.
@ellmetha I think this PR is clean enough to be merged.
Test added.
https://github.com/ellmetha/django-machina/issues/229 https://github.com/ellmetha/django-machina/issues/287
Current,
get_class
does not support apps defined inINSTALLED_APPS
asThis does not conform to django conventions and makes deriving from
machina
-definedAppConfig
more difficult (see #287 for details).This PR parses
app
and handles theapps
case forget_class
.