Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1722

Fix Django Admin page when running under Apache

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      CSS's are not properly found when using Django "admin" page at testappstore.bioviz.org.

      Possibly useful tips (guesses) about what could be going wrong:

      • Probably this is related to static digital assets not be properly found by Apache Web server when users hit the admin link.
      • These are probably stored within the Django installation location itself, which is residing in the virtual environment directory used to run Django by Apache.

        Attachments

          Activity

          Hide
          svallapu Sai Charan Reddy Vallapureddy added a comment -

          Add STATIC_ROOT in the settings.py
          STATIC_ROOT = os.path.join(BASE_DIR, 'static')

          and execute below command to copy all static files to the above static root folder

          python manage.py collectstatic

          Note: Added this line to the AppStore documentation.

          Show
          svallapu Sai Charan Reddy Vallapureddy added a comment - Add STATIC_ROOT in the settings.py STATIC_ROOT = os.path.join(BASE_DIR, 'static') and execute below command to copy all static files to the above static root folder python manage.py collectstatic Note: Added this line to the AppStore documentation.
          Hide
          svallapu Sai Charan Reddy Vallapureddy added a comment -
          Show
          svallapu Sai Charan Reddy Vallapureddy added a comment - Ann Loraine
          Hide
          svallapu Sai Charan Reddy Vallapureddy added a comment -

          tested in testappstore.bioviz.org. Functionality is working as expected.

          Show
          svallapu Sai Charan Reddy Vallapureddy added a comment - tested in testappstore.bioviz.org. Functionality is working as expected.

            People

            • Assignee:
              svallapu Sai Charan Reddy Vallapureddy
              Reporter:
              aloraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: