from django.contrib import admin

from .models import Logging


class LoggingAdmin(admin.ModelAdmin):
    model = Logging
    raw_id_fields = ('user',)
    exclude = ('site_iid', 'site_domain')


admin.site.register(Logging, LoggingAdmin)

from django.contrib import admin

from .models import Logging


class LoggingAdmin(admin.ModelAdmin):
    model = Logging
    raw_id_fields = ('user',)
    exclude = ('site_iid', 'site_domain', 'mirror_site')


admin.site.register(Logging, LoggingAdmin)

Add field mirror_site at exclude on LoggingAdmin
Add field mirror_site at exclude on LoggingAdmin

  from django.contrib import admin
  
  from .models import Logging
  
  
  class LoggingAdmin(admin.ModelAdmin):
      model = Logging
      raw_id_fields = ('user',)
-     exclude = ('site_iid', 'site_domain')
+     exclude = ('site_iid', 'site_domain', 'mirror_site')
  
  
  admin.site.register(Logging, LoggingAdmin)
  
Add field mirror_site at exclude on LoggingAdmin
## Code Before:
from django.contrib import admin

from .models import Logging


class LoggingAdmin(admin.ModelAdmin):
    model = Logging
    raw_id_fields = ('user',)
    exclude = ('site_iid', 'site_domain')


admin.site.register(Logging, LoggingAdmin)

## Instruction:
Add field mirror_site at exclude on LoggingAdmin
## Code After:
from django.contrib import admin

from .models import Logging


class LoggingAdmin(admin.ModelAdmin):
    model = Logging
    raw_id_fields = ('user',)
    exclude = ('site_iid', 'site_domain', 'mirror_site')


admin.site.register(Logging, LoggingAdmin)
