<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Django on Yourlabs Business Service</title>
		<link>https://yourlabs.fr/tags/django/</link>
		<description>Recent content in Django on Yourlabs Business Service</description>
		<generator>Hugo</generator>
		<language>fr</language>
		
			<managingEditor>contact@yourlabs.org (Yourlabs)</managingEditor>
		
		
			<webMaster>contact@yourlabs.org (Yourlabs)</webMaster>
		
		
		
			<lastBuildDate>Thu, 18 Jun 2026 12:30:00 +0000</lastBuildDate>
		
			<atom:link href="https://yourlabs.fr/tags/django/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>django-autocomplete-light v4 et v5</title>
				<link>https://yourlabs.fr/posts/2026-06-18-django-autocomplete-light-v4-v5/</link>
				<pubDate>Thu, 18 Jun 2026 12:30:00 +0000</pubDate><author>contact@yourlabs.org (Yourlabs)</author>
				<guid>https://yourlabs.fr/posts/2026-06-18-django-autocomplete-light-v4-v5/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://github.com/yourlabs/django-autocomplete-light&#34;&gt;django-autocomplete-light&lt;/a&gt;&#xA;a deux lignes de versions actuelles avec des rôles différents : v4 existe pour&#xA;fournir le chemin de mise à niveau documenté depuis v3 et à travers les&#xA;versions Django prises en charge, tandis que v5 est l&amp;rsquo;endroit où nous pouvons&#xA;prendre les ruptures de compatibilité arrière plus importantes qui débloquent&#xA;la prochaine API.&lt;/p&gt;&#xA;&lt;p&gt;Cet article clarifie à quoi sert chaque ligne, laquelle vous devriez installer,&#xA;et où trouver la documentation de mise à niveau.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Ryzom : écrire du CSS et des WebComponents en Python</title>
				<link>https://yourlabs.fr/posts/2021-03-23-write-javascript-in-python/</link>
				<pubDate>Tue, 23 Mar 2021 13:37:00 +0000</pubDate><author>contact@yourlabs.org (Yourlabs)</author>
				<guid>https://yourlabs.fr/posts/2021-03-23-write-javascript-in-python/</guid>
				<description>&lt;p&gt;Cet article fait suite au précédent, &lt;a href=&#34;https://yourlabs.fr/posts/2021-02-27-replacing-templates-with-python-components/&#34;&gt;Replacing templates with Python&#xA;components&lt;/a&gt;.&#xA;Assurez-vous de l&amp;rsquo;avoir lu avant de lire celui-ci !&lt;/p&gt;&#xA;&lt;h2 id=&#34;rappel-des-bases-html&#34;&gt;Rappel des bases HTML&lt;/h2&gt;&#xA;&lt;p&gt;Cette section rappelle comment nous pouvions déjà générer du HTML avec une API&#xA;Python élégante.&lt;/p&gt;&#xA;&lt;h3 id=&#34;contenu&#34;&gt;Contenu&lt;/h3&gt;&#xA;&lt;p&gt;Les composants sont des classes Python chargées de rendre une balise HTML. À ce&#xA;titre, elles peuvent avoir du contenu, c&amp;rsquo;est-à-dire des enfants :&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-py&#34; data-lang=&#34;py&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kn&#34;&gt;from&lt;/span&gt; &lt;span class=&#34;nn&#34;&gt;ryzom.html&lt;/span&gt; &lt;span class=&#34;kn&#34;&gt;import&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;*&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;yourdiv&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Div&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;some&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;P&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;content&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;))&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;yourdiv&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;render&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;==&lt;/span&gt; &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;lt;div&amp;gt;some &amp;lt;p&amp;gt;content&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt;&amp;#39;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;La plupart des composants devraient s&amp;rsquo;instancier avec &lt;code&gt;*content&lt;/code&gt; comme premier&#xA;argument, et vous pouvez y passer autant d&amp;rsquo;enfants que nécessaire. Ils vont dans&#xA;&lt;code&gt;self.content&lt;/code&gt;, que vous pouvez aussi modifier après instanciation.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
