From 75e0fb9f57725fc6dd318478b6ddc901ba5f4df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poulain?= Date: Wed, 15 May 2024 15:38:59 +0200 Subject: [PATCH] lint --- fournée/core/admin.py | 1 + fournée/core/migrations/0015_document.py | 3 ++- .../core/migrations/0016_alter_document_fichier_and_more.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/fournée/core/admin.py b/fournée/core/admin.py index e36805c..958758f 100644 --- a/fournée/core/admin.py +++ b/fournée/core/admin.py @@ -10,6 +10,7 @@ import nested_admin from . import models + def clean(d): if d == d.to_integral(): return d.quantize(Decimal(1)) diff --git a/fournée/core/migrations/0015_document.py b/fournée/core/migrations/0015_document.py index 049ceeb..80f3f3e 100644 --- a/fournée/core/migrations/0015_document.py +++ b/fournée/core/migrations/0015_document.py @@ -1,7 +1,8 @@ # Generated by Django 4.2.13 on 2024-05-15 10:19 -from django.db import migrations, models import django.db.models.deletion +from django.db import migrations, models + import fournée.core.models diff --git a/fournée/core/migrations/0016_alter_document_fichier_and_more.py b/fournée/core/migrations/0016_alter_document_fichier_and_more.py index d3d80bd..c5bb380 100644 --- a/fournée/core/migrations/0016_alter_document_fichier_and_more.py +++ b/fournée/core/migrations/0016_alter_document_fichier_and_more.py @@ -1,6 +1,7 @@ # Generated by Django 4.2.13 on 2024-05-15 10:37 from django.db import migrations, models + import fournée.core.models