from import_export import resources
from .models import Signature


class SignatureResource(resources.ModelResource):
    class Meta:
        exclude = ('created_on', 'modified_on')
        model = Signature

from import_export import resources
import swapper

Signature = swapper.load_model("petition", "Signature")


class SignatureResource(resources.ModelResource):
    class Meta:
        model = Signature

Fix swappable model in signature export
Fix swappable model in signature export

  from import_export import resources
- from .models import Signature
+ import swapper
+ 
+ Signature = swapper.load_model("petition", "Signature")
  
  
  class SignatureResource(resources.ModelResource):
      class Meta:
-         exclude = ('created_on', 'modified_on')
          model = Signature
  
Fix swappable model in signature export
## Code Before:
from import_export import resources
from .models import Signature


class SignatureResource(resources.ModelResource):
    class Meta:
        exclude = ('created_on', 'modified_on')
        model = Signature

## Instruction:
Fix swappable model in signature export
## Code After:
from import_export import resources
import swapper

Signature = swapper.load_model("petition", "Signature")


class SignatureResource(resources.ModelResource):
    class Meta:
        model = Signature
