mrf345 / django_gtts

Django app extension to add gTTS google text-to-speech
MIT License
7 stars 8 forks source link

Correct templatetag import for Django3.0 #5

Closed brodriguez8774 closed 4 years ago

brodriguez8774 commented 4 years ago

As per https://stackoverflow.com/questions/59261254/no-module-named-django-contrib-staticfiles-templatetags

brodriguez8774 commented 4 years ago

I don't know if anything else breaks with Django3.0, as I've only just started trying to use this library. But without this fix, projects can't even run when this library is included.

mrf345 commented 4 years ago

I've never used this package with anything newer than Django 2, so thanks for the fix!

You could've updated the Django version in requirements.txt to 3 and checked out the CI logs for any failing tests, to confirm if there're any other breaking changes that need to be fixed.

I just did that, and all the tests are passing locally:

image

mrf345 commented 4 years ago

Should be fixed in the new release pip install Django-Gtts==0.4