diff --git a/archives.html b/archives.html index b6887c2..f0cada6 100644 --- a/archives.html +++ b/archives.html @@ -48,9 +48,15 @@ Alexis Métaireau
2024
+
+ Écrire +
Notes hebdo #18
+
+ Changing the primary key of a model in Django +
Using uuids in URLs in a Django app
@@ -199,6 +205,9 @@ Alexis Métaireau
Tolérance, empathie et limites
+
+ Il nous restera ça +
2022
Installation de Mosquitto, InfluxDB, Telegraf et Grafana diff --git a/articles.html b/articles.html index 1233e4a..0f13138 100644 --- a/articles.html +++ b/articles.html @@ -45,6 +45,28 @@ Alexis Métaireau

+

+ Écrire +

+ +

Avec — enfin — un peu de recul, je suis content de la quiétude et de l’espace mental qui se dégage pour moi ces temps cis.

+

En pleine traversée j’ai parfois trouvé refuge dans des ateliers d’écriture. Je trouve l’exercice à la fois réconfortant et stimulant intellectuellement. Au …

+
+
+ django +, orm +, migrations +

+ Changing the primary key of a model in Django +

+

I had to change the primary key of a django model, and I wanted to create a +migration for this.

+

The previous model was using django automatic primary key fields

+

I firstly changed the model to include the new uuid field, and added the id +field (the old primary key …

+
+
django , urls , uuid @@ -128,25 +150,17 @@ sudo diskutil eraseDisk Graphs, progress-bars and python-markdown extensions
-
- Python -, CRDT -, Sync -, uMap -

- Adding Real-Time Collaboration to uMap, second week -

- A heads-up on what I've been doing this week on uMap -
-
- postgresql -, sysadmin -

- Importing a PostgreSQL dump under a different database name -

- Simple commands to help you during an import -
+ + + + \ No newline at end of file diff --git a/articles7.html b/articles7.html index 1233e4a..0f13138 100644 --- a/articles7.html +++ b/articles7.html @@ -45,6 +45,28 @@ Alexis Métaireau

+

+ Écrire +

+ +

Avec — enfin — un peu de recul, je suis content de la quiétude et de l’espace mental qui se dégage pour moi ces temps cis.

+

En pleine traversée j’ai parfois trouvé refuge dans des ateliers d’écriture. Je trouve l’exercice à la fois réconfortant et stimulant intellectuellement. Au …

+
+
+ django +, orm +, migrations +

+ Changing the primary key of a model in Django +

+

I had to change the primary key of a django model, and I wanted to create a +migration for this.

+

The previous model was using django automatic primary key fields

+

I firstly changed the model to include the new uuid field, and added the id +field (the old primary key …

+
+
django , urls , uuid @@ -128,25 +150,17 @@ sudo diskutil eraseDisk Graphs, progress-bars and python-markdown extensions
-
- Python -, CRDT -, Sync -, uMap -

- Adding Real-Time Collaboration to uMap, second week -

- A heads-up on what I've been doing this week on uMap -
-
- postgresql -, sysadmin -

- Importing a PostgreSQL dump under a different database name -

- Simple commands to help you during an import -