from django.contrib import admin
from django.contrib.sites.models import Site

from .models import Church

admin.site.site_header = "Churches of Bridlington Administration"

admin.site.register(Church)
admin.site.unregister(Site)

from django.contrib import admin
from django.contrib.sites.models import Site

from .models import Church

admin.site.site_header = "Churches of Bridlington Administration"

admin.site.register(Church)

Undo deregistration of Site object
Undo deregistration of Site object

This will now be controlled by restricting permissions in the
admin.

  from django.contrib import admin
  from django.contrib.sites.models import Site
  
  from .models import Church
  
  admin.site.site_header = "Churches of Bridlington Administration"
  
  admin.site.register(Church)
- admin.site.unregister(Site)
  
Undo deregistration of Site object
## Code Before:
from django.contrib import admin
from django.contrib.sites.models import Site

from .models import Church

admin.site.site_header = "Churches of Bridlington Administration"

admin.site.register(Church)
admin.site.unregister(Site)

## Instruction:
Undo deregistration of Site object
## Code After:
from django.contrib import admin
from django.contrib.sites.models import Site

from .models import Church

admin.site.site_header = "Churches of Bridlington Administration"

admin.site.register(Church)
