diff options
Diffstat (limited to 'tests/model_forms')
| -rw-r--r-- | tests/model_forms/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_forms/models.py b/tests/model_forms/models.py index 0de67eb1f9..1b64477a20 100644 --- a/tests/model_forms/models.py +++ b/tests/model_forms/models.py @@ -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: |
