timonweb / django-tailwind

Django + Tailwind CSS = 💚
https://django-tailwind.readthedocs.io
MIT License
1.45k stars 89 forks source link

Not working on Django version 3.0.8 - Update Documentation #113

Closed victormachadogp closed 2 years ago

victormachadogp commented 2 years ago

Did not work on my Django version 3.0.8 project, actually whenever I run the command python -m pip install django-tailwind it works, but in the process it would uninstall my version of Django and install Django 4.0.

And as the project has been around for a while, this version of Django unfortunately doesn't work.

I looked in the documentation for any hints about this process but I couldn't find it. I think it would be interesting to have a description or a warning about this process of uninstalling and installing a newer version of Django in the documentation.

image

Anyway, I tested it on a newer Django project and it worked fine, great package!!

timonweb commented 2 years ago

Shoot, I bumped minimal Django version by mistake. Fixing soon, thanks for reporting!

justinmayer commented 2 years ago

@timonweb: Glad to hear it. It seems that as of https://github.com/timonweb/django-tailwind/commit/7893ecd824419dbded3126552e4c5428196ccba0 Django 4.0+ is now required. Would be great to loosen that!

timonweb commented 2 years ago

Pushed the 3.0.1 version, it loosens requirements back to the 2.2.