add payment_link and banks
This commit is contained in:
1 parent
2ae79b1ca4
commit
de3135b588
100 files changed
+6167
-47
No files matched your search
@@ -16,7 +16,12 @@ class AnnouncementJobAdmin(admin.ModelAdmin):
|
||||
class SMSTemplateAdmin(admin.ModelAdmin):
|
||||
list_display=("event_type","unit","title","is_active","updated_at")
|
||||
list_filter=("unit","is_active","event_type")
|
||||
readonly_fields=("allowed_tags",)
|
||||
readonly_fields=("allowed_tags_display",)
|
||||
exclude=("allowed_tags",)
|
||||
|
||||
@admin.display(description='Allowed tags / تگهای مجاز')
|
||||
def allowed_tags_display(self, obj):
|
||||
return obj.supported_tags
|
||||
@admin.register(NotificationPolicy)
|
||||
class NotificationPolicyAdmin(admin.ModelAdmin):
|
||||
list_display=("key","quiet_period_seconds","is_active","updated_at")
|
||||
|
||||
Reference in new issue
Block a user