mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-31 16:07:38 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			321 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			321 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.conf.urls.defaults import patterns, url
 | |
| from objectstore.views import ObjectStoreRoot, StoredObject
 | |
|  
 | |
| urlpatterns = patterns('objectstore.views',
 | |
|     url(r'^$', ObjectStoreRoot.as_view(), name='object-store-root'), 
 | |
|     url(r'^(?P<key>[A-Za-z0-9_-]{1,64})/$', StoredObject.as_view(), name='stored-object'),
 | |
| )
 |