mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Merge pull request #454 from oaubert/patch-1
Tutorial: fix module name in section 2
This commit is contained in:
		
						commit
						454929ee55
					
				| 
						 | 
				
			
			@ -113,7 +113,7 @@ Now update the `urls.py` file slightly, to append a set of `format_suffix_patter
 | 
			
		|||
    from django.conf.urls import patterns, url
 | 
			
		||||
    from rest_framework.urlpatterns import format_suffix_patterns
 | 
			
		||||
 | 
			
		||||
    urlpatterns = patterns('snippet.views',
 | 
			
		||||
    urlpatterns = patterns('snippets.views',
 | 
			
		||||
        url(r'^snippets/$', 'snippet_list'),
 | 
			
		||||
        url(r'^snippets/(?P<pk>[0-9]+)$', 'snippet_detail')
 | 
			
		||||
    )
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user