mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			431 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			431 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from django.conf.urls.defaults import patterns, url
 | 
						|
from permissionsexample.views import PermissionsExampleView, ThrottlingExampleView, LoggedInExampleView
 | 
						|
 | 
						|
urlpatterns = patterns('',
 | 
						|
    url(r'^$', PermissionsExampleView.as_view(), name='permissions-example'),
 | 
						|
    url(r'^throttling$', ThrottlingExampleView.as_view(), name='throttled-resource'),
 | 
						|
    url(r'^loggedin$', LoggedInExampleView.as_view(), name='loggedin-resource'),
 | 
						|
)
 |