mirror of
				https://github.com/django/django.git
				synced 2025-11-04 05:35:37 +00:00 
			
		
		
		
	Fixed #19506 - Remove 'mysite' prefix in model example.
Thanks Mike O'Connor for the report.
This commit is contained in:
		
							parent
							
								
									e277301c2c
								
							
						
					
					
						commit
						52a2588df6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -66,13 +66,13 @@ those models. Do this by editing your settings file and changing the
 | 
				
			||||||
your ``models.py``.
 | 
					your ``models.py``.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For example, if the models for your application live in the module
 | 
					For example, if the models for your application live in the module
 | 
				
			||||||
``mysite.myapp.models`` (the package structure that is created for an
 | 
					``myapp.models`` (the package structure that is created for an
 | 
				
			||||||
application by the :djadmin:`manage.py startapp <startapp>` script),
 | 
					application by the :djadmin:`manage.py startapp <startapp>` script),
 | 
				
			||||||
:setting:`INSTALLED_APPS` should read, in part::
 | 
					:setting:`INSTALLED_APPS` should read, in part::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    INSTALLED_APPS = (
 | 
					    INSTALLED_APPS = (
 | 
				
			||||||
        #...
 | 
					        #...
 | 
				
			||||||
        'mysite.myapp',
 | 
					        'myapp',
 | 
				
			||||||
        #...
 | 
					        #...
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue