Ticket #1536: FilePathField-recursive-fix.diff
File FilePathField-recursive-fix.diff, 569 bytes (added by , 19 years ago) |
---|
-
django/forms/__init__.py
879 879 for root, dirs, files in os.walk(path): 880 880 for f in files: 881 881 if match is None or match_re.search(f): 882 choices.append((os.path.join( path, f), f))882 choices.append((os.path.join(root, f), f)) 883 883 else: 884 884 try: 885 885 for f in os.listdir(path):