Django CMS error when displaying advanced settings for pageAny idea why i am getting this error?django registration disable activation email not workingFailing to upgrade Django CMS projectCustom Error Pages for django-cmsDoesNotExist at /en-us/ A template tag couldn't find the page with lookup arguments `'reverse_id': u'home', 'site': 1 `Django CMS test - can't find namespace'WizardStep2Form' has no field named 'language_code'. in Djangocms aldryn_newsblogSet value to page Djangodjango-cms page permission defaults when making a new django-cms pageDjango-cms 3.5.2 ImportError: no module named djangocms_admin_style

Reverse dots and boxes

What is the right approach to quit a job during probation period for a competing offer?

What minifigure is this?

A horrible Stockfish chess engine evaluation

What is this little owl-like bird?

Graduate student with abysmal English writing skills, how to help

Elf (adjective) vs. Elvish vs. Elven

Help figuring a formula for my job

How can I effectively communicate to recruiters that a phone call is not possible?

How effective would wooden scale armor be in a medieval setting?

Using Open with a filename that contains :

Integer Lists of Noah

How to know if blackberries are safe to eat

How to tell someone I'd like to become friends without letting them think I'm romantically interested in them?

Data Encryption by Application vs Data Encryption in Database

What attributes and how big would a sea creature(s) need to be able to tow a ship?

Is this a reference to the film Alien in the novel 2010 Odyssey Two?

Why different specifications for telescopes and binoculars?

Why did Old English lose both thorn and eth?

What the real concept of Static keyword in perspective of Embedded C. See below code

Matrix with arrows and comments

[Future]Historical experience as a guide to warship design?

Is a request to book a business flight ticket for a graduate student an unreasonable one?

What is a "Lear Processor" and how did it work?



Django CMS error when displaying advanced settings for page


Any idea why i am getting this error?django registration disable activation email not workingFailing to upgrade Django CMS projectCustom Error Pages for django-cmsDoesNotExist at /en-us/ A template tag couldn't find the page with lookup arguments `'reverse_id': u'home', 'site': 1 `Django CMS test - can't find namespace'WizardStep2Form' has no field named 'language_code'. in Djangocms aldryn_newsblogSet value to page Djangodjango-cms page permission defaults when making a new django-cms pageDjango-cms 3.5.2 ImportError: no module named djangocms_admin_style






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















This is the error I get when trying to change the advanced settings of a page while in admin mode:



TypeError at /admin/cms/page/5/advanced-settings/
__str__ returned non-string (type __proxy__)

Environment:


Request Method: GET
Request URL: http://localhost:8000/admin/cms/page/5/advanced-settings/?language=en&cms_path=/

Django Version: 2.1.7
Python Version: 3.6.7
Installed Applications:
['djangocms_admin_style',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.sites',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'cms',
'menus',
'sekizai',
'treebeard',
'djangocms_text_ckeditor',
'filer',
'easy_thumbnails',
'djangocms_column',
'djangocms_file',
'djangocms_link',
'djangocms_picture',
'djangocms_style',
'djangocms_snippet',
'djangocms_googlemap',
'djangocms_video',
'structuresend']
Installed Middleware:
['cms.middleware.utils.ApphookReloadMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cms.middleware.language.LanguageCookieMiddleware']


Template error:
In template /usr/local/lib/python3.6/dist-packages/django/forms/templates/django/forms/widgets/select_option.html, error at line 1
__str__ returned non-string (type __proxy__)
1 : <option value=" widget.value"% include "django/forms/widgets/attrs.html" %> widget.label </option>
2 :

Traceback:

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py" in _get_response
156. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py" in _get_response
154. response = response.render()

File "/usr/local/lib/python3.6/dist-packages/django/template/response.py" in render
106. self.content = self.rendered_content

File "/usr/local/lib/python3.6/dist-packages/django/template/response.py" in rendered_content
83. content = template.render(context, self._request)

