mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Change BasicModel.verbose_name
Isn't it nicer to test for a text which is different from what the previous broken behavior was? Now we can really tell it works!
This commit is contained in:
		
							parent
							
								
									e2d3aa65d7
								
							
						
					
					
						commit
						e2a5ec0350
					
				| 
						 | 
				
			
			@ -34,7 +34,7 @@ class Anchor(RESTFrameworkModel):
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
class BasicModel(RESTFrameworkModel):
 | 
			
		||||
    text = models.CharField(max_length=100, verbose_name=_("Text"), help_text=_("Text description."))
 | 
			
		||||
    text = models.CharField(max_length=100, verbose_name=_("Text comes here"), help_text=_("Text description."))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class SlugBasedModel(RESTFrameworkModel):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user