mirror of
				https://github.com/django/django.git
				synced 2025-10-30 17:16:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			246 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			246 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from django.conf.urls import patterns, url
 | |
| from django.views.generic.edit import UpdateView
 | |
| 
 | |
| from .views import ArticleFormView
 | |
| 
 | |
| 
 | |
| urlpatterns = patterns('',
 | |
|     url(r'^model_form/(?P<pk>\d+)/$', ArticleFormView.as_view(), name="article_form"),
 | |
| )
 |