From a51c5f4b57722bc0a1d7567b6e691475d347ad60 Mon Sep 17 00:00:00 2001 From: chirac Date: Sun, 14 Jul 2019 19:55:53 +0200 Subject: [PATCH] Fix Article (s) --- cotisations/migrations/0026_auto_20171028_0126.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cotisations/migrations/0026_auto_20171028_0126.py b/cotisations/migrations/0026_auto_20171028_0126.py index df44bb89..41395a94 100644 --- a/cotisations/migrations/0026_auto_20171028_0126.py +++ b/cotisations/migrations/0026_auto_20171028_0126.py @@ -29,7 +29,7 @@ def delete_type(apps, schema_editor): Vente = apps.get_model('cotisations', 'Vente') Article = apps.get_model('cotisations', 'Article') db_alias = schema_editor.connection.alias - articles = Articles.objects.using(db_alias).all() + articles = Article.objects.using(db_alias).all() ventes = Vente.objects.using(db_alias).all() for article in articles: if article.type_cotisation: