Fakultas Ilmu Komputer UI

Commit a6eca14a authored by Nabila Febri Viola's avatar Nabila Febri Viola
Browse files

[CHORES] Add more filter and change read-only fields in acara donor admin

parent 8ab3e74a
......@@ -5,13 +5,16 @@ from acara_donor.filters import AcaraDonorFilter
class AcaraDonorAdmin(admin.ModelAdmin):
list_filter = ('status', AcaraDonorFilter, 'alamat_lokasi_donor')
list_filter = ('status', AcaraDonorFilter, 'kecamatan', 'kategori')
search_fields = ('waktu_mulai',)
readonly_fields = ('nomor',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment