lemonsaurus / django-simple-bulma

Django application to add the Bulma CSS framework and its extensions
MIT License
136 stars 16 forks source link

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

Open paul-s-johnson opened 2 years ago

paul-s-johnson commented 2 years ago

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).