摘要:
1 import socketserver 2 3 class MySocket(socketserver.BaseRequestHandler): 4 5 def handle(self): 6 7 self.request.sendall(bytes('不要连我', encoding='utf-8')) 8 9 while T... 阅读全文
摘要:
aricle.tpl 文件内容 <!DOCTYPE html> <html lang="en"><head> <meta charset="UTF-8"> <title></title></head><body> <table border="1"> <thead> <tr> <th>ID</th> 阅读全文
摘要:
CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", "LOCATION": "redis://127.0.0.1:6379/1", "OPTIONS": { "CLIENT_CLASS": "django_redis 阅读全文