import django.dispatch

# Behaves like Djangos normal pre-/post_save signals signals with the
# added arguments ``target`` and ``position`` that matches those of
# ``move_to``.
# If the signal is called from ``save`` it'll not be pass position.
node_moved = django.dispatch.Signal(providing_args=[
    'instance',
    'target',
    'position'
])

from django.db.models.signals import ModelSignal as Signal

# Behaves like Djangos normal pre-/post_save signals signals with the
# added arguments ``target`` and ``position`` that matches those of
# ``move_to``.
# If the signal is called from ``save`` it'll not be pass position.
node_moved = Signal(providing_args=[
    'instance',
    'target',
    'position'
])

Use ModelSignal over plain Signal
Use ModelSignal over plain Signal
- import django.dispatch
+ from django.db.models.signals import ModelSignal as Signal
  
  # Behaves like Djangos normal pre-/post_save signals signals with the
  # added arguments ``target`` and ``position`` that matches those of
  # ``move_to``.
  # If the signal is called from ``save`` it'll not be pass position.
- node_moved = django.dispatch.Signal(providing_args=[
+ node_moved = Signal(providing_args=[
      'instance',
      'target',
      'position'
  ])
  
Use ModelSignal over plain Signal
## Code Before:
import django.dispatch

# Behaves like Djangos normal pre-/post_save signals signals with the
# added arguments ``target`` and ``position`` that matches those of
# ``move_to``.
# If the signal is called from ``save`` it'll not be pass position.
node_moved = django.dispatch.Signal(providing_args=[
    'instance',
    'target',
    'position'
])

## Instruction:
Use ModelSignal over plain Signal
## Code After:
from django.db.models.signals import ModelSignal as Signal

# Behaves like Djangos normal pre-/post_save signals signals with the
# added arguments ``target`` and ``position`` that matches those of
# ``move_to``.
# If the signal is called from ``save`` it'll not be pass position.
node_moved = Signal(providing_args=[
    'instance',
    'target',
    'position'
])
