mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-29 03:46:25 -06:00
Reorganize management commands
This commit is contained in:
parent
20fa941687
commit
3424630769
@ -4,7 +4,7 @@ from django.core.management.base import CommandError
|
|||||||
from django.core.management.commands.makemigrations import Command as _Command
|
from django.core.management.commands.makemigrations import Command as _Command
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
from . import custom_deconstruct
|
from utilities.migration import custom_deconstruct
|
||||||
|
|
||||||
models.Field.deconstruct = custom_deconstruct
|
models.Field.deconstruct = custom_deconstruct
|
||||||
|
|
@ -2,6 +2,6 @@
|
|||||||
from django.core.management.commands.migrate import Command
|
from django.core.management.commands.migrate import Command
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
from . import custom_deconstruct
|
from utilities.migration import custom_deconstruct
|
||||||
|
|
||||||
models.Field.deconstruct = custom_deconstruct
|
models.Field.deconstruct = custom_deconstruct
|
Loading…
Reference in New Issue
Block a user