file_utils
This commit is contained in:
parent
a4ee86629b
commit
718f6d6f95
|
@ -9,8 +9,7 @@ def clean_nulls():
|
||||||
if not fil.startswith("/static"):
|
if not fil.startswith("/static"):
|
||||||
print fil
|
print fil
|
||||||
except ValueError:
|
except ValueError:
|
||||||
x.append(f)
|
f.delete()
|
||||||
print len(x)
|
|
||||||
|
|
||||||
def clean_relative_links():
|
def clean_relative_links():
|
||||||
for f in File.objects.all():
|
for f in File.objects.all():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user