mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	* url() is deprecated in Django 3.1 * update given feedbacks on url() is deprecated in Django 3.1 * Fix test_urlpatterns.py to continue testing mixed re_path() and path() * Fix one missed reference Co-authored-by: sanjusci <sanju.sci9@gmail.com>
		
			
				
	
	
		
			9 lines
		
	
	
		
			199 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			199 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from django.urls import include, path
 | 
						|
 | 
						|
from .views import MockView
 | 
						|
 | 
						|
urlpatterns = [
 | 
						|
    path('', MockView.as_view()),
 | 
						|
    path('auth/', include('rest_framework.urls', namespace='rest_framework')),
 | 
						|
]
 |