Commit 242fc605 authored by Malcolm Tredinnick's avatar Malcolm Tredinnick
Browse files

Fixed #9323 -- Allow glob loading in INSTALLED_APPS to handle digits in names.

Patch from carljm.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent d8fdf4d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ class Settings(object):
                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)):
                    if d.isalnum() and d[0].isalpha() and os.path.isdir(os.path.join(appdir, d)):
                        new_installed_apps.append('%s.%s' % (app[:-2], d))
            else:
                new_installed_apps.append(app)
+0 −0

Empty file added.

+0 −0

Empty file added.

+1 −0
Original line number Diff line number Diff line
# not empty to make SVN happy
+1 −0
Original line number Diff line number Diff line
# not empty to make SVN happy
Loading