from django.contrib import admin
from .. import models

admin.site.register(models.IntegrationType, )
admin.site.register(models.IntegrationCredential, )

from django.contrib import admin
from .integration_credential import IntegrationCredentialAdmin
from .integration_type import IntegrationTypeAdmin
from .. import models

admin.site.register(models.IntegrationType, IntegrationTypeAdmin)
admin.site.register(models.IntegrationCredential, IntegrationCredentialAdmin)

Enable integration credential and integration type admin
Enable integration credential and integration type admin

  from django.contrib import admin
+ from .integration_credential import IntegrationCredentialAdmin
+ from .integration_type import IntegrationTypeAdmin
  from .. import models
  
- admin.site.register(models.IntegrationType, )
+ admin.site.register(models.IntegrationType, IntegrationTypeAdmin)
- admin.site.register(models.IntegrationCredential, )
+ admin.site.register(models.IntegrationCredential, IntegrationCredentialAdmin)
  
Enable integration credential and integration type admin
## Code Before:
from django.contrib import admin
from .. import models

admin.site.register(models.IntegrationType, )
admin.site.register(models.IntegrationCredential, )

## Instruction:
Enable integration credential and integration type admin
## Code After:
from django.contrib import admin
from .integration_credential import IntegrationCredentialAdmin
from .integration_type import IntegrationTypeAdmin
from .. import models

admin.site.register(models.IntegrationType, IntegrationTypeAdmin)
admin.site.register(models.IntegrationCredential, IntegrationCredentialAdmin)
