mirror of
				https://github.com/django/django.git
				synced 2025-11-04 05:35:37 +00:00 
			
		
		
		
	Fixed #16552: Noted that contrib.sessions is a requirement for the admin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		
							parent
							
								
									94524fbfef
								
							
						
					
					
						commit
						7b92ae310d
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
					@ -19,10 +19,11 @@ There are seven steps in activating the Django admin site:
 | 
				
			||||||
    1. Add ``'django.contrib.admin'`` to your :setting:`INSTALLED_APPS`
 | 
					    1. Add ``'django.contrib.admin'`` to your :setting:`INSTALLED_APPS`
 | 
				
			||||||
       setting.
 | 
					       setting.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    2. Admin has three dependencies - :mod:`django.contrib.auth`,
 | 
					    2. The admin has four dependencies - :mod:`django.contrib.auth`,
 | 
				
			||||||
       :mod:`django.contrib.contenttypes` and :mod:`django.contrib.messages`.
 | 
					       :mod:`django.contrib.contenttypes`,
 | 
				
			||||||
       If these applications are not in your :setting:`INSTALLED_APPS` list,
 | 
					       :mod:`django.contrib.messages` and
 | 
				
			||||||
       add them.
 | 
					       :mod:`django.contrib.sessions`.  If these applications are not
 | 
				
			||||||
 | 
					       in your :setting:`INSTALLED_APPS` list, add them.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    3. Add ``django.contrib.messages.context_processors.messages`` to
 | 
					    3. Add ``django.contrib.messages.context_processors.messages`` to
 | 
				
			||||||
       :setting:`TEMPLATE_CONTEXT_PROCESSORS` and
 | 
					       :setting:`TEMPLATE_CONTEXT_PROCESSORS` and
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue