prod-ecs 2 روز پیش
والد
کامیت
3334deb6be
5فایلهای تغییر یافته به همراه1 افزوده شده و 343 حذف شده
  1. BIN
      avatars/3/Snipaste_2023-08-24_12-24-12.png
  2. BIN
      avatars/3/resized/80/80/Snipaste_2023-08-24_12-24-12.png
  3. BIN
      db.sqlite3
  4. 0 342
      nohup.out
  5. 1 1
      system/settings.py

BIN
avatars/3/Snipaste_2023-08-24_12-24-12.png


BIN
avatars/3/resized/80/80/Snipaste_2023-08-24_12-24-12.png


BIN
db.sqlite3


+ 0 - 342
nohup.out

@@ -1,343 +1 @@
 Watching for file changes with StatReloader
-Exception in thread django-main-thread:
-Traceback (most recent call last):
-  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
-    self.run()
-  File "/usr/lib/python3.6/threading.py", line 864, in run
-    self._target(*self._args, **self._kwargs)
-  File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 64, in wrapper
-    fn(*args, **kwargs)
-  File "/usr/local/lib/python3.6/dist-packages/django/core/management/commands/runserver.py", line 110, in inner_run
-    autoreload.raise_last_exception()
-  File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 87, in raise_last_exception
-    raise _exception[1]
-  File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 375, in execute
-    autoreload.check_errors(django.setup)()
-  File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 64, in wrapper
-    fn(*args, **kwargs)
-  File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup
-    apps.populate(settings.INSTALLED_APPS)
-  File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 91, in populate
-    app_config = AppConfig.create(entry)
-  File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 224, in create
-    import_module(entry)
-  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
-    return _bootstrap._gcd_import(name[level:], package, level)
-  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
-  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
-  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
-ModuleNotFoundError: No module named 'avatar'
-
-Watching for file changes with StatReloader
-Performing system checks...
-
-System check identified no issues (0 silenced).
-July 19, 2023 - 11:33:28
-Django version 3.2.20, using settings 'system.settings'
-Starting development server at http://0.0.0.0:9000/
-Quit the server with CONTROL-C.
-Watching for file changes with StatReloader
-/opt/Blog/system/settings.py changed, reloading.
-Performing system checks...
-
-System check identified no issues (0 silenced).
-July 19, 2023 - 11:34:06
-Django version 3.2.20, using settings 'system.settings'
-Starting development server at http://0.0.0.0:9000/
-Quit the server with CONTROL-C.
-/opt/Blog/system/settings.py changed, reloading.
-Watching for file changes with StatReloader
-Watching for file changes with StatReloader
-Exception in thread django-main-thread:
-Traceback (most recent call last):
-  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
-    self.run()
-  File "/usr/lib/python3.6/threading.py", line 864, in run
-    self._target(*self._args, **self._kwargs)
-  File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 64, in wrapper
-    fn(*args, **kwargs)
-  File "/usr/local/lib/python3.6/dist-packages/django/core/management/commands/runserver.py", line 110, in inner_run
-    autoreload.raise_last_exception()
-  File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 87, in raise_last_exception
-    raise _exception[1]
-  File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 375, in execute
-    autoreload.check_errors(django.setup)()
-  File "/usr/local/lib/python3.6/dist-packages/django/utils/autoreload.py", line 64, in wrapper
-    fn(*args, **kwargs)
-  File "/usr/local/lib/python3.6/dist-packages/django/__init__.py", line 24, in setup
-    apps.populate(settings.INSTALLED_APPS)
-  File "/usr/local/lib/python3.6/dist-packages/django/apps/registry.py", line 91, in populate
-    app_config = AppConfig.create(entry)
-  File "/usr/local/lib/python3.6/dist-packages/django/apps/config.py", line 224, in create
-    import_module(entry)
-  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
-    return _bootstrap._gcd_import(name[level:], package, level)
-  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
-  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
-  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
-ModuleNotFoundError: No module named 'avatar'
-
-Performing system checks...
-
-System check identified no issues (0 silenced).
-July 19, 2023 - 12:13:13
-Django version 3.2.20, using settings 'system.settings'
-Starting development server at http://0.0.0.0:9000/
-Quit the server with CONTROL-C.
-Watching for file changes with StatReloader
-[19/Jul/2023 12:16:06] "GET / HTTP/1.0" 200 33099
-[19/Jul/2023 12:16:06] "GET /static/semantic.min.css HTTP/1.0" 200 628512
-[19/Jul/2023 12:16:06] "GET /static/photoswipe/photoswipe.css HTTP/1.0" 200 6994
-[19/Jul/2023 12:16:06] "GET /static/img.png HTTP/1.0" 200 6719
-[19/Jul/2023 12:16:06] "GET /static/js/jquery.min.js HTTP/1.0" 200 95789
-[19/Jul/2023 12:16:06] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 12:16:07] "GET /static/semantic.js HTTP/1.0" 200 737378
-[19/Jul/2023 12:16:07] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 12:16:09] "GET /static/photoswipe/photoswipe-lightbox.umd.min.js HTTP/1.0" 200 13794
-[19/Jul/2023 12:16:09] "GET /static/photoswipe/photoswipe.umd.min.js HTTP/1.0" 200 52920
-[19/Jul/2023 12:16:16] "GET / HTTP/1.0" 200 33099
-[19/Jul/2023 12:16:16] "GET /static/semantic.min.css HTTP/1.0" 200 628512
-[19/Jul/2023 12:16:16] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 12:16:16] "GET /static/semantic.js HTTP/1.0" 200 737378
-[19/Jul/2023 12:16:16] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 12:16:34] "GET /static/themes/default/assets/fonts/brand-icons.woff2 HTTP/1.0" 200 54488
-[19/Jul/2023 12:16:34] "GET /static/themes/default/assets/fonts/icons.woff2 HTTP/1.0" 200 40148
-[19/Jul/2023 12:16:44] "GET /static/favicon.ico HTTP/1.0" 200 15406
-Not Found: /git.cybersicko.net
-[19/Jul/2023 12:17:20] "GET /git.cybersicko.net HTTP/1.0" 404 3735
-Not Found: /favicon.ico
-[19/Jul/2023 12:17:21] "GET /favicon.ico HTTP/1.0" 404 3714
-[19/Jul/2023 12:17:39] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 12:17:39] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 12:21:21] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 12:21:21] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 12:24:36] "GET /static/img.png HTTP/1.0" 200 6719
-[19/Jul/2023 12:25:06] "GET / HTTP/1.0" 200 33106
-Not Found: /Public/home/js/check.js
-[19/Jul/2023 12:25:06] "GET /Public/home/js/check.js HTTP/1.0" 404 3750
-[19/Jul/2023 12:25:07] "GET /static/admin/javascript/hetong.js HTTP/1.0" 404 1837
-[19/Jul/2023 12:31:06] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 12:31:06] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 12:31:07] "GET /static/semantic.min.css HTTP/1.0" 200 628512
-[19/Jul/2023 12:31:07] "GET /static/photoswipe/photoswipe.css HTTP/1.0" 200 6994
-[19/Jul/2023 12:31:07] "GET /static/js/jquery.min.js HTTP/1.0" 200 95789
-[19/Jul/2023 12:31:07] "GET /static/photoswipe/photoswipe.umd.min.js HTTP/1.0" 200 52920
-[19/Jul/2023 12:31:07] "GET /static/semantic.js HTTP/1.0" 200 737378
-[19/Jul/2023 12:31:07] "GET /static/photoswipe/photoswipe-lightbox.umd.min.js HTTP/1.0" 200 13794
-[19/Jul/2023 12:31:08] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 12:31:08] "GET /static/img.png HTTP/1.0" 200 6719
-[19/Jul/2023 12:31:08] "GET /static/themes/default/assets/fonts/brand-icons.woff2 HTTP/1.0" 200 54488
-[19/Jul/2023 12:31:08] "GET /static/themes/default/assets/fonts/icons.woff2 HTTP/1.0" 200 40148
-[19/Jul/2023 12:31:09] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 12:31:11] "GET /static/favicon.ico HTTP/1.0" 200 15406
-Not Found: /.git/config
-[19/Jul/2023 12:31:14] "GET /.git/config HTTP/1.0" 404 3714
-[19/Jul/2023 12:31:14] "GET / HTTP/1.0" 200 33106
-Not Found: /favicon.ico
-[19/Jul/2023 12:31:14] "HEAD /favicon.ico HTTP/1.0" 404 3715
-[19/Jul/2023 12:31:15] "GET /static/favicon.ico HTTP/1.0" 200 15406
-[19/Jul/2023 12:31:16] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 12:31:17] "GET / HTTP/1.0" 200 33106
-Not Found: /.vscode/sftp.json
-[19/Jul/2023 12:31:18] "GET /.vscode/sftp.json HTTP/1.0" 404 3732
-Not Found: /about
-[19/Jul/2023 12:31:18] "GET /about HTTP/1.0" 404 3696
-Not Found: /debug/default/view
-[19/Jul/2023 12:31:19] "GET /debug/default/view?panel=config HTTP/1.0" 404 3748
-Not Found: /v2/_catalog
-[19/Jul/2023 12:31:19] "GET /v2/_catalog HTTP/1.0" 404 3714
-Not Found: /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application
-[19/Jul/2023 12:31:20] "GET /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application HTTP/1.0" 404 3906
-Not Found: /server-status
-[19/Jul/2023 12:31:20] "GET /server-status HTTP/1.0" 404 3720
-Not Found: /login.action
-[19/Jul/2023 12:31:21] "GET /login.action HTTP/1.0" 404 3717
-Not Found: /_all_dbs
-[19/Jul/2023 12:31:21] "GET /_all_dbs HTTP/1.0" 404 3705
-Not Found: /.DS_Store
-[19/Jul/2023 12:31:22] "GET /.DS_Store HTTP/1.0" 404 3708
-Not Found: /.env
-[19/Jul/2023 12:31:22] "GET /.env HTTP/1.0" 404 3693
-Not Found: /.git/config
-[19/Jul/2023 12:31:23] "GET /.git/config HTTP/1.0" 404 3714
-Not Found: /s/932313e2931313e29383e2831313/_/;/META-INF/maven/com.atlassian.jira/jira-webapp-dist/pom.properties
-[19/Jul/2023 12:31:23] "GET /s/932313e2931313e29383e2831313/_/;/META-INF/maven/com.atlassian.jira/jira-webapp-dist/pom.properties HTTP/1.0" 404 3983
-Not Found: /config.json
-[19/Jul/2023 12:31:24] "GET /config.json HTTP/1.0" 404 3714
-Not Found: /telescope/requests
-[19/Jul/2023 12:31:25] "GET /telescope/requests HTTP/1.0" 404 3735
-[19/Jul/2023 12:31:25] "GET /?rest_route=/wp/v2/users/ HTTP/1.0" 200 33106
-[19/Jul/2023 12:32:25] "HEAD / HTTP/1.0" 200 33106
-Not Found: /git.cybersicko.net
-[19/Jul/2023 12:35:54] "GET /git.cybersicko.net HTTP/1.0" 404 3735
-[19/Jul/2023 12:36:40] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 12:36:42] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-Not Found: /telescope/requests
-[19/Jul/2023 12:39:46] "GET /telescope/requests HTTP/1.0" 404 3735
-[19/Jul/2023 12:39:57] "HEAD / HTTP/1.0" 200 33106
-[19/Jul/2023 12:39:58] "HEAD / HTTP/1.0" 200 33106
-Not Found: /debug/default/view
-[19/Jul/2023 12:40:21] "GET /debug/default/view?panel=config HTTP/1.0" 404 3748
-[19/Jul/2023 12:40:32] "HEAD / HTTP/1.0" 200 33106
-Not Found: /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application
-[19/Jul/2023 12:42:46] "GET /ecp/Current/exporttool/microsoft.exchange.ediscovery.exporttool.application HTTP/1.0" 404 3906
-Not Found: /server-status
-[19/Jul/2023 12:43:03] "GET /server-status HTTP/1.0" 404 3720
-Not Found: /_all_dbs
-[19/Jul/2023 12:44:36] "GET /_all_dbs HTTP/1.0" 404 3705
-Not Found: /about
-[19/Jul/2023 12:45:21] "GET /about HTTP/1.0" 404 3696
-Not Found: /v2/_catalog
-[19/Jul/2023 12:46:40] "GET /v2/_catalog HTTP/1.0" 404 3714
-Not Found: /console/
-[19/Jul/2023 12:49:41] "GET /console/ HTTP/1.0" 404 3705
-[19/Jul/2023 12:56:57] "GET / HTTP/1.0" 200 33106
-Not Found: /.git/HEAD
-[19/Jul/2023 12:57:00] "GET /.git/HEAD HTTP/1.0" 404 3708
-Not Found: /console/
-[19/Jul/2023 12:57:34] "GET /console/ HTTP/1.0" 404 3705
-[19/Jul/2023 12:57:50] "HEAD / HTTP/1.0" 200 33106
-[19/Jul/2023 12:57:50] "HEAD / HTTP/1.0" 200 33106
-[19/Jul/2023 13:16:34] code 400, message Bad request syntax ("\x16\x03\x01\x00½\x01\x00\x00¹\x03\x03\x92#ñx\x02\x0c¦¢ºmà³\x8b\x81\x8e\x1f\x96ÖJv\x0c+øGÍ\\I³èß\x10n\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ")
-[19/Jul/2023 13:16:34] You're accessing the development server over HTTPS, but it only supports HTTP.
-
-[19/Jul/2023 13:16:36] code 400, message Bad request syntax ('\x16\x03\x01\x00½\x01\x00\x00¹\x03\x03³\x84B\x9fC$á¼Z»\x07S\x9e\x879i7Ã9>|äý×"C\x84r\x9d\x18@à\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À\'\x00gÀ')
-[19/Jul/2023 13:16:36] You're accessing the development server over HTTPS, but it only supports HTTP.
-
-[19/Jul/2023 13:16:37] code 400, message Bad request version ("\x04®[fË\x9d\x90\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ")
-[19/Jul/2023 13:16:37] You're accessing the development server over HTTPS, but it only supports HTTP.
-
-[19/Jul/2023 13:17:42] code 400, message Bad request syntax ("\x16\x03\x01\x00½\x01\x00\x00¹\x03\x03Í\x0c!>\x9dÂù\x0c(f!\x0fúµefmû\x047\x06m÷\x8fe¡½\x1c/A\\Â\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ")
-[19/Jul/2023 13:17:42] You're accessing the development server over HTTPS, but it only supports HTTP.
-
-[19/Jul/2023 13:17:46] code 400, message Bad request syntax ("\x16\x03\x01\x00½\x01\x00\x00¹\x03\x03\x18LÕ\x89\x15\\Ã(\x84èãq\x96\x1bϪ\x14\x91^eöOG¥Á\x08çêÖ\x8d\x92ï\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ")
-[19/Jul/2023 13:17:46] You're accessing the development server over HTTPS, but it only supports HTTP.
-
-[19/Jul/2023 13:17:55] code 400, message Bad request syntax ("\x16\x03\x01\x00½\x01\x00\x00¹\x03\x03\t\x89TÀ¸T ¿d\x93Ì\x08°×9d+^u³¨~\x85\x00\\zdDàvä\x1d\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ")
-[19/Jul/2023 13:17:55] You're accessing the development server over HTTPS, but it only supports HTTP.
-
-[19/Jul/2023 13:18:08] code 400, message Bad request version ("Êk\x1a\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ")
-[19/Jul/2023 13:18:08] You're accessing the development server over HTTPS, but it only supports HTTP.
-
-[19/Jul/2023 13:18:11] code 400, message Bad request syntax ("\x16\x03\x01\x00½\x01\x00\x00¹\x03\x03Fݶ¥o6\x9fÎtÓ¦\x87%@â¾mÁ°Ð\x8b*¤Æ²e\x98âeÒþ×\x00\x008À,À0\x00\x9f̨̩̪À+À/\x00\x9eÀ$À(\x00kÀ#À'\x00gÀ")
-[19/Jul/2023 13:18:11] You're accessing the development server over HTTPS, but it only supports HTTP.
-
-[19/Jul/2023 13:19:09] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 13:19:09] "GET /static/semantic.min.css HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /static/img.png HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /static/photoswipe/photoswipe.css HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:19:09] "GET /static/js/jquery.min.js HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /static/semantic.js HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /static/photoswipe/photoswipe.umd.min.js HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /static/photoswipe/photoswipe-lightbox.umd.min.js HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /static/themes/default/assets/fonts/brand-icons.woff2 HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /static/themes/default/assets/fonts/icons.woff2 HTTP/1.0" 304 0
-[19/Jul/2023 13:19:09] "GET /static/favicon.ico HTTP/1.0" 304 0
-[19/Jul/2023 13:21:01] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 13:21:03] "GET / HTTP/1.0" 200 33106
-Not Found: /wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:05] "GET /wp-includes/wlwmanifest.xml HTTP/1.0" 404 3762
-Not Found: /xmlrpc.php
-[19/Jul/2023 13:21:06] "GET /xmlrpc.php?rsd HTTP/1.0" 404 3715
-[19/Jul/2023 13:21:09] "GET / HTTP/1.0" 200 33106
-Not Found: /blog/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:12] "GET /blog/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3777
-Not Found: /web/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:13] "GET /web/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3774
-Not Found: /wordpress/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:20] "GET /wordpress/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3792
-Not Found: /website/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:21] "GET /website/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3786
-Not Found: /news/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:23] "GET /news/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3777
-Not Found: /2020/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:24] "GET /2020/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3777
-Not Found: /shop/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:26] "GET /shop/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3777
-Not Found: /test/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:27] "GET /test/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3777
-Not Found: /wp2/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:29] "GET /wp2/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3774
-Not Found: /cms/wp-includes/wlwmanifest.xml
-[19/Jul/2023 13:21:30] "GET /cms/wp-includes/wlwmanifest.xml HTTP/1.0" 404 3774
-Not Found: /_ignition/execute-solution
-[19/Jul/2023 13:21:34] "GET /_ignition/execute-solution HTTP/1.0" 404 3759
-[19/Jul/2023 13:25:21] "HEAD / HTTP/1.0" 200 33106
-Not Found: /manager/html
-[19/Jul/2023 13:25:46] "GET /manager/html HTTP/1.0" 404 3717
-[19/Jul/2023 13:26:19] "HEAD / HTTP/1.0" 200 33106
-[19/Jul/2023 13:26:31] "HEAD / HTTP/1.0" 200 33106
-[19/Jul/2023 13:26:52] "HEAD / HTTP/1.0" 200 33106
-[19/Jul/2023 13:27:49] "HEAD / HTTP/1.0" 200 33106
-[19/Jul/2023 13:27:57] "HEAD / HTTP/1.0" 200 33106
-[19/Jul/2023 13:32:33] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 13:32:34] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 13:32:35] "GET /static/semantic.min.css HTTP/1.0" 200 628512
-[19/Jul/2023 13:32:35] "GET /static/img.png HTTP/1.0" 200 6719
-[19/Jul/2023 13:32:35] "GET /static/photoswipe/photoswipe.css HTTP/1.0" 200 6994
-[19/Jul/2023 13:32:35] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:32:35] "GET /static/js/jquery.min.js HTTP/1.0" 200 95789
-[19/Jul/2023 13:32:35] "GET /static/semantic.js HTTP/1.0" 200 737378
-[19/Jul/2023 13:32:35] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 13:32:35] "GET /static/photoswipe/photoswipe.umd.min.js HTTP/1.0" 200 52920
-[19/Jul/2023 13:32:36] "GET /static/photoswipe/photoswipe-lightbox.umd.min.js HTTP/1.0" 200 13794
-[19/Jul/2023 13:32:46] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:32:46] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 13:32:58] "GET /static/themes/default/assets/fonts/icons.woff2 HTTP/1.0" 200 40148
-[19/Jul/2023 13:32:58] "GET /static/themes/default/assets/fonts/brand-icons.woff2 HTTP/1.0" 200 54488
-[19/Jul/2023 13:33:18] "GET /static/favicon.ico HTTP/1.0" 200 15406
-[19/Jul/2023 13:33:22] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 13:33:22] "GET /static/photoswipe/photoswipe.css HTTP/1.0" 200 6994
-[19/Jul/2023 13:33:22] "GET /static/semantic.min.css HTTP/1.0" 200 628512
-[19/Jul/2023 13:33:22] "GET /static/img.png HTTP/1.0" 200 6719
-[19/Jul/2023 13:33:22] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:33:22] "GET /static/js/jquery.min.js HTTP/1.0" 200 95789
-[19/Jul/2023 13:33:22] "GET /static/semantic.js HTTP/1.0" 200 737378
-[19/Jul/2023 13:33:22] "GET /static/photoswipe/photoswipe.umd.min.js HTTP/1.0" 200 52920
-[19/Jul/2023 13:33:22] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 13:33:23] "GET /static/photoswipe/photoswipe-lightbox.umd.min.js HTTP/1.0" 200 13794
-[19/Jul/2023 13:33:24] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:33:24] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 13:33:48] "GET /static/themes/default/assets/fonts/icons.woff2 HTTP/1.0" 200 40148
-[19/Jul/2023 13:33:48] "GET /static/themes/default/assets/fonts/brand-icons.woff2 HTTP/1.0" 200 54488
-[19/Jul/2023 13:34:06] "GET /static/favicon.ico HTTP/1.0" 200 15406
-[19/Jul/2023 13:39:26] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 13:39:46] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 13:39:46] "GET /static/semantic.min.css HTTP/1.0" 200 628512
-[19/Jul/2023 13:39:46] "GET /static/photoswipe/photoswipe.css HTTP/1.0" 200 6994
-[19/Jul/2023 13:39:46] "GET /static/js/jquery.min.js HTTP/1.0" 200 95789
-[19/Jul/2023 13:39:46] "GET /static/img.png HTTP/1.0" 200 6719
-[19/Jul/2023 13:39:46] "GET /static/photoswipe/photoswipe.umd.min.js HTTP/1.0" 200 52920
-[19/Jul/2023 13:39:46] "GET /static/photoswipe/photoswipe-lightbox.umd.min.js HTTP/1.0" 200 13794
-[19/Jul/2023 13:39:46] "GET /static/semantic.js HTTP/1.0" 200 737378
-[19/Jul/2023 13:39:46] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:39:46] "GET /avatars/1/wallhaven-5gdp69_2.jpg HTTP/1.0" 200 1692204
-[19/Jul/2023 13:39:47] "GET /static/themes/default/assets/fonts/icons.woff2 HTTP/1.0" 200 40148
-[19/Jul/2023 13:39:51] "GET /static/favicon.ico HTTP/1.0" 200 15406
-[19/Jul/2023 13:39:55] "GET /article/90.html HTTP/1.0" 200 11843
-[19/Jul/2023 13:39:55] "GET /static/highlightjs/styles/androidstudio.min.css HTTP/1.0" 200 611
-[19/Jul/2023 13:39:55] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:39:55] "GET /static/highlightjs/highlight.min.js HTTP/1.0" 200 149111
-[19/Jul/2023 13:39:59] "GET /article/87.html HTTP/1.0" 200 11921
-[19/Jul/2023 13:39:59] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:40:04] "GET /article/69.html HTTP/1.0" 200 13104
-[19/Jul/2023 13:40:04] "GET /user_avatar/1 HTTP/1.0" 302 0
-[19/Jul/2023 13:40:04] "GET /upload/files/png/ccb0ec18b42272371fb002ca0fc45df5.png HTTP/1.0" 200 30589
-[19/Jul/2023 13:40:17] "GET / HTTP/1.0" 200 33106
-[19/Jul/2023 13:40:18] "GET /user_avatar/1 HTTP/1.0" 302 0
-Internal Server Error: /login
-Traceback (most recent call last):
-  File "/root/.local/share/virtualenvs/Blog-KJAQzlvs/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
-    response = get_response(request)
-  File "/root/.local/share/virtualenvs/Blog-KJAQzlvs/lib/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response
-    response = wrapped_callback(request, *callback_args, **callback_kwargs)
-  File "/opt/Blog/blog/controller/login.py", line 40, in login
-    if request.session["is_login"]:
-  File "/root/.local/share/virtualenvs/Blog-KJAQzlvs/lib/python3.6/site-packages/django/contrib/sessions/backends/base.py", line 65, in __getitem__
-    return self._session[key]
-KeyError: 'is_login'
-[19/Jul/2023 13:40:19] "GET /login HTTP/1.0" 500 68901
-Not Found: /favicon.ico
-[19/Jul/2023 13:40:19] "GET /favicon.ico HTTP/1.0" 404 3714

+ 1 - 1
system/settings.py

@@ -22,7 +22,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
 SECRET_KEY = 'django-insecure-e$=2ugc1&8s)+2qr-3w^b3309(coxep^a@jcc*+0t$_vrn#hsx'
 
 # SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = False
+DEBUG = True
 
 ALLOWED_HOSTS = ['*']  # 修改后,表示任何域名都能访问。如果指定域名的话,在''里放入指定的域名即可