Content:
Hello everyone!
I'm trying to set up a Django project on OpenLiteSpeed and am facing some challenges in properly configuring the static files.
Based on the user manual's recommendations, I've set STATIC_URL and STATIC_ROOT in my settings.py as follows:
Copy code
STATIC_URL =...
Content:
Hello everyone!
I'm trying to set up a Django project on OpenLiteSpeed and am facing some challenges in properly configuring the static files.
Based on the user manual's recommendations, I've set STATIC_URL and STATIC_ROOT in my settings.py as follows:
pythonCopy code
STATIC_URL =...
I changed all the permissions and I got a good result, this is an extreme solution to a problem. Then everything returns to the state of origin
(html) ongtrenciudadano@test2djangopenlite:/usr/local/lsws/Example/html/demo$ sudo
chmod -R 777 /usr/local/lsws/Example/html/demo/
(html)...
make a user change for db.sqlite3 and the result is not the same
(html) ongtrenciudadano@test2djangopenlite:/usr/local/lsws/Example/html/demo$ ls -l
total 148
drwxr-xr-x 4 nobody nogroup 4096 Feb 17 2021 app
-rw-rw-r-- 1 ongtrenciudadano ongtrenciudadano 131072 Feb 17 2021...
Hello. I need to resolve a situation. I follow all the steps to install django openlitespeed and getting to createsuperuser it doesn't allow to create it: 59: cannot create /usr/local/lsws/admin/mis
c/../conf/htpasswd: Permission denied