mirror of
				https://github.com/django/django.git
				synced 2025-10-28 08:06:09 +00:00 
			
		
		
		
	Fixed #18527 -- Removed superfluous backslash in CBV docs
Thanks ramilzay at gmail.com for the report.
This commit is contained in:
		| @@ -397,7 +397,7 @@ custom view:: | ||||
|  | ||||
|     urlpatterns = patterns('', | ||||
|         #... | ||||
|         url(r'^authors/(?P<pk>\\d+)/$', AuthorDetailView.as_view(), name='author-detail'), | ||||
|         url(r'^authors/(?P<pk>\d+)/$', AuthorDetailView.as_view(), name='author-detail'), | ||||
|     ) | ||||
|  | ||||
| Then we'd write our new view -- ``get_object`` is the method that retrieves the | ||||
|   | ||||
		Reference in New Issue
	
	Block a user