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

Django 1.7 mostly working. Big refactor so probably bugs

This commit is contained in:
Sam Wenham
2018-04-15 16:28:13 +01:00
parent 7877efba0a
commit 798ae591c6
18 changed files with 82 additions and 60 deletions

View File

@@ -2,7 +2,7 @@
import csv
from django.conf import settings
from core.models import QM, LogbookEntry, Cave
from troggle.core.models import QM, LogbookEntry, Cave
from datetime import *
from utils import save_carefully
import re, os
@@ -87,7 +87,7 @@ def parseCaveQMs(cave,inputFile):
continue
def parse_KH_QMs(kh, inputFile):
"""import QMs from the 1623-161 (Kaninchenh<6E>hle) html pages
"""import QMs from the 1623-161 (Kaninchenh<6E>hle) html pages
"""
khQMs=open(settings.EXPOWEB+inputFile,'r')
khQMs=khQMs.readlines()