2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 03:37:18 +00:00

expung imagekit and clean import lists

This commit is contained in:
Philip Sargent
2020-05-28 01:38:35 +01:00
parent 6cc578435c
commit cb4128436c
7 changed files with 20 additions and 81 deletions

View File

@@ -1,11 +1,13 @@
'''
This module is the part of troggle that parses descriptions of cave parts (subcaves) from the legacy html files and saves them in the troggle database as instances of the model Subcave. Unfortunately, this parser can not be very flexible because the legacy format is poorly structured.
'''
import sys
import os
import re
import logging
import sys, os
import os, re, logging
from django.conf import settings
from troggle.core.models import Subcave, Cave
from utils import save_carefully