Ticket #14145: minor-django-bug.diff
File minor-django-bug.diff, 735 bytes (added by , 14 years ago) |
---|
-
django/core/management/base.py
394 394 relative_dir = d[len(template_dir)+1:].replace('%s_name' % app_or_project, name) 395 395 if relative_dir: 396 396 os.mkdir(os.path.join(top_dir, relative_dir)) 397 for i, subdir in enumerate(subdirs):397 for subdir in subdirs[:]: 398 398 if subdir.startswith('.'): 399 del subdirs[i]399 subdirs.remove(subdir) 400 400 for f in files: 401 401 if not f.endswith('.py'): 402 402 # Ignore .pyc, .pyo, .py.class etc, as they cause various