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

          ann.loraine Ann Loraine created issue -
          ann.loraine Ann Loraine made changes -
          Field Original Value New Value
          Epic Link IGBF-1388 [ 17463 ]
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Assignee Sai Charan Reddy Vallapureddy [ svallapu ]
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          svallapu Sai Charan Reddy Vallapureddy (Inactive) 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 (Inactive) 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 (Inactive) added a comment -

          [~aloraine]

          Show
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - [~aloraine]
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Status In Progress [ 3 ] Needs Testing [ 10002 ]
          svallapu Sai Charan Reddy Vallapureddy (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Needs Testing [ 10002 ] Closed [ 6 ]
          Hide
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

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

          Show
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - tested in testappstore.bioviz.org. Functionality is working as expected.
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 18444 ] Fall 2019 Workflow Update [ 20157 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 20157 ] Revised Fall 2019 Workflow Update [ 22293 ]

            People

            • Assignee:
              svallapu Sai Charan Reddy Vallapureddy (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: