summaryrefslogtreecommitdiff
path: root/apps/build
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2011-01-20 18:56:55 -0500
committerluxagraf <sng@luxagraf.net>2011-01-20 18:56:55 -0500
commit294820d74fbfa6f54d689084d4fd689a2ad8a1e9 (patch)
treea3a163217cf09d277f9451ac9e635d8b787f9594 /apps/build
parent6dca31fffb9dd52014a85e01c30a142b933d86ef (diff)
moved template build files to bin folder and updated file paths throughout apps
Diffstat (limited to 'apps/build')
-rw-r--r--apps/build/base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/build/base.py b/apps/build/base.py
index 6b806b6..462f910 100644
--- a/apps/build/base.py
+++ b/apps/build/base.py
@@ -68,7 +68,7 @@ class BuildWriting(Build):
model = get_model('blog', 'entry')
qs = {'object_list': model.objects.filter(status__exact=1).order_by('-pub_date')[1:4]}
c = Context(qs)
- t = render_to_string('includes/recent_entries_template.html',c)
+ t = render_to_string('bin/recent_entries.html',c)
fpath = '%s%s' %(settings.PROJ_ROOT,'templates/includes/recent_entries.html')
self.write_file(fpath,t)
@@ -132,11 +132,11 @@ class BuildMap(Build):
rl = get_model('locations', 'Region').objects.all()
rtl = get_model('locations', 'Route').objects.all()
c = Context({'object_list':qs, 'country_list':cl,'region_list':rl, 'route_list':rtl, 'MEDIA_URL':settings.MEDIA_URL})
- t = render_to_string('includes/map_entry_list_template.html',c).encode('utf-8')
+ t = render_to_string('bin/map_entry_list.html',c).encode('utf-8')
fpath = '%s%s' %(settings.PROJ_ROOT,'media/js/mainmap.js')
self.write_file(fpath,t)
c = Context({'country_list':cl,'region_list':rl,'route_list':rtl,'MEDIA_URL':settings.MEDIA_URL})
- t = render_to_string('includes/map_sidebar_template.html',c).encode('utf-8')
+ t = render_to_string('bin/map_sidebar.html',c).encode('utf-8')
fpath = '%s%s' %(settings.PROJ_ROOT,'templates/includes/map_sidebar.html')
self.write_file(fpath,t)