utg-base 1.8.0__py3-none-any.whl → 1.8.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,7 @@ import os
3
3
  from django.core.management.commands.makemigrations import Command as BaseMakeMigrations
4
4
  from django.core.management.utils import run_formatters
5
5
  from django.db.migrations.writer import MigrationWriter
6
+ from django.db.migrations.operations import CreateModel
6
7
 
7
8
 
8
9
  class Command(BaseMakeMigrations):
@@ -22,6 +23,8 @@ class Command(BaseMakeMigrations):
22
23
  # BEGIN Customizing
23
24
  # fix 'created_at', 'updated_at' fields order
24
25
  for operation in migration.operations:
26
+ if not isinstance(operation, CreateModel):
27
+ continue
25
28
  _fields = []
26
29
  _end_fields = []
27
30
  for field_name, field in operation.fields:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: utg-base
3
- Version: 1.8.0
3
+ Version: 1.8.1
4
4
  Summary: UTG Base Package
5
5
  Author: Olimboy
6
6
  Author-email: shavkatov.olimboy@mail.ru
@@ -35,7 +35,7 @@ utg_base/migration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
35
35
  utg_base/migration/apps.py,sha256=sATh5UNLRJeyFGiWTjU5L8qRSVM2NVG9GK196w6dd0A,162
36
36
  utg_base/migration/management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  utg_base/migration/management/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- utg_base/migration/management/commands/makemigrations.py,sha256=cV-YOjJry3MFP5WR5YYq8Ji1mW_wM0umBNjIb8Ts1zE,4513
38
+ utg_base/migration/management/commands/makemigrations.py,sha256=vCC9ibMJHDw3KUEXXol6VMqeTXdeTmGOdKB4s3AT2dk,4665
39
39
  utg_base/models/__init__.py,sha256=1zXygGICiR3iUCKdkNal9d3i3kNp654gFgBf_VlR2gI,67
40
40
  utg_base/models/jwt_user.py,sha256=6TQ5wB_OZBtGhRL-2MonBGZm0n0Y86s4BRTxiRlUJOk,375
41
41
  utg_base/models/timestamp.py,sha256=AkCliNXnvs8Z17b1mcS7gOK7v6h3Jul6WCyGyVAkb-w,217
@@ -56,6 +56,6 @@ utg_base/utils/response_processors.py,sha256=WdZQL49wOJqCIY2MucAI6sez_llCqih0v_l
56
56
  utg_base/utils/sql.py,sha256=rqIWcSjdjIMszdRnsnhV5TTYB8W17RPOujIQA9rKC_Y,762
57
57
  utg_base/utils/thread.py,sha256=4RqRnwtyHymY-dNcuPrMSTamE2V7wCMVfzzyIb0P4TI,2191
58
58
  utg_base/utils/translation.py,sha256=GxJHUt0iar_0E7RWBPbeLFQ4DhgXBjffHCmxfKyjFtk,463
59
- utg_base-1.8.0.dist-info/METADATA,sha256=e7ukwTXgHmcSQ1ZIu9K6I3xJjSnCcMSuAkNtntBpPTY,871
60
- utg_base-1.8.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
61
- utg_base-1.8.0.dist-info/RECORD,,
59
+ utg_base-1.8.1.dist-info/METADATA,sha256=utwdLOVJ7sHoXcQGFAy61_mYja47Txsyjcq0i2pl4fs,871
60
+ utg_base-1.8.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
61
+ utg_base-1.8.1.dist-info/RECORD,,