viewflow / django-material

Material Design for Django
http://viewflow.io/
BSD 3-Clause "New" or "Revised" License
2.48k stars 425 forks source link

Syntax Error: Unexpected Token < #95

Closed davidthewatson closed 8 years ago

davidthewatson commented 8 years ago

I'm seeing this problem with material admin. I first observed this running on gunicorn in a staging environment, but after further investigation, I was able to duplicate it locally in debug mode:

screen shot 2016-02-24 at 2 16 09 pm

I'm running python 3.5.1, Django 1.9.2, on Mac OS X 10.11, and django-material==0.6.0. My code is a verbatim copy of the material admin install instructions. When running gunicorn, the page renders without CSS. The debug webserver seems to find the CSS fine.

kmmbvnr commented 8 years ago

Yep, thanks! I need to exclude script jsi18n from login page.

To temporary solve the issue with font-awesome you can include material.frontend in the INSTALLED_APPS or override admin/includes/material_css.html template