mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	Fixes an import statement in chapter 5 of the tutorial. (#6267)
This commit is contained in:
		
							parent
							
								
									40da2a21ef
								
							
						
					
					
						commit
						d59a130168
					
				| 
						 | 
					@ -106,7 +106,7 @@ If we're going to have a hyperlinked API, we need to make sure we name our URL p
 | 
				
			||||||
 | 
					
 | 
				
			||||||
After adding all those names into our URLconf, our final `snippets/urls.py` file should look like this:
 | 
					After adding all those names into our URLconf, our final `snippets/urls.py` file should look like this:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    from django.conf.urls import url, include
 | 
					    from django.urls import path
 | 
				
			||||||
    from rest_framework.urlpatterns import format_suffix_patterns
 | 
					    from rest_framework.urlpatterns import format_suffix_patterns
 | 
				
			||||||
    from snippets import views
 | 
					    from snippets import views
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user