mirror of
				https://github.com/django/django.git
				synced 2025-10-26 07:06:08 +00:00 
			
		
		
		
	Fixed #21562 -- Warned against using the same app name as a django contrib app.
Thanks yourcelf for the report.
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							38662d11c4
						
					
				
				
					commit
					317fd13c7a
				
			| @@ -128,6 +128,13 @@ this. For a small app like polls, this process isn't too difficult. | |||||||
|        This helps others looking for Django apps identify your app as Django |        This helps others looking for Django apps identify your app as Django | ||||||
|        specific. |        specific. | ||||||
|  |  | ||||||
|  |        The application names (that is, the final dotted part of the | ||||||
|  |        path to the module containing ``models.py``) defined in | ||||||
|  |        :setting:`INSTALLED_APPS` *must* be unique. Avoid using the | ||||||
|  |        same name as any of the Django :doc:`contrib packages | ||||||
|  |        </ref/contrib/index>`, for example ``auth``, ``admin`` or | ||||||
|  |        ``messages``. | ||||||
|  |  | ||||||
| 2. Move the ``polls`` directory into the ``django-polls`` directory. | 2. Move the ``polls`` directory into the ``django-polls`` directory. | ||||||
|  |  | ||||||
| 3. Create a file ``django-polls/README.rst`` with the following contents: | 3. Create a file ``django-polls/README.rst`` with the following contents: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user