{"html_url": "https://github.com/simonw/datasette/issues/14#issuecomment-345067498", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/14", "id": 345067498, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NTA2NzQ5OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T21:25:32Z", "updated_at": "2017-11-16T21:26:22Z", "author_association": "OWNER", "body": "For visualizations, Google Maps should be made available as a plugin. The default visualizations can use Leaflet and Open Street Map, but there's no reason to not make Google Maps available as a plugin, especially if the plugin can provide a mechanism for configuring the necessary API key.\r\n\r\nI'm particularly excited in the Google Maps heatmap visualization https://developers.google.com/maps/documentation/javascript/heatmaplayer as seen on http://mochimachine.org/wasteland/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 267707940, "label": "Datasette Plugins"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/110#issuecomment-345017256", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/110", "id": 345017256, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NTAxNzI1Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T18:38:30Z", "updated_at": "2017-11-16T18:38:30Z", "author_association": "OWNER", "body": "To finish up, I committed the image I created in the above so I can run it again in the future:\r\n\r\n docker commit $(docker ps -lq) datasette-sqlite\r\n\r\nNow I can run it like this:\r\n\r\n docker run -it -p 8018:8018 datasette-sqlite datasette /tmp/test23.sqlite -p 8018 -h 0.0.0.0 --load-extension /usr/local/lib/mod_spatialite.so\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274578142, "label": "Add --load-extension option to datasette for loading extra SQLite extensions"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/111#issuecomment-345013127", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/111", "id": 345013127, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NTAxMzEyNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T18:23:56Z", "updated_at": "2017-11-16T18:23:56Z", "author_association": "OWNER", "body": "Having this as a global option may not make sense when publishing multiple databases. We can revisit that when we implement per-database and per-table metadata.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274615452, "label": "Add \u201cupdated\u201d to metadata"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/46#issuecomment-345002908", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/46", "id": 345002908, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NTAwMjkwOA==", "user": {"value": 54999, "label": "ingenieroariel"}, "created_at": "2017-11-16T17:47:49Z", "updated_at": "2017-11-16T17:47:49Z", "author_association": "CONTRIBUTOR", "body": "I'll try to find alternatives to the Dockerfile option - I also think we should not use that old one without sources or license.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271301468, "label": "Dockerfile should build more recent SQLite with FTS5 and spatialite support"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/46#issuecomment-344995571", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/46", "id": 344995571, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDk5NTU3MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T17:22:32Z", "updated_at": "2017-11-16T17:22:32Z", "author_association": "OWNER", "body": "The JSON extension would be very worthwhile too: https://www.sqlite.org/json1.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271301468, "label": "Dockerfile should build more recent SQLite with FTS5 and spatialite support"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/46#issuecomment-344989340", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/46", "id": 344989340, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDk4OTM0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T17:02:07Z", "updated_at": "2017-11-16T17:02:07Z", "author_association": "OWNER", "body": "The fact that `prolocutor/python3-sqlite-ext` doesn't provide a visible Dockerfile and hasn't been updated in two years makes me hesitant to bake it into datasette itself. I'd rather put together a Dockerfile that enables the necessary extensions and can live in the datasette repository itself.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271301468, "label": "Dockerfile should build more recent SQLite with FTS5 and spatialite support"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/46#issuecomment-344988591", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/46", "id": 344988591, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDk4ODU5MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T16:59:51Z", "updated_at": "2017-11-16T16:59:51Z", "author_association": "OWNER", "body": "OK, `--load-extension` is now a supported command line option - see #110 which includes my notes on how I manually tested it using the `prolocutor/python3-sqlite-ext` Docker image.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271301468, "label": "Dockerfile should build more recent SQLite with FTS5 and spatialite support"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/110#issuecomment-344988263", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/110", "id": 344988263, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDk4ODI2Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T16:58:48Z", "updated_at": "2017-11-16T16:58:48Z", "author_association": "OWNER", "body": "Here's how I tested this.\r\n\r\nFirst I downloaded and started a docker container using https://hub.docker.com/r/prolocutor/python3-sqlite-ext - which includes the compiled spatialite extension. This downloads it, then starts a shell in that container.\r\n\r\n docker run -it -p 8018:8018 prolocutor/python3-sqlite-ext:3.5.1-spatialite /bin/sh\r\n\r\nInstalled a pre-release build of datasette which includes the new `--load-extension` option.\r\n\r\n pip install https://static.simonwillison.net/static/2017/datasette-0.13-py3-none-any.whl\r\n\r\nNow grab a sample database from https://www.gaia-gis.it/spatialite-2.3.1/resources.html - and unzip and rename it (datasette doesn't yet like databases with dots in their filename):\r\n\r\n wget http://www.gaia-gis.it/spatialite-2.3.1/test-2.3.sqlite.gz\r\n gunzip test-2.3.sqlite.gz\r\n mv test-2.3.sqlite test23.sqlite\r\n\r\nNow start datasette on port 8018 (the port I exposed earlier) with the extension loaded:\r\n\r\n datasette test23.sqlite -p 8018 -h 0.0.0.0 --load-extension /usr/local/lib/mod_spatialite.so\r\n\r\nNow I can confirm that it worked:\r\n\r\nhttp://localhost:8018/test23-c88bc35?sql=select+ST_AsText%28Geometry%29+from+HighWays+limit+1\r\n\r\n\"test23\"\r\n\r\nIf I run datasette without `--load-extension` I get this:\r\n\r\n datasette test23.sqlite -p 8018 -h 0.0.0.0\r\n\r\n\"test23_and_turn_on_auto-escaping_in_jinja_\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274578142, "label": "Add --load-extension option to datasette for loading extra SQLite extensions"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/109#issuecomment-344986423", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/109", "id": 344986423, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDk4NjQyMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T16:53:26Z", "updated_at": "2017-11-16T16:53:26Z", "author_association": "OWNER", "body": "http://datasette.readthedocs.io/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274378301, "label": "Set up readthedocs"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/46#issuecomment-344976882", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/46", "id": 344976882, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDk3Njg4Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T16:25:07Z", "updated_at": "2017-11-16T16:25:07Z", "author_association": "OWNER", "body": "Maybe part of the solution here is to add a `--load-extension` argument to `datasette` - so when you run the command you can specify SQLite extensions that should be loaded. ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271301468, "label": "Dockerfile should build more recent SQLite with FTS5 and spatialite support"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/46#issuecomment-344976104", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/46", "id": 344976104, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDk3NjEwNA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T16:22:45Z", "updated_at": "2017-11-16T16:22:45Z", "author_association": "OWNER", "body": "Found a relevant Dockerfile on Reddit: https://www.reddit.com/r/Python/comments/5unkb3/install_sqlite3_on_python_3/ddzdz2b/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271301468, "label": "Dockerfile should build more recent SQLite with FTS5 and spatialite support"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/46#issuecomment-344975156", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/46", "id": 344975156, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDk3NTE1Ng==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T16:19:44Z", "updated_at": "2017-11-16T16:19:44Z", "author_association": "OWNER", "body": "That's fantastic! Thank you very much for that. \r\n\r\nDo you know if it's possible to view the Dockerfile used by https://hub.docker.com/r/prolocutor/python3-sqlite-ext/ ?", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271301468, "label": "Dockerfile should build more recent SQLite with FTS5 and spatialite support"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/100#issuecomment-344864254", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/100", "id": 344864254, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDg2NDI1NA==", "user": {"value": 13304454, "label": "coisnepe"}, "created_at": "2017-11-16T09:25:10Z", "updated_at": "2017-11-16T09:25:10Z", "author_association": "NONE", "body": "@simonw I see. I upgraded sanic-jinja2 and jinja2: it now works flawlessly. Thank you!", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274160723, "label": "TemplateAssertionError: no filter named 'tojson'"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/107#issuecomment-344811268", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/107", "id": 344811268, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDgxMTI2OA==", "user": {"value": 3433657, "label": "raynae"}, "created_at": "2017-11-16T04:17:45Z", "updated_at": "2017-11-16T04:17:45Z", "author_association": "CONTRIBUTOR", "body": "Thanks for the guidance. I added a unit test and made a slight change to utils.py.\r\n\r\nI didn't realize this, but evidently string.format only complains if you supply less arguments than there are format placeholders, so the original commit worked, but was adding a superfluous named param.\r\n\r\nI added a conditional that prevents the named param from being created and ensures the correct number of args are passed to sting.format. It has the side effect of hiding the SQL query in /templates/table.html when there are no other where clauses--not sure if that's the desired outcome here.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274343647, "label": "add support for ?field__isnull=1"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/46#issuecomment-344810525", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/46", "id": 344810525, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDgxMDUyNQ==", "user": {"value": 54999, "label": "ingenieroariel"}, "created_at": "2017-11-16T04:11:25Z", "updated_at": "2017-11-16T04:11:25Z", "author_association": "CONTRIBUTOR", "body": "@simonw On the spatialite support, here is some info to make it work and a screenshot:\r\n\r\n\"screen\r\n\r\nI used the following Dockerfile:\r\n```\r\nFROM prolocutor/python3-sqlite-ext:3.5.1-spatialite as build\r\n\r\nRUN mkdir /code\r\nADD . /code/\r\n\r\nRUN pip install /code/\r\n\r\nEXPOSE 8001\r\nCMD [\"datasette\", \"serve\", \"/code/ne.sqlite\", \"--host\", \"0.0.0.0\"]\r\n```\r\n\r\nand added this to `prepare_connection`:\r\n```\r\n conn.enable_load_extension(True)\r\n conn.execute(\"SELECT load_extension('/usr/local/lib/mod_spatialite.so')\")\r\n```", "reactions": "{\"total_count\": 1, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 1, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 271301468, "label": "Dockerfile should build more recent SQLite with FTS5 and spatialite support"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/96#issuecomment-344788763", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/96", "id": 344788763, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDc4ODc2Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T01:45:51Z", "updated_at": "2017-11-16T01:45:51Z", "author_association": "OWNER", "body": "Another demo - this time it lets you search by name and see the most popular breeds with that name: https://australian-dogs.now.sh/australian-dogs-3ba9628?sql=select+breed%2C+count%28*%29+as+n+from+%28%0D%0A%0D%0Aselect+upper%28%22Breed%22%29+as+breed+from+%5BAdelaide-City-Council-dog-registrations-2013%5D+where+%22Animal+name%22+like+%3Aname%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Breed_Description%22%29+as+breed+from+%5BAdelaide-City-Council-dog-registrations-2014%5D+where+%22Animal_Name%22+like+%3Aname%0D%0A%0D%0Aunion+all+%0D%0A%0D%0Aselect+upper%28%22Breed_Description%22%29+as+breed+from+%5BAdelaide-City-Council-dog-registrations-2015%5D+where+%22Animal_Name%22+like+%3Aname%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22AnimalBreed%22%29+as+breed+from+%5BCity-of-Port-Adelaide-Enfield-Dog_Registrations_2016%5D+where+%22AnimalName%22+like+%3Aname%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Breed%22%29+as+breed+from+%5BMitcham-dog-registrations-2015%5D+where+%22Animal+Name%22+like+%3Aname%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22DOG_BREED%22%29+as+breed+from+%5Bburnside-dog-registrations-2015%5D+where+%22DOG_NAME%22+like+%3Aname%0D%0A%0D%0Aunion+all+%0D%0A%0D%0Aselect+upper%28%22Breed_Description%22%29+as+breed+from+%5Bcity-of-playford-2015-dog-registration%5D+where+%22Animal_Name%22+like+%3Aname%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Breed+Description%22%29+as+breed+from+%5Bcity-of-prospect-dog-registration-details-2016%5D+where+%22Animal+Name%22+like+%3Aname%0D%0A%0D%0A%29+group+by+breed+order+by+n+desc%3B&name=rex", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274001453, "label": "UI for editing named parameters"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/96#issuecomment-344788435", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/96", "id": 344788435, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDc4ODQzNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T01:43:52Z", "updated_at": "2017-11-16T01:43:52Z", "author_association": "OWNER", "body": "Demo: https://australian-dogs.now.sh/australian-dogs-3ba9628?sql=select+name%2C+count%28*%29+as+n+from+%28%0D%0A%0D%0Aselect+upper%28%22Animal+name%22%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2013%5D+where+Breed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28Animal_Name%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2014%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all+%0D%0A%0D%0Aselect+upper%28Animal_Name%29+as+name+from+%5BAdelaide-City-Council-dog-registrations-2015%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22AnimalName%22%29+as+name+from+%5BCity-of-Port-Adelaide-Enfield-Dog_Registrations_2016%5D+where+AnimalBreed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Animal+Name%22%29+as+name+from+%5BMitcham-dog-registrations-2015%5D+where+Breed+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22DOG_NAME%22%29+as+name+from+%5Bburnside-dog-registrations-2015%5D+where+DOG_BREED+like+%3Abreed%0D%0A%0D%0Aunion+all+%0D%0A%0D%0Aselect+upper%28%22Animal_Name%22%29+as+name+from+%5Bcity-of-playford-2015-dog-registration%5D+where+Breed_Description+like+%3Abreed%0D%0A%0D%0Aunion+all%0D%0A%0D%0Aselect+upper%28%22Animal+Name%22%29+as+name+from+%5Bcity-of-prospect-dog-registration-details-2016%5D+where%22Breed+Description%22+like+%3Abreed%0D%0A%0D%0A%29+group+by+name+order+by+n+desc%3B&breed=chihuahua", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274001453, "label": "UI for editing named parameters"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/96#issuecomment-344786528", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/96", "id": 344786528, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDc4NjUyOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T01:32:41Z", "updated_at": "2017-11-16T01:32:41Z", "author_association": "OWNER", "body": "\"australian-dogs\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274001453, "label": "UI for editing named parameters"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/100#issuecomment-344771130", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/100", "id": 344771130, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDc3MTEzMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T00:06:00Z", "updated_at": "2017-11-16T00:06:00Z", "author_association": "OWNER", "body": "Aha... it looks like this is a Jinja version problem: https://github.com/ansible/ansible/issues/25381#issuecomment-306492389\r\n\r\nDatasette depends on sanic-jinja2 - and that doesn't depend on a particular jinja2 version: https://github.com/lixxu/sanic-jinja2/blob/7e9520850d8c6bb66faf43b7f252593d7efe3452/setup.py#L22\r\n\r\nSo if you have an older version of Jinja installed, stuff breaks.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274160723, "label": "TemplateAssertionError: no filter named 'tojson'"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/107#issuecomment-344770170", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/107", "id": 344770170, "node_id": "MDEyOklzc3VlQ29tbWVudDM0NDc3MDE3MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2017-11-16T00:01:00Z", "updated_at": "2017-11-16T00:01:22Z", "author_association": "OWNER", "body": "It is - but I think this will break on this line since it expects two format string parameters:\r\n\r\nhttps://github.com/simonw/datasette/blob/f45ca30f91b92ac68adaba893bf034f13ec61ced/datasette/utils.py#L61\r\n\r\nNeeds unit tests too, which live here: https://github.com/simonw/datasette/blob/f45ca30f91b92ac68adaba893bf034f13ec61ced/tests/test_utils.py#L49", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 274343647, "label": "add support for ?field__isnull=1"}, "performed_via_github_app": null}