{"id":5109,"date":"2019-01-07T13:54:07","date_gmt":"2019-01-07T12:54:07","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=5109"},"modified":"2019-01-07T13:54:07","modified_gmt":"2019-01-07T12:54:07","slug":"stable-yet-experimental","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2019\/01\/07\/stable-yet-experimental\/","title":{"rendered":"Stable yet experimental"},"content":{"rendered":"<blockquote><p>This tutorial is written for Django 2.1, which supports Python 3.5 and later<\/p><\/blockquote>\n<p>From: <em><a href=\"https:\/\/docs.djangoproject.com\/en\/2.1\/intro\/tutorial01\/\">Writing your first Django app, part 1 | Django documentation | Django<\/a><\/em><\/p>\n<p>I couldn&#8217;t find Djiango 2 in my CentOS box. Of course, it&#8217;s meant to use only rock-stable versions, I told myself.<\/p>\n<p>I tought to find it in Debian testing. Currently I&#8217;m wrong as <a href=\"https:\/\/packages.debian.org\/search?keywords=python3-django&amp;searchon=names&amp;suite=all&amp;section=all\">it&#8217;s sitting in experimental branch<\/a>. Wow. &#8220;Mal comune mezzo gaudio&#8221; recites an Italian proverb (&#8220;a trouble shared is a trouble halved&#8221;) as Fedora seems to be <a href=\"https:\/\/apps.fedoraproject.org\/packages\/python3-django\">in the same situation<\/a>.<\/p>\n<p>No worries, let&#8217;s think about the future: I will manually install it. Some italian &#8220;debian debops&#8221; won&#8217;t agree<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">This tutorial is written for Django 2.1, which supports Python 3.5 and later From: Writing your first Django app, part 1 | Django documentation | Django I couldn&#8217;t find Djiango 2 in my CentOS box. Of course, it&#8217;s meant to use only rock-stable versions, I told myself. I tought to find it in Debian testing.&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2019\/01\/07\/stable-yet-experimental\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-5109","post","type-post","status-publish","format-standard","hentry","category-senza-categoria"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-1kp","jetpack-related-posts":[{"id":5155,"url":"https:\/\/monodes.com\/predaelli\/2019\/01\/25\/multiple-fields-primary-keys-in-django\/","url_meta":{"origin":5109,"position":0},"title":"Multiple fields primary keys in Django","author":"Paolo Redaelli","date":"2019-01-25","format":false,"excerpt":"I'm developing a little application in Django. Having developed a subtle dislike for UUIDs used as primary keys I tend to rely of the \"natural keys\" which are almost always identificable in a data model. Often thought those keys span over several fields. Think about a receipt of a multi-store\u2026","rel":"","context":"In &quot;Django&quot;","block_context":{"text":"Django","link":"https:\/\/monodes.com\/predaelli\/category\/python\/django\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10654,"url":"https:\/\/monodes.com\/predaelli\/2023\/07\/23\/10654\/","url_meta":{"origin":5109,"position":1},"title":"Django-LiveView","author":"Paolo Redaelli","date":"2023-07-23","format":"link","excerpt":"Django LiveView: Framework for creating Realtime SPAs using HTML over the Wire technology django-liveview-demo.andros.dev\/","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/monodes.com\/predaelli\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10758,"url":"https:\/\/monodes.com\/predaelli\/2023\/09\/01\/using-csv-file-as-data-storage-and-access\/","url_meta":{"origin":5109,"position":2},"title":"Using CSV File as data storage and access","author":"Paolo Redaelli","date":"2023-09-01","format":false,"excerpt":"Thanks adamchainz! You can use \u201cCSV\u201d table storage in (at least) these database backends: SQLite: https:\/\/www.sqlite.org\/csv.html 42 MySQL\/MariaDB via the \u201cCSV\u201d storage engine: https:\/\/dev.mysql.com\/doc\/refman\/8.0\/en\/csv-storage-engine.html 15 . Or MariaDB via the CONNECT storage engine: https:\/\/mariadb.com\/kb\/en\/connect\/ 1 However these will be slow though. Changes to CSV based tables require a lot of\u2026","rel":"","context":"In &quot;Django&quot;","block_context":{"text":"Django","link":"https:\/\/monodes.com\/predaelli\/category\/python\/django\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10343,"url":"https:\/\/monodes.com\/predaelli\/2023\/04\/01\/debian-programs-from-stable-testing-unstable-and-even-experimental-without-trauma\/","url_meta":{"origin":5109,"position":3},"title":"Debian: programs from stable, testing, unstable and even experimental without trauma","author":"Paolo Redaelli","date":"2023-04-01","format":false,"excerpt":"I originally wrote this in Italian but I think that it may be more useful translated into English In daily use of computers it often happens that you need a stable base and at the same time use recent, very recent or even 'beta\/alpha\/experimental' versions of some specific programs. Debian\u2026","rel":"","context":"In &quot;Debian&quot;","block_context":{"text":"Debian","link":"https:\/\/monodes.com\/predaelli\/category\/debian\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":6401,"url":"https:\/\/monodes.com\/predaelli\/2020\/02\/23\/debian-programmi-da-stable-testing-unstable-ed-anche-experimental-senza-traumi\/","url_meta":{"origin":5109,"position":4},"title":"Debian: programmi da stable, testing, unstable ed anche experimental senza traumi","author":"Paolo Redaelli","date":"2020-02-23","format":false,"excerpt":"Nell'uso quotidiano dei computer capita spesso di avere la necessit\u00e0 di una base stabile ed allo stesso tempo di utilizzare versioni recenti, molto recenti o anche \"beta\/alpha\/sperimentali\" di alcuni specifici programmi. Gli utenti di Debian e quindi di tutte le derivate a partire da Ubuntu non sono da meno, anzi!\u2026","rel":"","context":"In &quot;Debian&quot;","block_context":{"text":"Debian","link":"https:\/\/monodes.com\/predaelli\/category\/debian\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/02\/system-software-install.png?fit=256%2C256&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4347,"url":"https:\/\/monodes.com\/predaelli\/2018\/05\/26\/transcrypt-python-in-the-browser-lean-fast-open\/","url_meta":{"origin":5109,"position":5},"title":"Transcrypt &#8211; Python in the browser &#8211; Lean, fast, open!","author":"Paolo Redaelli","date":"2018-05-26","format":false,"excerpt":"Well, life is full of surprises.... The Transcrypt Python to JavaScript compiler makes it possible to program lean and fast browser applications in Python. Transcrypt applications can use any JavaScript library and can also run on top of Node.js or be used in combination with Django. Sorgente: Transcrypt - Python\u2026","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/5109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=5109"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/5109\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=5109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=5109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=5109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}