mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Eliminated the need to modify a model forms test when new test files are added.
This commit is contained in:
@@ -151,7 +151,7 @@ class CustomFF(models.Model):
|
||||
|
||||
|
||||
class FilePathModel(models.Model):
|
||||
path = models.FilePathField(path=os.path.dirname(__file__), match=r".*\.py$", blank=True)
|
||||
path = models.FilePathField(path=os.path.dirname(__file__), match='models.py', blank=True)
|
||||
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user