Changeset 9226 for django/trunk/tests/modeltests/model_forms/models.py
- Timestamp:
- 10/10/08 17:13:16 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/tests/modeltests/model_forms/models.py
r8854 r9226 20 20 from django.utils.itercompat import sorted 21 21 22 temp_storage = FileSystemStorage(tempfile.gettempdir()) 22 temp_storage_dir = tempfile.mkdtemp() 23 temp_storage = FileSystemStorage(temp_storage_dir) 23 24 24 25 ARTICLE_STATUS = ( … … 1252 1253 >>> core.parent 1253 1254 <Inventory: Pear> 1255 1256 # Clean up 1257 >>> import shutil 1258 >>> shutil.rmtree(temp_storage_dir) 1254 1259 """}
