Show hospital in the polyclinic list
This commit is contained in:
parent
d9899f2d56
commit
ee706cfe0f
@ -5,6 +5,6 @@ from .models import Polyclinic
|
||||
# Register your models here.
|
||||
@admin.register(Polyclinic)
|
||||
class PolyclinicAdmin(admin.ModelAdmin):
|
||||
list_display = ('name', 'phone', 'created_at')
|
||||
ordering = ('name', 'created_at','updated_at')
|
||||
list_display = ('name', 'hospital','phone', 'created_at')
|
||||
ordering = ('name', 'hospital','created_at','updated_at')
|
||||
search_fields = ('name', 'phone')
|
||||
|
Loading…
Reference in New Issue
Block a user