django-fontawesome-5 icon indicating copy to clipboard operation
django-fontawesome-5 copied to clipboard

invalid escape sequences in models.py

Open d9pouces opened this issue 4 years ago • 0 comments

There are invalid escape sequences in fontawesome_5/models.py:5: DeprecationWarning: invalid escape sequence . "^fontawesome_5.fields.IconField" # pylint: disable=anomalous-backslash-in-string

Adding a "r" prefix should fix the problem

r"^fontawesome_5\.fields\.IconField"

d9pouces avatar Jan 23 '21 10:01 d9pouces