gadventures / django-fsm-admin

Mixin and template tags to integrate django-fsm transitions into the django admin.
Other
203 stars 95 forks source link

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

Open surfer190 opened 6 years ago

surfer190 commented 6 years ago

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 commented 6 years ago

So ,how to solve this problem?

felixledem commented 6 years ago

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

raditya1710 commented 6 years ago

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 commented 5 years ago

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

blueyed commented 2 years ago

https://github.com/gadventures/django-fsm-admin/pull/95 fixes the README, but also the example project needs to be fixed: https://github.com/gadventures/django-fsm-admin/blob/4e2dd8eb2bc3072354c66596918d58bf69115e94/example/example/settings.py#L75

BoPeng commented 2 years ago

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.