This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Gtk-Message: 04:32:29.685: Failed to load module "xapp-gtk3-module" | |
Macast Loading Language: zh_CN | |
Load renderer MPVRenderer done | |
using renderer: Default | |
ERROR:SSDPServer:add membership 192.168.1.149 | |
DEBUG:main:Macast APP started | |
INFO:main:service_start | |
INFO:MPVRenderer:starting mpv and mpv ipc | |
INFO:MPVRenderer:mpv starting | |
Gtk-Message: 04:32:29.799: Failed to load module "canberra-gtk-module" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_verbose_names(obj, exclude=[]): | |
filed = obj._meta.fields | |
# print(filed) | |
fielddic = {} | |
params = [f for f in filed if f.name not in exclude] | |
for i in params: | |
fielddic[i.name] = i.verbose_name | |
# print(fielddic) | |
return fielddic |