Closed OndraRehounek closed 6 years ago
Please try out the pass-verbose-name-through
branch for me and tell me if this is fixed. Thanks!
Works perfectly, thank you for such a fast fix!
Merged into master
will push out a release to PyPI soon.
I cut a release to PyPI and GitHub as version 1.5.4
. Thanks!
Sorry, was on a plane with spotty internet when I wrote that. The upload to PyPI didn't work then. I have just now successfully uploaded version 1.5.4 to PyPI:
You MUST use this template when reporting issues. Please make sure you follow the checklist and fill in all of the information sections below.
All versions of django-smart-selects prior to version 1.2.8 are vulnerable to an XSS attack as detailed in issue 171. As a result, all previous versions have been removed from PyPI to prevent users from installing insecure versions. All users are urged to upgrade as soon as possible.
Checklist
Put an
x
in the bracket when you have completed each task, like this:[x]
master
branch of django-smart-selects.smart_selects
app.models.py
,forms.py
, andviews.py
with problems.Steps to reproduce
Actual behavior
The verbose name is not used for form laberl, it shows database name of the field instead. It does work correctly for ChainedForeignKey fields. It worked with older versions (1.2.9) but after we upgraded to 1.5.3, we are experiencing quite many difficulties. It is wrong already in the init() of the form.
Expected behavior
The field label is set according to given verbose name.