from django.contrib import admin
from commoner.registration.models import PartialRegistration

class PartialRegistrationAdmin(admin.ModelAdmin):

    pass

admin.site.register(PartialRegistration, PartialRegistrationAdmin)

from django.contrib import admin
from commoner.registration.models import PartialRegistration

class PartialRegistrationAdmin(admin.ModelAdmin):

    list_filter = ('complete',)

admin.site.register(PartialRegistration, PartialRegistrationAdmin)

Allow filtering of registrations by complete status.
Allow filtering of registrations by complete status.

  from django.contrib import admin
  from commoner.registration.models import PartialRegistration
  
  class PartialRegistrationAdmin(admin.ModelAdmin):
  
-     pass
+     list_filter = ('complete',)
  
  admin.site.register(PartialRegistration, PartialRegistrationAdmin)
  
Allow filtering of registrations by complete status.
## Code Before:
from django.contrib import admin
from commoner.registration.models import PartialRegistration

class PartialRegistrationAdmin(admin.ModelAdmin):

    pass

admin.site.register(PartialRegistration, PartialRegistrationAdmin)

## Instruction:
Allow filtering of registrations by complete status.
## Code After:
from django.contrib import admin
from commoner.registration.models import PartialRegistration

class PartialRegistrationAdmin(admin.ModelAdmin):

    list_filter = ('complete',)

admin.site.register(PartialRegistration, PartialRegistrationAdmin)
