mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #8242: handle foo.* consistantly in INSTALLED_APPS.
				
					
				
			git-svn-id: http://code.djangoproject.com/svn/django/trunk@8538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -110,7 +110,9 @@ class Settings(object): | ||||
|         for app in self.INSTALLED_APPS: | ||||
|             if app.endswith('.*'): | ||||
|                 appdir = os.path.dirname(__import__(app[:-2], {}, {}, ['']).__file__) | ||||
|                 for d in os.listdir(appdir): | ||||
|                 app_subdirs = os.listdir(appdir) | ||||
|                 app_subdirs.sort() | ||||
|                 for d in app_subdirs: | ||||
|                     if d.isalpha() and os.path.isdir(os.path.join(appdir, d)): | ||||
|                         new_installed_apps.append('%s.%s' % (app[:-2], d)) | ||||
|             else: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user