Skip to content

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

@OmeletPanM33

Description

@OmeletPanM33

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions