add group to admin
This commit is contained in:
@ -36,7 +36,7 @@ class LocationAdmin(LeafletGeoAdmin):
|
|||||||
search_fields = ('location_id', 'cp', 'location_name', 'category', 'event_name',)
|
search_fields = ('location_id', 'cp', 'location_name', 'category', 'event_name',)
|
||||||
list_filter = ('category', 'event_name',)
|
list_filter = ('category', 'event_name',)
|
||||||
ordering = ('location_id', 'cp',)
|
ordering = ('location_id', 'cp',)
|
||||||
list_display = ('location_id','cp', 'location_name', 'category', 'event_name', 'event_active', 'auto_checkin', 'checkin_radius', 'checkin_point', 'buy_point',)
|
list_display = ('location_id','cp', 'location_name', 'category', 'group', 'event_name', 'event_active', 'auto_checkin', 'checkin_radius', 'checkin_point', 'buy_point',)
|
||||||
|
|
||||||
|
|
||||||
def tranfer_to_location(modeladmin, request, queryset):
|
def tranfer_to_location(modeladmin, request, queryset):
|
||||||
|
|||||||
Reference in New Issue
Block a user