root 1 рік тому
батько
коміт
b0ce344f6a

+ 2 - 2
Pipfile

@@ -4,11 +4,11 @@ verify_ssl = true
 name = "pypi"
 
 [packages]
-pillow = {path = "./Pillow-8.4.0-cp310-cp310-win32.whl"}
 django = "*"
 django-avatar = "*"
+pillow = "*"
 
 [dev-packages]
 
 [requires]
-python_version = "3.10"
+python_version = "3.6"

+ 61 - 86
Pipfile.lock

@@ -1,11 +1,11 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "35ff7213de11801b0bc0acc12c21b63a635a1b107671f826a1c0b15f81c869a8"
+            "sha256": "ee16dedbc682b3479672880f528e155c790cabb5a478d3d2866b4fc74aa9500d"
         },
         "pipfile-spec": 6,
         "requires": {
-            "python_version": "3.10"
+            "python_version": "3.6"
         },
         "sources": [
             {
@@ -16,37 +16,21 @@
         ]
     },
     "default": {
-        "anyio": {
-            "hashes": [
-                "sha256:44a3c9aba0f5defa43261a8b3efb97891f2bd7d804e0e1f56419befa1adfc780",
-                "sha256:91dee416e570e92c64041bd18b900d1d6fa78dff7048769ce5ac5ddad004fbb5"
-            ],
-            "markers": "python_version >= '3.7'",
-            "version": "==3.7.1"
-        },
         "asgiref": {
             "hashes": [
-                "sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e",
-                "sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed"
-            ],
-            "markers": "python_version >= '3.7'",
-            "version": "==3.7.2"
-        },
-        "certifi": {
-            "hashes": [
-                "sha256:0f0d56dc5a6ad56fd4ba36484d6cc34451e1c6548c61daad8c320169f91eddc7",
-                "sha256:c6c2e98f5c7869efca1f8916fed228dd91539f9f1b444c314c06eef02980c716"
+                "sha256:4ef1ab46b484e3c706329cedeff284a5d40824200638503f5768edb6de7d58e9",
+                "sha256:ffc141aa908e6f175673e7b1b3b7af4fdb0ecb738fc5c8b88f69f055c2415214"
             ],
             "markers": "python_version >= '3.6'",
-            "version": "==2023.5.7"
+            "version": "==3.4.1"
         },
         "django": {
             "hashes": [
-                "sha256:45a747e1c5b3d6df1b141b1481e193b033fd1fdbda3ff52677dc81afdaacbaed",
-                "sha256:f7c7852a5ac5a3da5a8d5b35cc6168f31b605971441798dac845f17ca8028039"
+                "sha256:a477ab326ae7d8807dc25c186b951ab8c7648a3a23f9497763c37307a2b5ef87",
+                "sha256:dec2a116787b8e14962014bf78e120bba454135108e1af9e9b91ade7b2964c40"
             ],
             "index": "pypi",
-            "version": "==4.2.3"
+            "version": "==3.2.20"
         },
         "django-appconf": {
             "hashes": [
@@ -58,66 +42,65 @@
         },
         "django-avatar": {
             "hashes": [
-                "sha256:63746160a76c69e040ddf021d38a73389a268672e6e3cb3d1152346f2dcb0bd5",
-                "sha256:a80343492fa83450d3b3e545277dcd0d527f82d8918435f1e6a1b7589acf7196"
+                "sha256:251af5b7d372018411bb265b6c06f12f52878259aeb822f40217a2a31460f925",
+                "sha256:ee88d877d230249f01d4540fc0e22d7d10639458b8ba4863d901d61d9f74f8ec"
             ],
             "index": "pypi",
-            "version": "==7.1.1"
-        },
-        "dnspython": {
-            "hashes": [
-                "sha256:46b4052a55b56beea3a3bdd7b30295c292bd6827dd442348bc116f2d35b17f0a",
-                "sha256:758e691dbb454d5ccf4e1b154a19e52847f79e21a42fef17b969144af29a4e6c"
-            ],
-            "markers": "python_version >= '3.8' and python_version < '4.0'",
-            "version": "==2.4.0"
-        },
-        "exceptiongroup": {
-            "hashes": [
-                "sha256:12c3e887d6485d16943a309616de20ae5582633e0a2eda17f4e10fd61c1e8af5",
-                "sha256:e346e69d186172ca7cf029c8c1d16235aa0e04035e5750b4b95039e65204328f"
-            ],
-            "markers": "python_version < '3.11'",
-            "version": "==1.1.2"
-        },
-        "h11": {
-            "hashes": [
-                "sha256:8f19fbbe99e72420ff35c00b27a34cb9937e902a8b810e2c88300c6f0a3b699d",
-                "sha256:e3fe4ac4b851c468cc8363d500db52c2ead036020723024a109d37346efaa761"
-            ],
-            "markers": "python_version >= '3.7'",
-            "version": "==0.14.0"
-        },
-        "httpcore": {
-            "hashes": [
-                "sha256:a6f30213335e34c1ade7be6ec7c47f19f50c56db36abef1a9dfa3815b1cb3888",
-                "sha256:c2789b767ddddfa2a5782e3199b2b7f6894540b17b16ec26b2c4d8e103510b87"
-            ],
-            "markers": "python_version >= '3.8'",
-            "version": "==0.17.3"
-        },
-        "idna": {
-            "hashes": [
-                "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4",
-                "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"
-            ],
-            "markers": "python_version >= '3.5'",
-            "version": "==3.4"
+            "version": "==7.0.1"
         },
         "pillow": {
             "hashes": [
-                "sha256:e3dacecfbeec9a33e932f00c6cd7996e62f53ad46fbe677577394aaa90ee419a"
+                "sha256:066f3999cb3b070a95c3652712cffa1a748cd02d60ad7b4e485c3748a04d9d76",
+                "sha256:0a0956fdc5defc34462bb1c765ee88d933239f9a94bc37d132004775241a7585",
+                "sha256:0b052a619a8bfcf26bd8b3f48f45283f9e977890263e4571f2393ed8898d331b",
+                "sha256:1394a6ad5abc838c5cd8a92c5a07535648cdf6d09e8e2d6df916dfa9ea86ead8",
+                "sha256:1bc723b434fbc4ab50bb68e11e93ce5fb69866ad621e3c2c9bdb0cd70e345f55",
+                "sha256:244cf3b97802c34c41905d22810846802a3329ddcb93ccc432870243211c79fc",
+                "sha256:25a49dc2e2f74e65efaa32b153527fc5ac98508d502fa46e74fa4fd678ed6645",
+                "sha256:2e4440b8f00f504ee4b53fe30f4e381aae30b0568193be305256b1462216feff",
+                "sha256:3862b7256046fcd950618ed22d1d60b842e3a40a48236a5498746f21189afbbc",
+                "sha256:3eb1ce5f65908556c2d8685a8f0a6e989d887ec4057326f6c22b24e8a172c66b",
+                "sha256:3f97cfb1e5a392d75dd8b9fd274d205404729923840ca94ca45a0af57e13dbe6",
+                "sha256:493cb4e415f44cd601fcec11c99836f707bb714ab03f5ed46ac25713baf0ff20",
+                "sha256:4acc0985ddf39d1bc969a9220b51d94ed51695d455c228d8ac29fcdb25810e6e",
+                "sha256:5503c86916d27c2e101b7f71c2ae2cddba01a2cf55b8395b0255fd33fa4d1f1a",
+                "sha256:5b7bb9de00197fb4261825c15551adf7605cf14a80badf1761d61e59da347779",
+                "sha256:5e9ac5f66616b87d4da618a20ab0a38324dbe88d8a39b55be8964eb520021e02",
+                "sha256:620582db2a85b2df5f8a82ddeb52116560d7e5e6b055095f04ad828d1b0baa39",
+                "sha256:62cc1afda735a8d109007164714e73771b499768b9bb5afcbbee9d0ff374b43f",
+                "sha256:70ad9e5c6cb9b8487280a02c0ad8a51581dcbbe8484ce058477692a27c151c0a",
+                "sha256:72b9e656e340447f827885b8d7a15fc8c4e68d410dc2297ef6787eec0f0ea409",
+                "sha256:72cbcfd54df6caf85cc35264c77ede902452d6df41166010262374155947460c",
+                "sha256:792e5c12376594bfcb986ebf3855aa4b7c225754e9a9521298e460e92fb4a488",
+                "sha256:7b7017b61bbcdd7f6363aeceb881e23c46583739cb69a3ab39cb384f6ec82e5b",
+                "sha256:81f8d5c81e483a9442d72d182e1fb6dcb9723f289a57e8030811bac9ea3fef8d",
+                "sha256:82aafa8d5eb68c8463b6e9baeb4f19043bb31fefc03eb7b216b51e6a9981ae09",
+                "sha256:84c471a734240653a0ec91dec0996696eea227eafe72a33bd06c92697728046b",
+                "sha256:8c803ac3c28bbc53763e6825746f05cc407b20e4a69d0122e526a582e3b5e153",
+                "sha256:93ce9e955cc95959df98505e4608ad98281fff037350d8c2671c9aa86bcf10a9",
+                "sha256:9a3e5ddc44c14042f0844b8cf7d2cd455f6cc80fd7f5eefbe657292cf601d9ad",
+                "sha256:a4901622493f88b1a29bd30ec1a2f683782e57c3c16a2dbc7f2595ba01f639df",
+                "sha256:a5a4532a12314149d8b4e4ad8ff09dde7427731fcfa5917ff16d0291f13609df",
+                "sha256:b8831cb7332eda5dc89b21a7bce7ef6ad305548820595033a4b03cf3091235ed",
+                "sha256:b8e2f83c56e141920c39464b852de3719dfbfb6e3c99a2d8da0edf4fb33176ed",
+                "sha256:c70e94281588ef053ae8998039610dbd71bc509e4acbc77ab59d7d2937b10698",
+                "sha256:c8a17b5d948f4ceeceb66384727dde11b240736fddeda54ca740b9b8b1556b29",
+                "sha256:d82cdb63100ef5eedb8391732375e6d05993b765f72cb34311fab92103314649",
+                "sha256:d89363f02658e253dbd171f7c3716a5d340a24ee82d38aab9183f7fdf0cdca49",
+                "sha256:d99ec152570e4196772e7a8e4ba5320d2d27bf22fdf11743dd882936ed64305b",
+                "sha256:ddc4d832a0f0b4c52fff973a0d44b6c99839a9d016fe4e6a1cb8f3eea96479c2",
+                "sha256:e3dacecfbeec9a33e932f00c6cd7996e62f53ad46fbe677577394aaa90ee419a",
+                "sha256:eb9fc393f3c61f9054e1ed26e6fe912c7321af2f41ff49d3f83d05bacf22cc78"
             ],
-            "path": "./Pillow-8.4.0-cp310-cp310-win32.whl",
+            "index": "pypi",
             "version": "==8.4.0"
         },
-        "sniffio": {
+        "pytz": {
             "hashes": [
-                "sha256:e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101",
-                "sha256:eecefdce1e5bbfb7ad2eeaabf7c1eeb404d7757c379bd1f7e5cce9d8bf425384"
+                "sha256:1d8ce29db189191fb55338ee6d0387d82ab59f3d00eac103412d64e0ebd0c588",
+                "sha256:a151b3abb88eda1d4e34a9814df37de2a80e301e68ba0fd856fb9b46bfbbbffb"
             ],
-            "markers": "python_version >= '3.7'",
-            "version": "==1.3.0"
+            "version": "==2023.3"
         },
         "sqlparse": {
             "hashes": [
@@ -129,19 +112,11 @@
         },
         "typing-extensions": {
             "hashes": [
-                "sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36",
-                "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2"
+                "sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42",
+                "sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2"
             ],
-            "markers": "python_version < '3.11'",
-            "version": "==4.7.1"
-        },
-        "tzdata": {
-            "hashes": [
-                "sha256:11ef1e08e54acb0d4f95bdb1be05da659673de4acbd21bf9c69e94cc5e907a3a",
-                "sha256:7e65763eef3120314099b6939b5546db7adce1e7d6f2e179e3df563c70511eda"
-            ],
-            "markers": "sys_platform == 'win32'",
-            "version": "==2023.3"
+            "markers": "python_version < '3.8'",
+            "version": "==4.1.1"
         }
     },
     "develop": {}

BIN
blog/__pycache__/__init__.cpython-36.pyc


BIN
blog/__pycache__/apps.cpython-36.pyc


BIN
blog/__pycache__/models.cpython-36.pyc


BIN
blog/__pycache__/views.cpython-36.pyc


BIN
blog/templatetags/__pycache__/__init__.cpython-36.pyc


+ 343 - 0
nohup.out

@@ -0,0 +1,343 @@
+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

+ 4 - 0
start.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+nohup python3 manage.py runserver 0.0.0.0:9000 --insecure &
+
+

BIN
system/__pycache__/__init__.cpython-36.pyc


BIN
system/__pycache__/settings.cpython-36.pyc


BIN
system/__pycache__/urls.cpython-36.pyc


+ 3 - 3
system/settings.py

@@ -139,9 +139,9 @@ STATICFILES_DIRS = (
 
 UPLOAD_URL = '/upload/files'
 
-# UPLOAD_ROOT = '/opt/IBE/files'
-UPLOAD_ROOT = 'E:\\opt\\IBE\\files'
+UPLOAD_ROOT = '/opt/files'
+#UPLOAD_ROOT = 'E:\\opt\\IBE\\files'
 
 DOMAIN = ''
 
-AVATAR_DIR = BASE_DIR.joinpath('avatars')
+AVATAR_DIR = BASE_DIR.joinpath('avatars')

+ 1 - 1
templates/_common/base.html

@@ -135,7 +135,7 @@
 
             {% endfor %}
             <div class="right menu">
-                <a href="#" class="item"> <i class="icon gitlab "></i>
+                <a href="http://git.cybersicko.net" class="item"> <i class="icon gitlab "></i>
                     Git Repository</a>
                   <a href="/login" class="item"> <i class="icon share square"></i>
                     Sign in</a>