forked from HPR/hpr_generator
Remove MySQL specific code from site generation code
- site-generator is generic, so no changes. - removed mysql information from site.cfg. - Updated template files to call sqlite queries directly. - Renamed the query files - remove sqlite from file names. - Deleted MySQL specific template files.
This commit is contained in:
6
templates/queries-call_for_shows.tpl.html
Normal file
6
templates/queries-call_for_shows.tpl.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<!--% query_call_for_shows = '
|
||||
SELECT CASE WHEN COUNT(id) < 6 THEN True ELSE False END AS `request_for_shows`
|
||||
FROM eps
|
||||
WHERE eps.date > date(\'now\') AND eps.date <= date(\'now\', \'+10 days\')
|
||||
'
|
||||
%-->
|
Reference in New Issue
Block a user