mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Merge pull request #843 from linovia/master
Small typo in the ViewSet example.
This commit is contained in:
		
						commit
						1a4e99e892
					
				| 
						 | 
				
			
			@ -113,8 +113,8 @@ Here's our project's root `urls.py` module:
 | 
			
		|||
    
 | 
			
		||||
    # Routers provide an easy way of automatically determining the URL conf
 | 
			
		||||
    router = routers.DefaultRouter()
 | 
			
		||||
    router.register(r'users', views.UserViewSet)
 | 
			
		||||
    router.register(r'groups', views.GroupViewSet)
 | 
			
		||||
    router.register(r'users', UserViewSet)
 | 
			
		||||
    router.register(r'groups', GroupViewSet)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    # Wire up our API using automatic URL routing.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user