Skip to content
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

AttributeError: module 'django.conf.global_settings' has no attribute 'TEMPLATE_CONTEXT_PROCESSORS' #76

Open
surfer190 opened this issue Dec 19, 2017 · 6 comments · May be fixed by #95

Comments

@surfer190
Copy link

On django 1.11.5:

The following error is shown with runserver:

AttributeError: module 'django.conf.global_settings' has no attribute 'TEMPLATE_CONTEXT_PROCESSORS'

So I left it out as it was apparently deprecated in django 1.8 and removed in 1.10

Now I get a Direct state modification is not allowed error, when using the buttons provided on admin.

@guanqinchao
Copy link

So ,how to solve this problem?

@felixledem
Copy link

Tried the demo, got the same error. Was using python3 and django 2.0

@raditya1710
Copy link

https://stackoverflow.com/questions/39315348/cannot-import-name-template-context-processors

From link above, stated that:
It's already deprecated in Django 1.8 and removed completely in Django 1.10

@AdamDonna
Copy link

I'm bumping this because it should be removed from the readme

blueyed added a commit to blueyed/django-fsm-admin that referenced this issue May 12, 2022
@blueyed
Copy link

blueyed commented May 12, 2022

#95 fixes the README, but also the example project needs to be fixed:

TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (

@BoPeng
Copy link

BoPeng commented May 15, 2022

Now I get a Direct state modification is not allowed error, when using the buttons provided on admin.

I got the same error which basically disallowed me from using django-fsm-admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants