[svn] now with ability to make new svx file

This commit is contained in:
goatchurch
2009-08-01 07:31:27 +01:00
parent 7158a79a34
commit 9077462893
19 changed files with 450 additions and 260 deletions

View File

@@ -51,6 +51,8 @@ def ent(request, cave_id, ent_letter):
'letter': cave_and_ent.entrance_letter,})
def survexblock(request, survexpath):
survexpath = re.sub("/", ".", survexpath)
print "jjjjjj", survexpath
survexblock = models.SurvexBlock.objects.get(survexpath=survexpath)
#ftext = survexblock.filecontents()
ftext = survexblock.text