sync from local backup

This commit is contained in:
chunyu
2026-08-05 23:59:15 +08:00
commit d48ec1747c
358 changed files with 34384 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import django
import os
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'chunyu_project.settings')
django.setup()
from django.core.cache import caches
cache = caches['default']
cache.set('register_test@testbug.com', '88888888', timeout=600)
val = cache.get('register_test@testbug.com')
print(f'Code set: {val}')