From 16e0102c3185344d0338ca97ae049f4ca2d9d819 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Fri, 26 Sep 2025 10:43:30 +0100 Subject: [PATCH] Switch from `runtime.txt` to `.python-version` Since the `runtime.txt` file is deprecated: https://devcenter.heroku.com/changelog-items/3141 --- 09_views_part2/01_building_a_blogpost_view/.python-version | 1 + 09_views_part2/01_building_a_blogpost_view/runtime.txt | 1 - 10_create_about_app/.python-version | 1 + 10_create_about_app/runtime.txt | 1 - 11_authorisation/01_allauth/.python-version | 1 + 11_authorisation/01_allauth/runtime.txt | 1 - 11_authorisation/02_restrict_access/.python-version | 1 + 11_authorisation/02_restrict_access/runtime.txt | 1 - 11_authorisation/03_custom_template/.python-version | 1 + 11_authorisation/03_custom_template/runtime.txt | 1 - 12_views_part_3/01_posting_to_database/.python-version | 1 + 12_views_part_3/01_posting_to_database/runtime.txt | 1 - 12_views_part_3/05_edit_delete/.python-version | 1 + 12_views_part_3/05_edit_delete/runtime.txt | 1 - 13_collaboration_form/01_create_the_form/.python-version | 1 + 13_collaboration_form/01_create_the_form/runtime.txt | 1 - 13_collaboration_form/02_handle_the_POST_request/.python-version | 1 + 13_collaboration_form/02_handle_the_POST_request/runtime.txt | 1 - .../01_storing_images_in_cloudinary/.python-version | 1 + .../01_storing_images_in_cloudinary/runtime.txt | 1 - 14_where_to_put_things/03_tidy_up/.python-version | 1 + 14_where_to_put_things/03_tidy_up/runtime.txt | 1 - 15_testing/.python-version | 1 + 15_testing/runtime.txt | 1 - 24 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 09_views_part2/01_building_a_blogpost_view/.python-version delete mode 100644 09_views_part2/01_building_a_blogpost_view/runtime.txt create mode 100644 10_create_about_app/.python-version delete mode 100644 10_create_about_app/runtime.txt create mode 100644 11_authorisation/01_allauth/.python-version delete mode 100644 11_authorisation/01_allauth/runtime.txt create mode 100644 11_authorisation/02_restrict_access/.python-version delete mode 100644 11_authorisation/02_restrict_access/runtime.txt create mode 100644 11_authorisation/03_custom_template/.python-version delete mode 100644 11_authorisation/03_custom_template/runtime.txt create mode 100644 12_views_part_3/01_posting_to_database/.python-version delete mode 100644 12_views_part_3/01_posting_to_database/runtime.txt create mode 100644 12_views_part_3/05_edit_delete/.python-version delete mode 100644 12_views_part_3/05_edit_delete/runtime.txt create mode 100644 13_collaboration_form/01_create_the_form/.python-version delete mode 100644 13_collaboration_form/01_create_the_form/runtime.txt create mode 100644 13_collaboration_form/02_handle_the_POST_request/.python-version delete mode 100644 13_collaboration_form/02_handle_the_POST_request/runtime.txt create mode 100644 14_where_to_put_things/01_storing_images_in_cloudinary/.python-version delete mode 100644 14_where_to_put_things/01_storing_images_in_cloudinary/runtime.txt create mode 100644 14_where_to_put_things/03_tidy_up/.python-version delete mode 100644 14_where_to_put_things/03_tidy_up/runtime.txt create mode 100644 15_testing/.python-version delete mode 100644 15_testing/runtime.txt diff --git a/09_views_part2/01_building_a_blogpost_view/.python-version b/09_views_part2/01_building_a_blogpost_view/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/09_views_part2/01_building_a_blogpost_view/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/09_views_part2/01_building_a_blogpost_view/runtime.txt b/09_views_part2/01_building_a_blogpost_view/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/09_views_part2/01_building_a_blogpost_view/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/10_create_about_app/.python-version b/10_create_about_app/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/10_create_about_app/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/10_create_about_app/runtime.txt b/10_create_about_app/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/10_create_about_app/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/11_authorisation/01_allauth/.python-version b/11_authorisation/01_allauth/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/11_authorisation/01_allauth/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/11_authorisation/01_allauth/runtime.txt b/11_authorisation/01_allauth/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/11_authorisation/01_allauth/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/11_authorisation/02_restrict_access/.python-version b/11_authorisation/02_restrict_access/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/11_authorisation/02_restrict_access/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/11_authorisation/02_restrict_access/runtime.txt b/11_authorisation/02_restrict_access/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/11_authorisation/02_restrict_access/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/11_authorisation/03_custom_template/.python-version b/11_authorisation/03_custom_template/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/11_authorisation/03_custom_template/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/11_authorisation/03_custom_template/runtime.txt b/11_authorisation/03_custom_template/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/11_authorisation/03_custom_template/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/12_views_part_3/01_posting_to_database/.python-version b/12_views_part_3/01_posting_to_database/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/12_views_part_3/01_posting_to_database/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/12_views_part_3/01_posting_to_database/runtime.txt b/12_views_part_3/01_posting_to_database/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/12_views_part_3/01_posting_to_database/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/12_views_part_3/05_edit_delete/.python-version b/12_views_part_3/05_edit_delete/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/12_views_part_3/05_edit_delete/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/12_views_part_3/05_edit_delete/runtime.txt b/12_views_part_3/05_edit_delete/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/12_views_part_3/05_edit_delete/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/13_collaboration_form/01_create_the_form/.python-version b/13_collaboration_form/01_create_the_form/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/13_collaboration_form/01_create_the_form/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/13_collaboration_form/01_create_the_form/runtime.txt b/13_collaboration_form/01_create_the_form/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/13_collaboration_form/01_create_the_form/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/13_collaboration_form/02_handle_the_POST_request/.python-version b/13_collaboration_form/02_handle_the_POST_request/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/13_collaboration_form/02_handle_the_POST_request/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/13_collaboration_form/02_handle_the_POST_request/runtime.txt b/13_collaboration_form/02_handle_the_POST_request/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/13_collaboration_form/02_handle_the_POST_request/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/14_where_to_put_things/01_storing_images_in_cloudinary/.python-version b/14_where_to_put_things/01_storing_images_in_cloudinary/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/14_where_to_put_things/01_storing_images_in_cloudinary/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/14_where_to_put_things/01_storing_images_in_cloudinary/runtime.txt b/14_where_to_put_things/01_storing_images_in_cloudinary/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/14_where_to_put_things/01_storing_images_in_cloudinary/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/14_where_to_put_things/03_tidy_up/.python-version b/14_where_to_put_things/03_tidy_up/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/14_where_to_put_things/03_tidy_up/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/14_where_to_put_things/03_tidy_up/runtime.txt b/14_where_to_put_things/03_tidy_up/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/14_where_to_put_things/03_tidy_up/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file diff --git a/15_testing/.python-version b/15_testing/.python-version new file mode 100644 index 0000000..bd28b9c --- /dev/null +++ b/15_testing/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/15_testing/runtime.txt b/15_testing/runtime.txt deleted file mode 100644 index 6edd1aa..0000000 --- a/15_testing/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -python-3.9.18 \ No newline at end of file