python manage.py shell

from cookies.models import Cookies

all = Cookies.objects.all()

[ a.save() for a in all]

相关文章: