Skip to content
Sih Sîng-hông薛丞宏 edited this page Aug 10, 2021 · 2 revisions
from SuiSiannAdminApp.models import 句表
a=句表.objects.exclude(羅馬字='lomaji')
a.count()
for mih in a:
	try:
		mih.full_clean()
	except:
		print(mih.id)
		raise
	else:
		mih.save()
from SuiSiannAdminApp.models import 句表
for ku in 句表.objects.order_by('-id'):
    print(ku.id)
    ku.重對齊()
Clone this wiki locally