roverdotcom/django-inlinecss

Got error unknown url type: '/static/ProjectName/style.css'

Opened this issue · 0 comments

1{% load static %}
2{% load inlinecss %}
3{% inlinecss 'ProjectName/style.css' %}
4<html lang="en">
5<head>
6
7</head>
8<body>
...
9</body>
...
10<link rel="stylesheet" href="{% static 'ProjectName/style.css' %}">
11{% endinlinecss %}

so I have a html basically looks like this, while the 10th can load the css normally, but I got a ValueError exception with the value
unknown url type: '/static/ProjectName/style.css' and the exception occur on location: C:\mypathname\Python39\lib\urllib\request.py

anyone can help?