File "/usr/local/lib/python3.6/dist-packages/django/template/backends/django.py" in render
61. return self.template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
171. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
188. return template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
173. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
309. return nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
309. return nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
993. return render_value_in_context(output, context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_value_in_context
972. value = str(value)

File "/usr/local/lib/python3.6/dist-packages/django/utils/html.py" in <lambda>
397. klass.__str__ = lambda self: mark_safe(klass_str(self))

File "/usr/local/lib/python3.6/dist-packages/django/forms/boundfield.py" in __str__
33. return self.as_widget()

File "/usr/local/lib/python3.6/dist-packages/django/forms/boundfield.py" in as_widget
93. renderer=self.form.renderer,

File "/usr/local/lib/python3.6/dist-packages/django/forms/widgets.py" in render
230. return self._render(self.template_name, context, renderer)

File "/usr/local/lib/python3.6/dist-packages/django/forms/widgets.py" in _render
235. return mark_safe(renderer.render(template_name, context))

File "/usr/local/lib/python3.6/dist-packages/django/forms/renderers.py" in render
31. return template.render(context, request=request).strip()

File "/usr/local/lib/python3.6/dist-packages/django/template/backends/django.py" in render
61. return self.template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
171. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
188. return template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
173. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
993. return render_value_in_context(output, context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_value_in_context
972. value = str(value)

Exception Type: TypeError at /admin/cms/page/5/advanced-settings/
Exception Value: __str__ returned non-string (type __proxy__)


The problem seems to be a value = str(value) not returning a string, although value is said to be 'Inherit the template of the nearest ancestor'. I'm not sure what's happening here.



Apparently it returns a __proxy__ type, which according to other questions is a type used for translation. What can I do to fix this? I need access to the settings of my page to change the html template it uses.










share|improve this question
























  • What version of CMS and what plugins do you have in the page?

    – markwalker_
    Mar 28 at 22:49

















1















This is the error I get when trying to change the advanced settings of a page while in admin mode:



TypeError at /admin/cms/page/5/advanced-settings/
__str__ returned non-string (type __proxy__)

Environment:


Request Method: GET
Request URL: http://localhost:8000/admin/cms/page/5/advanced-settings/?language=en&cms_path=/

Django Version: 2.1.7
Python Version: 3.6.7
Installed Applications:
['djangocms_admin_style',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.sites',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'cms',
'menus',
'sekizai',
'treebeard',
'djangocms_text_ckeditor',
'filer',
'easy_thumbnails',
'djangocms_column',
'djangocms_file',
'djangocms_link',
'djangocms_picture',
'djangocms_style',
'djangocms_snippet',
'djangocms_googlemap',
'djangocms_video',
'structuresend']
Installed Middleware:
['cms.middleware.utils.ApphookReloadMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cms.middleware.language.LanguageCookieMiddleware']


Template error:
In template /usr/local/lib/python3.6/dist-packages/django/forms/templates/django/forms/widgets/select_option.html, error at line 1
__str__ returned non-string (type __proxy__)
1 : <option value=" widget.value"% include "django/forms/widgets/attrs.html" %> widget.label </option>
2 :

Traceback:

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py" in _get_response
156. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py" in _get_response
154. response = response.render()

File "/usr/local/lib/python3.6/dist-packages/django/template/response.py" in render
106. self.content = self.rendered_content

File "/usr/local/lib/python3.6/dist-packages/django/template/response.py" in rendered_content
83. content = template.render(context, self._request)

File "/usr/local/lib/python3.6/dist-packages/django/template/backends/django.py" in render
61. return self.template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
171. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
188. return template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
173. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
309. return nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
309. return nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
993. return render_value_in_context(output, context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_value_in_context
972. value = str(value)

File "/usr/local/lib/python3.6/dist-packages/django/utils/html.py" in <lambda>
397. klass.__str__ = lambda self: mark_safe(klass_str(self))

File "/usr/local/lib/python3.6/dist-packages/django/forms/boundfield.py" in __str__
33. return self.as_widget()

File "/usr/local/lib/python3.6/dist-packages/django/forms/boundfield.py" in as_widget
93. renderer=self.form.renderer,

File "/usr/local/lib/python3.6/dist-packages/django/forms/widgets.py" in render
230. return self._render(self.template_name, context, renderer)

File "/usr/local/lib/python3.6/dist-packages/django/forms/widgets.py" in _render
235. return mark_safe(renderer.render(template_name, context))

File "/usr/local/lib/python3.6/dist-packages/django/forms/renderers.py" in render
31. return template.render(context, request=request).strip()

File "/usr/local/lib/python3.6/dist-packages/django/template/backends/django.py" in render
61. return self.template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
171. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
188. return template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
173. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
993. return render_value_in_context(output, context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_value_in_context
972. value = str(value)

Exception Type: TypeError at /admin/cms/page/5/advanced-settings/
Exception Value: __str__ returned non-string (type __proxy__)


The problem seems to be a value = str(value) not returning a string, although value is said to be 'Inherit the template of the nearest ancestor'. I'm not sure what's happening here.



Apparently it returns a __proxy__ type, which according to other questions is a type used for translation. What can I do to fix this? I need access to the settings of my page to change the html template it uses.










share|improve this question
























  • What version of CMS and what plugins do you have in the page?

    – markwalker_
    Mar 28 at 22:49













1












1








1








This is the error I get when trying to change the advanced settings of a page while in admin mode:



TypeError at /admin/cms/page/5/advanced-settings/
__str__ returned non-string (type __proxy__)

Environment:


Request Method: GET
Request URL: http://localhost:8000/admin/cms/page/5/advanced-settings/?language=en&cms_path=/

Django Version: 2.1.7
Python Version: 3.6.7
Installed Applications:
['djangocms_admin_style',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.sites',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'cms',
'menus',
'sekizai',
'treebeard',
'djangocms_text_ckeditor',
'filer',
'easy_thumbnails',
'djangocms_column',
'djangocms_file',
'djangocms_link',
'djangocms_picture',
'djangocms_style',
'djangocms_snippet',
'djangocms_googlemap',
'djangocms_video',
'structuresend']
Installed Middleware:
['cms.middleware.utils.ApphookReloadMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cms.middleware.language.LanguageCookieMiddleware']


Template error:
In template /usr/local/lib/python3.6/dist-packages/django/forms/templates/django/forms/widgets/select_option.html, error at line 1
__str__ returned non-string (type __proxy__)
1 : <option value=" widget.value"% include "django/forms/widgets/attrs.html" %> widget.label </option>
2 :

Traceback:

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py" in _get_response
156. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py" in _get_response
154. response = response.render()

File "/usr/local/lib/python3.6/dist-packages/django/template/response.py" in render
106. self.content = self.rendered_content

File "/usr/local/lib/python3.6/dist-packages/django/template/response.py" in rendered_content
83. content = template.render(context, self._request)

File "/usr/local/lib/python3.6/dist-packages/django/template/backends/django.py" in render
61. return self.template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
171. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
188. return template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
173. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
309. return nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
309. return nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
993. return render_value_in_context(output, context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_value_in_context
972. value = str(value)

File "/usr/local/lib/python3.6/dist-packages/django/utils/html.py" in <lambda>
397. klass.__str__ = lambda self: mark_safe(klass_str(self))

File "/usr/local/lib/python3.6/dist-packages/django/forms/boundfield.py" in __str__
33. return self.as_widget()

File "/usr/local/lib/python3.6/dist-packages/django/forms/boundfield.py" in as_widget
93. renderer=self.form.renderer,

File "/usr/local/lib/python3.6/dist-packages/django/forms/widgets.py" in render
230. return self._render(self.template_name, context, renderer)

File "/usr/local/lib/python3.6/dist-packages/django/forms/widgets.py" in _render
235. return mark_safe(renderer.render(template_name, context))

File "/usr/local/lib/python3.6/dist-packages/django/forms/renderers.py" in render
31. return template.render(context, request=request).strip()

File "/usr/local/lib/python3.6/dist-packages/django/template/backends/django.py" in render
61. return self.template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
171. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
188. return template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
173. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
993. return render_value_in_context(output, context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_value_in_context
972. value = str(value)

Exception Type: TypeError at /admin/cms/page/5/advanced-settings/
Exception Value: __str__ returned non-string (type __proxy__)


The problem seems to be a value = str(value) not returning a string, although value is said to be 'Inherit the template of the nearest ancestor'. I'm not sure what's happening here.



Apparently it returns a __proxy__ type, which according to other questions is a type used for translation. What can I do to fix this? I need access to the settings of my page to change the html template it uses.










share|improve this question
















This is the error I get when trying to change the advanced settings of a page while in admin mode:



TypeError at /admin/cms/page/5/advanced-settings/
__str__ returned non-string (type __proxy__)

Environment:


Request Method: GET
Request URL: http://localhost:8000/admin/cms/page/5/advanced-settings/?language=en&cms_path=/

Django Version: 2.1.7
Python Version: 3.6.7
Installed Applications:
['djangocms_admin_style',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
'django.contrib.sites',
'django.contrib.sitemaps',
'django.contrib.staticfiles',
'django.contrib.messages',
'cms',
'menus',
'sekizai',
'treebeard',
'djangocms_text_ckeditor',
'filer',
'easy_thumbnails',
'djangocms_column',
'djangocms_file',
'djangocms_link',
'djangocms_picture',
'djangocms_style',
'djangocms_snippet',
'djangocms_googlemap',
'djangocms_video',
'structuresend']
Installed Middleware:
['cms.middleware.utils.ApphookReloadMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'cms.middleware.user.CurrentUserMiddleware',
'cms.middleware.page.CurrentPageMiddleware',
'cms.middleware.toolbar.ToolbarMiddleware',
'cms.middleware.language.LanguageCookieMiddleware']


Template error:
In template /usr/local/lib/python3.6/dist-packages/django/forms/templates/django/forms/widgets/select_option.html, error at line 1
__str__ returned non-string (type __proxy__)
1 : <option value=" widget.value"% include "django/forms/widgets/attrs.html" %> widget.label </option>
2 :

Traceback:

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py" in _get_response
156. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py" in _get_response
154. response = response.render()

File "/usr/local/lib/python3.6/dist-packages/django/template/response.py" in render
106. self.content = self.rendered_content

File "/usr/local/lib/python3.6/dist-packages/django/template/response.py" in rendered_content
83. content = template.render(context, self._request)

File "/usr/local/lib/python3.6/dist-packages/django/template/backends/django.py" in render
61. return self.template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
171. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
62. result = block.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
188. return template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
173. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
150. return compiled_parent._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
309. return nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
309. return nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
993. return render_value_in_context(output, context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_value_in_context
972. value = str(value)

File "/usr/local/lib/python3.6/dist-packages/django/utils/html.py" in <lambda>
397. klass.__str__ = lambda self: mark_safe(klass_str(self))

File "/usr/local/lib/python3.6/dist-packages/django/forms/boundfield.py" in __str__
33. return self.as_widget()

File "/usr/local/lib/python3.6/dist-packages/django/forms/boundfield.py" in as_widget
93. renderer=self.form.renderer,

File "/usr/local/lib/python3.6/dist-packages/django/forms/widgets.py" in render
230. return self._render(self.template_name, context, renderer)

File "/usr/local/lib/python3.6/dist-packages/django/forms/widgets.py" in _render
235. return mark_safe(renderer.render(template_name, context))

File "/usr/local/lib/python3.6/dist-packages/django/forms/renderers.py" in render
31. return template.render(context, request=request).strip()

File "/usr/local/lib/python3.6/dist-packages/django/template/backends/django.py" in render
61. return self.template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
171. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py" in render
209. nodelist.append(node.render_annotated(context))

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/loader_tags.py" in render
188. return template.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
173. return self._render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in _render
163. return self.nodelist.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
937. bit = node.render_annotated(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_annotated
904. return self.render(context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render
993. return render_value_in_context(output, context)

File "/usr/local/lib/python3.6/dist-packages/django/template/base.py" in render_value_in_context
972. value = str(value)

Exception Type: TypeError at /admin/cms/page/5/advanced-settings/
Exception Value: __str__ returned non-string (type __proxy__)


The problem seems to be a value = str(value) not returning a string, although value is said to be 'Inherit the template of the nearest ancestor'. I'm not sure what's happening here.



Apparently it returns a __proxy__ type, which according to other questions is a type used for translation. What can I do to fix this? I need access to the settings of my page to change the html template it uses.







django-cms






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 28 at 22:40









markwalker_

5,2006 gold badges41 silver badges78 bronze badges




5,2006 gold badges41 silver badges78 bronze badges










asked Mar 26 at 0:33









9fish9fish

162 bronze badges




162 bronze badges












  • What version of CMS and what plugins do you have in the page?

    – markwalker_
    Mar 28 at 22:49

















  • What version of CMS and what plugins do you have in the page?

    – markwalker_
    Mar 28 at 22:49
















What version of CMS and what plugins do you have in the page?

– markwalker_
Mar 28 at 22:49





What version of CMS and what plugins do you have in the page?

– markwalker_
Mar 28 at 22:49












1 Answer
1






active

oldest

votes


















0














I had the same problem-- setting I18N=True in my settings.py did the trick.



If that doesn't work, try pip installing django-parler and see if it helps.






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348268%2fdjango-cms-error-when-displaying-advanced-settings-for-page%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I had the same problem-- setting I18N=True in my settings.py did the trick.



    If that doesn't work, try pip installing django-parler and see if it helps.






    share|improve this answer



























      0














      I had the same problem-- setting I18N=True in my settings.py did the trick.



      If that doesn't work, try pip installing django-parler and see if it helps.






      share|improve this answer

























        0












        0








        0







        I had the same problem-- setting I18N=True in my settings.py did the trick.



        If that doesn't work, try pip installing django-parler and see if it helps.






        share|improve this answer













        I had the same problem-- setting I18N=True in my settings.py did the trick.



        If that doesn't work, try pip installing django-parler and see if it helps.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 28 at 14:08









        user1701415user1701415

        184 bronze badges




        184 bronze badges


















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55348268%2fdjango-cms-error-when-displaying-advanced-settings-for-page%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현