mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
Fix Article (s)
This commit is contained in:
parent
3d7ad99d61
commit
a51c5f4b57
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue