mirror of
				https://github.com/django/django.git
				synced 2025-11-04 13:39:16 +00:00 
			
		
		
		
	Fixed Sphinx error in tutorial 1.
This commit is contained in:
		
							parent
							
								
									6c6c67f5a6
								
							
						
					
					
						commit
						bc46f67fa8
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -598,8 +598,7 @@ for your own sanity when dealing with the interactive prompt, but also because
 | 
				
			||||||
objects' representations are used throughout Django's automatically-generated
 | 
					objects' representations are used throughout Django's automatically-generated
 | 
				
			||||||
admin.
 | 
					admin.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.. admonition:: :meth:`~django.db.models.Model.__unicode__` or
 | 
					.. admonition:: `__unicode__` or `__str__`?
 | 
				
			||||||
                :meth:`~django.db.models.Model.__str__`?
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    On Python 3, things are simpler, just use
 | 
					    On Python 3, things are simpler, just use
 | 
				
			||||||
    :meth:`~django.db.models.Model.__str__` and forget about
 | 
					    :meth:`~django.db.models.Model.__str__` and forget about
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue