I'm having issues when it comes to using some attributes with Django and TailwindCSS. Let's take this table for example:
Report title Company Brand (if any) Go to report {% for report in reports %} {{ report.title }} {{ report.company }} {% if report.brand %} {{ report.brand }} {% else %} - {% endif %} Access {% endfor %} Gives the following:

But when I try to change the bg-color from:
To:
The new color won't load. It gives:

I don't understand why I'm getting nothing. In my configuration, following tasks are running:
- The server is running with python manage.py runserver
- TailwindCSS is running with python manage.py tailwind start
- Livereload is running with python manage.py livereload
I also clear my cache with CMD+Shift+R.
I'm also having troubles with some margins and paddings that won't apply. I even bought the plugin Devtools for TailwindCSS. When I edit an attribute with Chrome inspector and this plugin, it's working. But when it's in my code, the new color won't load. Has this ever happened to you?
Update: Here is the complete code:
{% extends 'base.html' %} {% block content %} {% if nb_reports == 0 %} > No reports Get started by creating a new report.
New report {% else %} Create report
Find all your created reports below.
Report title Company Brand (if any) Go to report {% for report in reports %} {{ report.title }} {{ report.company }} {% if report.brand %} {{ report.brand }} {% else %} - {% endif %} Access {% endfor %} {% endif %} {% endblock %}
Источник: https://stackoverflow.com/questions/728 ... attributes
Мобильная версия