1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2025-06-30 02:01:07 +02:00

Reorder imports and fix trailing spaces

This commit is contained in:
Alexandre Iooss
2021-05-12 17:43:18 +02:00
parent 1e9d731715
commit 3442edd2bf
14 changed files with 46 additions and 67 deletions

View File

@ -1,11 +1,9 @@
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
from django.core.management.base import BaseCommand
from django.apps import apps
from django.core.management.base import BaseCommand
from django.db import connection
from polymorphic.models import PolymorphicModel
NO_SEQ = [
@ -14,6 +12,7 @@ NO_SEQ = [
"WEIRole", # dirty fix
]
class Command(BaseCommand):
"""
Command to synchronise primary sequence of postgres after bulk insert of django.