Ticket #3629: filepathfield.patch
File filepathfield.patch, 630 bytes (added by , 18 years ago) |
---|
-
django/oldforms/__init__.py
918 918 for root, dirs, files in os.walk(path): 919 919 for f in files: 920 920 if match is None or match_re.search(f): 921 choices.append((os.path.join(root, f), f)) 921 f = os.path.join(root, f) 922 choices.append((f, f.replace(path, "", 1))) 922 923 else: 923 924 try: 924 925 for f in os.listdir(path):