forked from expo/troggle
Try and ignore files that don't end .html (We really need to change to .xml) eg .html.orig!!
Change the index on troggle to move on with the year
This commit is contained in:
parent
9d3cac41b9
commit
9961c31e73
@ -13,7 +13,8 @@ def readcaves():
|
||||
print "Reading Entrances"
|
||||
#print "list of <Slug> <Filename>"
|
||||
for filename in os.walk(settings.ENTRANCEDESCRIPTIONS).next()[2]: #Should be a better way of getting a list of files
|
||||
readentrance(filename)
|
||||
if filename.endswith('.html'):
|
||||
readentrance(filename)
|
||||
print "Reading Caves"
|
||||
for filename in os.walk(settings.CAVEDESCRIPTIONS).next()[2]: #Should be a better way of getting a list of files
|
||||
readcave(filename)
|
||||
|
@ -38,9 +38,9 @@
|
||||
<a href="{% url survexcavessingle 161 %}">161</a> |
|
||||
<a href="{% url survexcavessingle 204 %}">204</a> |
|
||||
<a href="{% url survexcavessingle 258 %}">258</a> |
|
||||
<a href="{% url expedition 2011 %}">Expo2011</a> |
|
||||
<a href="{% url expedition 2012 %}">Expo2012</a> |
|
||||
<a href="{% url expedition 2013 %}">Expo2013</a> |
|
||||
<a href="{% url expedition 2014 %}">Expo2014</a> |
|
||||
|
||||
<a href="/admin/">Django admin</a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user