push notificantion test
This commit is contained in:
@@ -87,4 +87,12 @@ class AddressAdmin(ModelAdmin, ImportExportModelAdmin):
|
||||
}
|
||||
def address_display(self, obj):
|
||||
return obj.address[0:35] + '...'
|
||||
address_display.short_description = 'ادرس'
|
||||
address_display.short_description = 'ادرس'
|
||||
|
||||
|
||||
@admin.register(PushSubscription)
|
||||
class PushSubscription(ModelAdmin, ImportExportModelAdmin):
|
||||
import_form_class = ImportForm
|
||||
export_form_class = ExportForm
|
||||
compressed_fields = True
|
||||
warn_unsaved_form = True
|
||||
Reference in New Issue
Block a user