mirror of
				https://github.com/django/django.git
				synced 2025-11-03 21:25:09 +00:00 
			
		
		
		
	Fixed #24985 -- Added note about possible invalid feed content
Thanks Michael Wood for the report and Tim Graham for the review.
This commit is contained in:
		
							parent
							
								
									4a66564888
								
							
						
					
					
						commit
						1c90a3dcca
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -919,7 +919,10 @@ They share this interface:
 | 
			
		|||
    ``self.feed`` for use with `custom feed generators`_.
 | 
			
		||||
 | 
			
		||||
    All parameters should be Unicode objects, except ``categories``, which
 | 
			
		||||
    should be a sequence of Unicode objects.
 | 
			
		||||
    should be a sequence of Unicode objects. Beware that some control characters
 | 
			
		||||
    are `not allowed <http://www.w3.org/International/questions/qa-controls>`_
 | 
			
		||||
    in XML documents. If your content has some of them, you might encounter a
 | 
			
		||||
    :exc:`ValueError` when producing the feed.
 | 
			
		||||
 | 
			
		||||
:meth:`.SyndicationFeed.add_item`
 | 
			
		||||
    Add an item to the feed with the given parameters.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue