favoritecontacts.py 302 B

123456789101112
  1. from django.contrib import admin
  2. from dbsynce.models import Favoritecontacts
  3. @admin.register(Favoritecontacts)
  4. class FavoritecontactsAdmin(admin.ModelAdmin):
  5. list_display = (
  6. 'id',
  7. 'client_id',
  8. 'full_name',
  9. 'phone_number',
  10. )
  11. list_filter = ('id','client_id')