Alex Gaynor 
								
							 
						 
						
							
							
							
							
								
							
							
								5bc0ec4ec4 
								
							 
						 
						
							
							
								
								Removed all usages of deprecated TestCase methods (self.fail*).  This removed most of the Warnings emitted (with -Wall) during the test suite.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@14803  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2010-12-04 07:28:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Russell Keith-Magee 
								
							 
						 
						
							
							
							
							
								
							
							
								121d2e3678 
								
							 
						 
						
							
							
								
								Fixed   #12991  -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2010-10-11 12:55:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jacob Kaplan-Moss 
								
							 
						 
						
							
							
							
							
								
							
							
								c40f715257 
								
							 
						 
						
							
							
								
								Fixed   #10687 : fixed request parsing when upload_handlers is empty. Thanks, Armin Ronacher.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@10723  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2009-05-08 17:22:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Karen Tracey 
								
							 
						 
						
							
							
							
							
								
							
							
								d0c897d660 
								
							 
						 
						
							
							
								
								Made a set of small test changes to avoid leaving temp files hanging around after running the test suite. First, fixed a couple of places where temp dirs were (or could be) created without later being deleted. Second, added a missing close() before unlink() since Windows raises an error on an attempt to remove an open file.  Finally, in the file_uploads tests, avoided opening-by-name temporary files that we already have a descriptor for.  Doing additional opens seems to run afoul of the Windows issue with deleting open files, so it generally works better to just seek back to 0 instead of calling open multiple times.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@10406  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2009-04-05 20:59:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Karen Tracey 
								
							 
						 
						
							
							
							
							
								
							
							
								668bc4f7be 
								
							 
						 
						
							
							
								
								Fixed   #10254 : Changed the regex in get_valid_filename to allow unicode alphanumerics (thanks gulliver).  Also updated the file_uploads test for this case to check the name after saving the uploaded file. As it was the test ensured that files with unicode characters in their names could be uploaded, but it wasn't actually ensuring that the unicode characters were preserved through save.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@10388  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2009-04-04 17:34:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Karen Tracey 
								
							 
						 
						
							
							
							
							
								
							
							
								344f16e220 
								
							 
						 
						
							
							
								
								Fixed   #8138  -- Changed django.test.TestCase to rollback tests (when the database supports it) instead of flushing and reloading the database.   This can substantially reduce the time it takes to run large test suites.  
							
							... 
							
							
							
							This change may be slightly backwards incompatible, if existing tests need to test transactional behavior, or if they rely on invalid assumptions or a specific test case ordering.  For the first case, django.test.TransactionTestCase should be used.  TransactionTestCase is also a quick fix to get around test case errors revealed by the new rollback approach, but a better long-term fix is to correct the test case.  See the testing doc for full details.
Many thanks to:
* Marc Remolt for the initial proposal and implementation.
* Luke Plant for initial testing and improving the implementation.
* Ramiro Morales for feedback and help with tracking down a mysterious PostgreSQL issue.
* Eric Holscher for feedback regarding the effect of the change on the Ellington testsuite.
* Russell Keith-Magee for guidance and feedback from beginning to end.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9756  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2009-01-16 02:30:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jacob Kaplan-Moss 
								
							 
						 
						
							
							
							
							
								
							
							
								15644cb255 
								
							 
						 
						
							
							
								
								Fixed   #8622 : accessing POST after a POST handling exception no longer throws the server into an infinite loop. Thanks to vung for tracking this one down and fixing it.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@8748  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2008-08-30 19:56:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jacob Kaplan-Moss 
								
							 
						 
						
							
							
							
							
								
							
							
								7899568e01 
								
							 
						 
						
							
							
								
								File storage refactoring, adding far more flexibility to Django's file handling. The new files.txt document has details of the new features.  
							
							... 
							
							
							
							This is a backwards-incompatible change; consult BackwardsIncompatibleChanges for details.
Fixes  #3567 , #3621 , #4345 , #5361 , #5655 , #7415 .
Many thanks to Marty Alchin who did the vast majority of this work.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8244  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2008-08-08 20:59:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gary Wilson Jr 
								
							 
						 
						
							
							
							
							
								
							
							
								c85c8f8891 
								
							 
						 
						
							
							
								
								Fixed   #7919  -- md5 and sha modules are deprecated since Python 2.5, use hashlib module when available.  Patch from Karen Tracey.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@8193  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2008-08-02 05:56:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Malcolm Tredinnick 
								
							 
						 
						
							
							
							
							
								
							
							
								103d484807 
								
							 
						 
						
							
							
								
								Fixed   #7658  -- Added some Windows-specific tempfile handling. The standard  
							
							... 
							
							
							
							stuff doesn't work with the way Django's file uploading code wants to operate.
Patch from Mike Axiak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8096  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2008-07-26 22:48:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Russell Keith-Magee 
								
							 
						 
						
							
							
							
							
								
							
							
								d911a64ce8 
								
							 
						 
						
							
							
								
								Fixed   #6450  -- Improved the checking of errors when creating the directories for saved files. Thanks to henry@precheur.org for the report and patch, and vung for the excellent test case.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@8007  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2008-07-20 12:44:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jacob Kaplan-Moss 
								
							 
						 
						
							
							
							
							
								
							
							
								8e852a92ec 
								
							 
						 
						
							
							
								
								Fixed   #7613 : fixed file_upload tests when LANG=C. Thanks, eddymul.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@7904  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2008-07-12 20:43:03 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jacob Kaplan-Moss 
								
							 
						 
						
							
							
							
							
								
							
							
								9dabd1f8ff 
								
							 
						 
						
							
							
								
								Fixed   #7651 : uploading multiple files with the same name now work. Also, in order to test the problem the test client now handles uploading multiple files at once. Patch from Mike Axiak.  
							
							... 
							
							
							
							git-svn-id: http://code.djangoproject.com/svn/django/trunk@7858  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2008-07-07 22:06:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jacob Kaplan-Moss 
								
							 
						 
						
							
							
							
							
								
							
							
								d725cc9734 
								
							 
						 
						
							
							
								
								Fixed   #2070 : refactored Django's file upload capabilities.  
							
							... 
							
							
							
							A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/  upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues.
This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814  bcc190cf-cafb-0310-a4f2-bffc1f526a37 
							
						 
						
							2008-07-01 15:10:51 +00:00