question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'BlogConfigWithAppDataForm' object has no attribute 'label_suffix'

See original GitHub issue

I performed a clean installation of django-cms (latest-3.7.2) and later djangocms-blog (1.10). It is weird that the AutoSetup does not perform, so I run it manually.

When I try to add BlogConfig, here is the error I found while rendering template. Tried to check where is BlogConfigWithAppDataForm. It is no where, unfortunately.

Request Method GET
Request URL http://localhost:8000/en/admin/djangocms_blog/blogconfig/add/
Django Version 3.0.6
Exception Type AttributeError
Exception Value ‘BlogConfigWithAppDataForm’ object has no attribute ‘label_suffix’
Exception Location /Users/atlonxp/anaconda3/envs/iba-website/lib/python3.7/site-packages/django/contrib/admin/helpers.py in label_tag, line 190

**Error during template rendering** In template /Users/atlonxp/anaconda3/envs/iba-website/lib/python3.7/site-packages/django/contrib/admin/templates/admin/includes/fieldset.html, error at line 15

At line 15, the statement is {{ field.label_tag }} but error said 'BlogConfigWithAppDataForm' object has no attribute 'label_suffix'

so weird!.

Screen Shot 2020-05-07 at 11 20 10 PM Does anyone has this problem before?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
atlonxpcommented, May 8, 2020

@yakky migrate to Django 2.2.12, it works smoothly BlogConfig can be done manually.

1reaction
yakkycommented, May 8, 2020

@atlonxp I traced the AttributeError down to this PR https://github.com/ella/django-appdata/pull/23 (which I opened myself 😄 ) which is awaiting review I will add a note on the readme regarding django 3 support, for now

Read more comments on GitHub >

github_iconTop Results From Across the Web

AttributeError: 'NERModel' object has no attribute 'labels' #674
Calling model.labels does produce the mentioned error: AttributeError: 'NERModel' object has no attribute 'labels' I am using the current ...
Read more >
python - Error in view - 'float' object has no attribute 'label'
I am getting error in my view during template rendering. 'float' object has no attribute 'label'. It has to do with this line...
Read more >
AttributeError: 'module' object has no attribute 'get_suffixes'
I am getting this error consistently when I run my module on GAE. The error is thrown by a core python module (imp)....
Read more >
"str" object has no attribute "pk" error when if form.is_valid() is ...
I have a "str" object has no attribute "pk" error where I thought would never be triggered when running form.is_valid() .
Read more >
Learn.get_preds() error for multi label: 'MultiCategoryList ...
Hi, I am trying to practice multi label classification. for that i ... for multi label: 'MultiCategoryList' object has no attribute 'dl'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found