New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apphooks complains no module named 'app_resolver' when integrating with django-decorator-include #5797
Comments
When reporting bugs, you should always refer to the exact version of django-CMS, you're using. |
@jrief Sorry for that. I am using django-cms 3.3.3. I am not sure if it's a django-cms bug or not. Maybe it should be categorized as an edge case. I am trying to find a workaround before next release date of my project. |
Quick update. It's not a django-cms bug. I am inspired by the fix in following issue. |
You can do something like following.
|
Greetings,
I am developing a corpnet site recently. Authentication is required by default. So I have enabled login/logout and use decorator_include to make sure anonymous user will be redirected to login page.
Here is the line of code.
It works fine when Appooks are not enabled. After adding Apphooks, it raises following error. After rolling back to url(r'^', include('cms.urls')), Apphooks works again.
I am using django-cms 3.3.3.
cms_apps.py is nothing special.
Basically, it's something about the Apphook url magic in django-cms. So any hint will be appreciated.
The text was updated successfully, but these errors were encountered: