2 ms·
The code on GitHub does not exactly match the post. In particular, the last section about adding seed data is shifted up a few lines on GitHub, into the first d
by verdverm 4y ago
The code on GitHub does not exactly match the post. In particular, the last section about adding seed data is shifted up a few lines on GitHub, into the first database call, making me wonder if it was a stored procedure or a bug.
Did you have to correct output for the post?
https://github.com/sturdy-dev/codeball-todo-mvc/blob/main/app.py https://github.com/sturdy-dev/codeball-todo-mvc/blob/main/ap...
https://github.com/sturdy-dev/codeball-todo-mvc/commit/179923499913993e93a6fcf7a9f6e9c62e49cab0 https://github.com/sturdy-dev/codeball-todo-mvc/commit/17992...
- zegl 4y agoNice find! I tried to be careful to make sure that everything aligned. The prompt used for the post seems to have been "before_first_request, before conn.close: if the tasks table is empty, add three rows" I'm updating the post and the sources!
- verdverm 4y agoI think a video going through the series of prompts would be super interesting too