BenjjinF / django-fontawesome-5

A utility for using icons in models, forms, and templates.
BSD 2-Clause "Simplified" License
21 stars 18 forks source link

invalid escape sequences in models.py #22

Open d9pouces opened 3 years ago

d9pouces commented 3 years ago

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"