Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble running "python manage.py collectstatic" in Python 3.7.5 Django app #93

Open
paul-s-johnson opened this issue Aug 11, 2022 · 0 comments

Comments

@paul-s-johnson
Copy link

After successfully installing django-simple-bulma via pip I run collectstatic per instructions and get the following error:

python manage.py collectstatic
...
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/mruser/.pyenv/versions/scorekeeper/lib/python3.7/site-packages/django_simple_bulma/finders.py", line 166
    if absolute_path := finder.find(relative_path):
                      ^
SyntaxError: invalid syntax

I believe Python 3.7.5 does not like the := operator (apparently added in 3.8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant