diff --git a/databaseReset.py b/databaseReset.py index a242b81..d714d9f 100644 --- a/databaseReset.py +++ b/databaseReset.py @@ -159,12 +159,6 @@ def pageredirects(): f = troggle.flatpages.models.Redirect(originalURL = oldURL, newURL = newURL) f.save() -def writeCaves(): - for cave in Cave.objects.all(): - cave.writeDataFile() - for entrance in Entrance.objects.all(): - entrance.writeDataFile() - def usage(): print("""Usage is 'python databaseReset.py ' where command is: @@ -182,9 +176,6 @@ def usage(): survexpos surveys tunnel - read in the Tunnel files - writeCaves - - read in - always means read from files and put the information into the database - - write out - always means create the auto-generated files from the database """) if __name__ == "__main__":