mirror of
				https://github.com/django/django.git
				synced 2025-10-26 23:26:08 +00:00 
			
		
		
		
	Fixed some typos in the code (fixed #10586). Added more tests. Made the tests compatible with Python 2.3. Improved the documentation by putting the good news and common use-case right up front. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
		
			
				
	
	
		
			11 lines
		
	
	
		
			286 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			286 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.conf.urls.defaults import *
 | |
| import views
 | |
| 
 | |
| urlpatterns = patterns('',
 | |
|     ('^$', views.index),
 | |
|     ('^last_modified/$', views.last_modified_view1),
 | |
|     ('^last_modified2/$', views.last_modified_view2),
 | |
|     ('^etag/$', views.etag_view1),
 | |
|     ('^etag2/$', views.etag_view2),
 | |
| )
 |