aboutsummaryrefslogtreecommitdiffstats
path: root/pysite/migrations/tables/snake_idioms
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-05-19 20:13:51 +0200
committerGravatar GitHub <[email protected]>2018-05-19 20:13:51 +0200
commit4bba9d0cdf8361e5529281a98d14bc4bb0ceb669 (patch)
tree5747395e8dae9a42f6935da1979bb2a88abaef75 /pysite/migrations/tables/snake_idioms
parent[Jams] Some amount of public display, but links not ready yet (diff)
Snake cog (#71)
* Tables that are initialized with JSON files in the table_init folder will now sync properly if the JSON file is changed after initialization. Any lines that are either added or removed will be updated whenever site is rebooted. * Initial API endpoint for snake_quiz * reverting database.py * I WILL KILL YOU * Added the snake_fact API endpoint * Moving snake tables to the new migrations system * Set up initial data for all new tables, added table objects, wrote endpoints, and wrote tests for the new endpoints. * Removing the snake_movies endpoint. That idea didn't pan out. * Added an endpoint for getting special snake cases * broken json * Fixing the initial data slightly, better picture of bob. * Changing JSON indentation to be 4 spaces consistently in all initial_data, to address Aperture's review. Also changing all the endpoints to have correct namespacing, addressing gdude's review. * Fixing tests to point to new API endpoints
Diffstat (limited to 'pysite/migrations/tables/snake_idioms')
-rw-r--r--pysite/migrations/tables/snake_idioms/__init__.py0
-rw-r--r--pysite/migrations/tables/snake_idioms/initial_data.json275
2 files changed, 275 insertions, 0 deletions
diff --git a/pysite/migrations/tables/snake_idioms/__init__.py b/pysite/migrations/tables/snake_idioms/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/pysite/migrations/tables/snake_idioms/__init__.py
diff --git a/pysite/migrations/tables/snake_idioms/initial_data.json b/pysite/migrations/tables/snake_idioms/initial_data.json
new file mode 100644
index 00000000..37148c42
--- /dev/null
+++ b/pysite/migrations/tables/snake_idioms/initial_data.json
@@ -0,0 +1,275 @@
+[
+ {
+ "idiom": "snek it up"
+ },
+ {
+ "idiom": "get ur snek on"
+ },
+ {
+ "idiom": "snek ur heart out"
+ },
+ {
+ "idiom": "snek 4 ever"
+ },
+ {
+ "idiom": "i luve snek"
+ },
+ {
+ "idiom": "snek bff"
+ },
+ {
+ "idiom": "boyfriend snek"
+ },
+ {
+ "idiom": "dont snek ur homies"
+ },
+ {
+ "idiom": "garden snek"
+ },
+ {
+ "idiom": "snektie"
+ },
+ {
+ "idiom": "snek keks"
+ },
+ {
+ "idiom": "birthday snek!"
+ },
+ {
+ "idiom": "snek tonight?"
+ },
+ {
+ "idiom": "snek hott lips"
+ },
+ {
+ "idiom": "snek u latr"
+ },
+ {
+ "idiom": "netflx and snek"
+ },
+ {
+ "idiom": "holy snek prey4u"
+ },
+ {
+ "idiom": "ghowst snek hauntt u"
+ },
+ {
+ "idiom": "ipekek snek syrop"
+ },
+ {
+ "idiom": "2 snek 2 furius"
+ },
+ {
+ "idiom": "the shawsnek redumpton"
+ },
+ {
+ "idiom": "snekler's list"
+ },
+ {
+ "idiom": "snekablanca"
+ },
+ {
+ "idiom": "romeo n snekulet"
+ },
+ {
+ "idiom": "citizn snek"
+ },
+ {
+ "idiom": "gon wit the snek"
+ },
+ {
+ "idiom": "dont step on snek"
+ },
+ {
+ "idiom": "the wizrd uf snek"
+ },
+ {
+ "idiom": "forrest snek"
+ },
+ {
+ "idiom": "snek of musik"
+ },
+ {
+ "idiom": "west snek story"
+ },
+ {
+ "idiom": "snek wars eposide XI"
+ },
+ {
+ "idiom": "2001: a snek odyssuuy"
+ },
+ {
+ "idiom": "E.T. the snekstra terrastriul"
+ },
+ {
+ "idiom": "snekkin' inth rain"
+ },
+ {
+ "idiom": "dr sneklove"
+ },
+ {
+ "idiom": "snekley kubrik"
+ },
+ {
+ "idiom": "willium snekspeare"
+ },
+ {
+ "idiom": "snek on tutanic"
+ },
+ {
+ "idiom": "a snekwork orunge"
+ },
+ {
+ "idiom": "the snek the bad n the ogly"
+ },
+ {
+ "idiom": "the sneksorcist"
+ },
+ {
+ "idiom": "gudd snek huntin"
+ },
+ {
+ "idiom": "leonurdo disnekrio"
+ },
+ {
+ "idiom": "denzal snekington"
+ },
+ {
+ "idiom": "snekuel l jocksons"
+ },
+ {
+ "idiom": "kevn snek"
+ },
+ {
+ "idiom": "snekthony hopkuns"
+ },
+ {
+ "idiom": "hugh snekman"
+ },
+ {
+ "idiom": "snek but it glow in durk"
+ },
+ {
+ "idiom": "snek but u cn ride it"
+ },
+ {
+ "idiom": "snek but slep in ur bed"
+ },
+ {
+ "idiom": "snek but mad frum plastk"
+ },
+ {
+ "idiom": "snek but bulong 2 ur frnd"
+ },
+ {
+ "idiom": "sneks on plene"
+ },
+ {
+ "idiom": "baby snek"
+ },
+ {
+ "idiom": "trouser snek"
+ },
+ {
+ "idiom": "momo snek"
+ },
+ {
+ "idiom": "fast snek"
+ },
+ {
+ "idiom": "super slow snek"
+ },
+ {
+ "idiom": "old snek"
+ },
+ {
+ "idiom": "slimy snek"
+ },
+ {
+ "idiom": "snek attekk"
+ },
+ {
+ "idiom": "snek get wrekk"
+ },
+ {
+ "idiom": "snek you long time"
+ },
+ {
+ "idiom": "carpenter snek"
+ },
+ {
+ "idiom": "drain snek"
+ },
+ {
+ "idiom": "eat ur face snek"
+ },
+ {
+ "idiom": "kawaii snek"
+ },
+ {
+ "idiom": "dis snek is soft"
+ },
+ {
+ "idiom": "snek is 4 yers uld"
+ },
+ {
+ "idiom": "pls feed snek, is hingry"
+ },
+ {
+ "idiom": "snek? snek? sneeeeek!!"
+ },
+ {
+ "idiom": "solid snek"
+ },
+ {
+ "idiom": "big bos snek"
+ },
+ {
+ "idiom": "snek republic"
+ },
+ {
+ "idiom": "snekoslovakia"
+ },
+ {
+ "idiom": "snek please!"
+ },
+ {
+ "idiom": "i brok my snek :("
+ },
+ {
+ "idiom": "star snek the nxt generatin"
+ },
+ {
+ "idiom": "azsnek tempul"
+ },
+ {
+ "idiom": "discosnek"
+ },
+ {
+ "idiom": "bottlsnek"
+ },
+ {
+ "idiom": "turtlsnek"
+ },
+ {
+ "idiom": "cashiers snek"
+ },
+ {
+ "idiom": "mega snek!!"
+ },
+ {
+ "idiom": "one tim i saw snek neked"
+ },
+ {
+ "idiom": "snek cnt clim trees"
+ },
+ {
+ "idiom": "snek in muth is jus tongue"
+ },
+ {
+ "idiom": "juan snek"
+ },
+ {
+ "idiom": "photosnek"
+ }
+] \ No newline at end of file