Search results

  1. O

    Django. Problem Configuring Static Files in OpenLiteSpeed with Django Project

    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 =...
  2. O

    Title: Problem Configuring Static Files in OpenLiteSpeed with Django Project

    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 =...
  3. O

    python3 manage.py createsuperuser

    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)...
  4. O

    python3 manage.py createsuperuser

    the result: (html) ongtrenciudadano@test2djangopenlite:/usr/local/lsws/Example/html/demo$ sudo chown -R nobody:nogroup /usr/local/lsws/Example/html/demo (html) ongtrenciudadano@test2djangopenlite:/usr/local/lsws/Example/html/demo$ pytho n3 manage.py createsuperuser Username (leave blank to use...
  5. O

    python3 manage.py createsuperuser

    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...
  6. O

    python3 manage.py createsuperuser

    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 lsadm lsadm 131072 Feb 17 2021 db.sqlite3 drwxr-xr-x 3 ongtrenciudadano nogroup 4096 May 16 18:48 demo -rwxr-xr-x 1...
  7. O

    python3 manage.py createsuperuser

    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
Top