Closed nameisnot closed 5 years ago
Addendum: Using:
Python 3.6 Django 2.0.6 smart-selects 1.5.4
Problem solved (on Admin). What I did:
Ran python3 manage.py collectstatic (from projects folder)
Upgraded js-unlinting-fixes by running pip3 install --upgrade git+https://github.com/digi604/django-smart-selects.git@js-unlinting-fixes.
Note: I had missed the Step 1 first so even after installing the fix, the results was the same (no secondary key value)
PS. I have used USE_DJANGO_JQUERY = True in settings .py file.
Must say lots of fine minds at this site. Thankful to everyone for putting their thoughts which makes this a really great melting pot of ideas. The only need is to put everything at one place (after of course, resolution of an issue happens).
Closing the issue.
Thank you for the solution!! I really would have never managed to do it on my own. Just a question to try to understand the solution: why "python manage.py collectstatic" solves everything?
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
Expected behavior