mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Add trailing slash to auth url. Refs: #248
This commit is contained in:
		
							parent
							
								
									51f4317058
								
							
						
					
					
						commit
						0fc5a49a11
					
				| 
						 | 
				
			
			@ -68,7 +68,7 @@ To add Django REST framework to a Django project:
 | 
			
		|||
 | 
			
		||||
    urlpatterns = patterns('',
 | 
			
		||||
        ...
 | 
			
		||||
        url(r'^restframework', include('djangorestframework.urls', namespace='djangorestframework'))
 | 
			
		||||
        url(r'^api-auth/', include('djangorestframework.urls', namespace='djangorestframework'))
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
For more information on settings take a look at the :ref:`setup` section.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user