mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
This commit is contained in:
@@ -169,7 +169,7 @@ class CustomFF(models.Model):
|
||||
|
||||
|
||||
class FilePathModel(models.Model):
|
||||
path = models.FilePathField(path=os.path.dirname(upath(__file__)), match=".*\.py$", blank=True)
|
||||
path = models.FilePathField(path=os.path.dirname(upath(__file__)), match=r".*\.py$", blank=True)
|
||||
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user