mirror of
				https://github.com/django/django.git
				synced 2025-11-04 05:35:37 +00:00 
			
		
		
		
	Removed DateTimeAwareJSONEncoder alias.
This commit is contained in:
		
							parent
							
								
									1357e5796c
								
							
						
					
					
						commit
						1d1e246db6
					
				
					 2 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -119,6 +119,3 @@ class DjangoJSONEncoder(json.JSONEncoder):
 | 
				
			||||||
            return six.text_type(o)
 | 
					            return six.text_type(o)
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            return super(DjangoJSONEncoder, self).default(o)
 | 
					            return super(DjangoJSONEncoder, self).default(o)
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Older, deprecated class name (for backwards compatibility purposes).
 | 
					 | 
				
			||||||
DateTimeAwareJSONEncoder = DjangoJSONEncoder
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -413,6 +413,10 @@ Miscellaneous
 | 
				
			||||||
* The :djadmin:`makemessages` command now requires configured settings, like
 | 
					* The :djadmin:`makemessages` command now requires configured settings, like
 | 
				
			||||||
  most other commands.
 | 
					  most other commands.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* The undocumented ``DateTimeAwareJSONEncoder`` alias for
 | 
				
			||||||
 | 
					  :class:`~django.core.serializers.json.DjangoJSONEncoder` (renamed in Django
 | 
				
			||||||
 | 
					  1.0) is removed.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. _deprecated-features-1.11:
 | 
					.. _deprecated-features-1.11:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Features deprecated in 1.11
 | 
					Features deprecated in 1.11
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue