Django 1.10.4 autodiscover for rules.py modules failed
pyzenberg opened this issue · comments
Replaced 'rules',
with 'rules.apps.AutodiscoverRulesConfig',
on INSTALLED_APPS
settings to enable auto discover mode of rules.py
modules as docs said and got this error:
ImportError: No module named 'rules.apps.AutodiscoverRulesConfig'; 'rules.apps' is not a package
P.S: I'm using Python 3.5.2 inside venv
If you installed via pip, can you make sure you actually did pip install rules
and not pip install django-rules
?
Installed it via pip install rules
and pip freeze
gave rules==1.1.1
too.
@pyzenberg , I haven't managed to reproduce the issue, can you please post the exception traceback or any other info that might help identify the issue?
Haven't heard back so I assume it's not an issue anymore. Closing. Feel free to open the issue again if you still face problems with rules.