mirror of https://github.com/django/django.git
Removed unused path variable in model_fields tests.
This commit is contained in:
parent
903ac2f364
commit
4488a25cc9
|
@ -1,5 +1,4 @@
|
||||||
import json
|
import json
|
||||||
import os
|
|
||||||
import tempfile
|
import tempfile
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
@ -265,7 +264,6 @@ if Image:
|
||||||
# Set up a temp directory for file storage.
|
# Set up a temp directory for file storage.
|
||||||
temp_storage_dir = tempfile.mkdtemp()
|
temp_storage_dir = tempfile.mkdtemp()
|
||||||
temp_storage = FileSystemStorage(temp_storage_dir)
|
temp_storage = FileSystemStorage(temp_storage_dir)
|
||||||
temp_upload_to_dir = os.path.join(temp_storage.location, "tests")
|
|
||||||
|
|
||||||
class Person(models.Model):
|
class Person(models.Model):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue