Django doesn't find CSS files for admin pages using uWSGIHas anyone used uwsgi nginx and django for a high-load environment?How to serve Django admin media files on BluehostUnicodeEncodeError when uploading files in Django adminuWSGI cannot find “application” using Flask and VirtualenvReload signal for UWSGI when using Supervisord?Why is Upstart not starting uWSGI?How to serve static files for multiple Django projects via nginx to same domainDjango uwsgi Nginx not serving media files - Django returns 404 status codeDjango uwsgi deploy. Unable to find 'application'Nginx is caching error pages for Django

Explain Ant-Man's "not it" scene from Avengers: Endgame

Where can I find the list of all tendons in the human body?

Looking after a wayward brother in mother's will

Applicants clearly not having the skills they advertise

Is there a rule that prohibits us from using 2 possessives in a row?

Are grass strips more dangerous than tarmac?

Term for checking piece whose opponent daren't capture it

When was the word "ambigu" first used with the sense of "meal with all items served at the same time"?

Grep complete name including dot in the word

What is the purpose of std::forward()'s rvalue reference overload?

If Sweden was to magically float away, at what altitude would it be visible from the southern hemisphere?

How crucial is a waifu game storyline?

Modern approach to radio buttons

Did airlines fly their aircraft slower in response to oil prices in the 1970s?

Singlequote and backslash

The deliberate use of misleading terminology

Site-specific value for an appsetting in a multisite solution

What does the wifi amplifier exactly amplify?

How and where to change add to cart message in Magento 2?

What is the intuition behind uniform continuity?

How can an eldritch abomination hide its true form in public?

The qvolume of an integer

Is there any Biblical Basis for 400 years of silence between Old and New Testament?

Can an old DSLR be upgraded to match modern smartphone image quality



Django doesn't find CSS files for admin pages using uWSGI


Has anyone used uwsgi nginx and django for a high-load environment?How to serve Django admin media files on BluehostUnicodeEncodeError when uploading files in Django adminuWSGI cannot find “application” using Flask and VirtualenvReload signal for UWSGI when using Supervisord?Why is Upstart not starting uWSGI?How to serve static files for multiple Django projects via nginx to same domainDjango uwsgi Nginx not serving media files - Django returns 404 status codeDjango uwsgi deploy. Unable to find 'application'Nginx is caching error pages for Django






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








5















Even if I followed the official instructions, when I start a Django test site using uWSGI, CSS files for the admin interface are not loaded. If I open the URL of a CSS file, for example http://localhost:8443/static/admin/css/base.css, I get a 404 error. I searched for the local file and I guess its path is /usr/local/lib/python3.3/dist-packages/django/contrib/admin/static/admin/css/base.css; so I also tried to run uwsgi as root, but nothing changed.



I have no problem using python3 manage.py runserver. If I open http://localhost:8000/static/admin/css/base.css, the file is loaded in the browser, and the style is applied to the admin page.



This is the command I execute in bash:



uwsgi --ini ~/.uwsgi/conf/django.ini --set-placeholder project_name=mysite --set-placeholder port=8443


and this is the content of django.ini:



[uwsgi]
module = %(project_name).wsgi:application
https = :%(port),/usr/local/nginx/conf/server.crt,/usr/local/nginx/conf/server.key,HIGH
strict = true
chdir = /home/marco/django-projects/%(project_name)
env = DJANGO_SETTINGS_MODULE=%(project_name).settings
socket = /home/marco/.uwsgi/%(project_name).socket
pidfile = /home/marco/.uwsgi/%(project_name).pid
daemonize = /home/marco/.uwsgi/%(project_name).log
master = true
enable-threads = true
harakiri = 20
max-requests = 5000
vacuum = true









share|improve this question




























    5















    Even if I followed the official instructions, when I start a Django test site using uWSGI, CSS files for the admin interface are not loaded. If I open the URL of a CSS file, for example http://localhost:8443/static/admin/css/base.css, I get a 404 error. I searched for the local file and I guess its path is /usr/local/lib/python3.3/dist-packages/django/contrib/admin/static/admin/css/base.css; so I also tried to run uwsgi as root, but nothing changed.



    I have no problem using python3 manage.py runserver. If I open http://localhost:8000/static/admin/css/base.css, the file is loaded in the browser, and the style is applied to the admin page.



    This is the command I execute in bash:



    uwsgi --ini ~/.uwsgi/conf/django.ini --set-placeholder project_name=mysite --set-placeholder port=8443


    and this is the content of django.ini:



    [uwsgi]
    module = %(project_name).wsgi:application
    https = :%(port),/usr/local/nginx/conf/server.crt,/usr/local/nginx/conf/server.key,HIGH
    strict = true
    chdir = /home/marco/django-projects/%(project_name)
    env = DJANGO_SETTINGS_MODULE=%(project_name).settings
    socket = /home/marco/.uwsgi/%(project_name).socket
    pidfile = /home/marco/.uwsgi/%(project_name).pid
    daemonize = /home/marco/.uwsgi/%(project_name).log
    master = true
    enable-threads = true
    harakiri = 20
    max-requests = 5000
    vacuum = true









    share|improve this question
























      5












      5








      5


      1






      Even if I followed the official instructions, when I start a Django test site using uWSGI, CSS files for the admin interface are not loaded. If I open the URL of a CSS file, for example http://localhost:8443/static/admin/css/base.css, I get a 404 error. I searched for the local file and I guess its path is /usr/local/lib/python3.3/dist-packages/django/contrib/admin/static/admin/css/base.css; so I also tried to run uwsgi as root, but nothing changed.



      I have no problem using python3 manage.py runserver. If I open http://localhost:8000/static/admin/css/base.css, the file is loaded in the browser, and the style is applied to the admin page.



      This is the command I execute in bash:



      uwsgi --ini ~/.uwsgi/conf/django.ini --set-placeholder project_name=mysite --set-placeholder port=8443


      and this is the content of django.ini:



      [uwsgi]
      module = %(project_name).wsgi:application
      https = :%(port),/usr/local/nginx/conf/server.crt,/usr/local/nginx/conf/server.key,HIGH
      strict = true
      chdir = /home/marco/django-projects/%(project_name)
      env = DJANGO_SETTINGS_MODULE=%(project_name).settings
      socket = /home/marco/.uwsgi/%(project_name).socket
      pidfile = /home/marco/.uwsgi/%(project_name).pid
      daemonize = /home/marco/.uwsgi/%(project_name).log
      master = true
      enable-threads = true
      harakiri = 20
      max-requests = 5000
      vacuum = true









      share|improve this question














      Even if I followed the official instructions, when I start a Django test site using uWSGI, CSS files for the admin interface are not loaded. If I open the URL of a CSS file, for example http://localhost:8443/static/admin/css/base.css, I get a 404 error. I searched for the local file and I guess its path is /usr/local/lib/python3.3/dist-packages/django/contrib/admin/static/admin/css/base.css; so I also tried to run uwsgi as root, but nothing changed.



      I have no problem using python3 manage.py runserver. If I open http://localhost:8000/static/admin/css/base.css, the file is loaded in the browser, and the style is applied to the admin page.



      This is the command I execute in bash:



      uwsgi --ini ~/.uwsgi/conf/django.ini --set-placeholder project_name=mysite --set-placeholder port=8443


      and this is the content of django.ini:



      [uwsgi]
      module = %(project_name).wsgi:application
      https = :%(port),/usr/local/nginx/conf/server.crt,/usr/local/nginx/conf/server.key,HIGH
      strict = true
      chdir = /home/marco/django-projects/%(project_name)
      env = DJANGO_SETTINGS_MODULE=%(project_name).settings
      socket = /home/marco/.uwsgi/%(project_name).socket
      pidfile = /home/marco/.uwsgi/%(project_name).pid
      daemonize = /home/marco/.uwsgi/%(project_name).log
      master = true
      enable-threads = true
      harakiri = 20
      max-requests = 5000
      vacuum = true






      python django uwsgi static-content






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 10 '13 at 19:41









      Marco SullaMarco Sulla

      1522214




      1522214




















          2 Answers
          2






          active

          oldest

          votes


















          4














          Official deployment docs (independently by the WSGI server) do not cover serving static files (that is generally managed by the webserver). The right docs are here:



          https://docs.djangoproject.com/en/dev/howto/static-files/deployment/



          eventually serving static files is pretty easy with uWSGI:



          http://uwsgi-docs.readthedocs.org/en/latest/StaticFiles.html



          but if you can do it in nginx it is better






          share|improve this answer























          • Thank you, I also followed this simple tutorial: uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html , even if it does not remember to add to PROJECT/settings.py the line STATIC_ROOT = os.path.join(BASE_DIR, "static")and run python3 manage.py collectstatic.

            – Marco Sulla
            Dec 14 '13 at 22:07


















          1














          I have the same problem. My nginx server on Centos 7.6 can't access to static folder in path /home/user/app/mysyte/static/. In /var/log/nginx/error.log same error



          open() "/home/user/app/mysyte/static/*.css" failed (13: Permission denied)


          For solving and understanding this problem :=*



          1. run command getenforce

          2. if enforcing - cat /var/log/audit/audit.log | grep nginx

          for me string with errrors looks like



          type=AVC msg=audit(1558033633.723:201): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
          type=SYSCALL msg=audit(1558033633.723:201): arch=c000003e syscall=2 success=no exit=-13 a0=564f710dd55d a1=800 a2=0 a3=68632f656d6f682f items=0 ppid=7757 pid=7758 auid=4294967295 uid=998 gid=996 euid=998 suid=998 fsuid=998 egid=996 sgid=996 fsgid=996 tty=(none) ses=4294967295 comm="nginx" exe="/usr/sbin/nginx" subj=system_u:system_r:httpd_t:s0 key=(null)


          copy id of audit msg 1558033633.723:201



          1. run command grep yours_audit_id /var/log/audit/audit.log | audit2why

          output for me



          [root@uwsgi ~]# grep 1558034479.384:221 /var/log/audit/audit.log | audit2why
          type=AVC msg=audit(1558034479.384:221): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0

          Was caused by:
          The boolean httpd_read_user_content was set incorrectly.
          Description:
          Allow httpd to read user content

          Allow access by executing:
          # setsebool -P httpd_read_user_content 1


          So as you can see answer here setsebool -P httpd_read_user_content 1 when you run this command you see your static content






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "2"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f560493%2fdjango-doesnt-find-css-files-for-admin-pages-using-uwsgi%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            Official deployment docs (independently by the WSGI server) do not cover serving static files (that is generally managed by the webserver). The right docs are here:



            https://docs.djangoproject.com/en/dev/howto/static-files/deployment/



            eventually serving static files is pretty easy with uWSGI:



            http://uwsgi-docs.readthedocs.org/en/latest/StaticFiles.html



            but if you can do it in nginx it is better






            share|improve this answer























            • Thank you, I also followed this simple tutorial: uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html , even if it does not remember to add to PROJECT/settings.py the line STATIC_ROOT = os.path.join(BASE_DIR, "static")and run python3 manage.py collectstatic.

              – Marco Sulla
              Dec 14 '13 at 22:07















            4














            Official deployment docs (independently by the WSGI server) do not cover serving static files (that is generally managed by the webserver). The right docs are here:



            https://docs.djangoproject.com/en/dev/howto/static-files/deployment/



            eventually serving static files is pretty easy with uWSGI:



            http://uwsgi-docs.readthedocs.org/en/latest/StaticFiles.html



            but if you can do it in nginx it is better






            share|improve this answer























            • Thank you, I also followed this simple tutorial: uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html , even if it does not remember to add to PROJECT/settings.py the line STATIC_ROOT = os.path.join(BASE_DIR, "static")and run python3 manage.py collectstatic.

              – Marco Sulla
              Dec 14 '13 at 22:07













            4












            4








            4







            Official deployment docs (independently by the WSGI server) do not cover serving static files (that is generally managed by the webserver). The right docs are here:



            https://docs.djangoproject.com/en/dev/howto/static-files/deployment/



            eventually serving static files is pretty easy with uWSGI:



            http://uwsgi-docs.readthedocs.org/en/latest/StaticFiles.html



            but if you can do it in nginx it is better






            share|improve this answer













            Official deployment docs (independently by the WSGI server) do not cover serving static files (that is generally managed by the webserver). The right docs are here:



            https://docs.djangoproject.com/en/dev/howto/static-files/deployment/



            eventually serving static files is pretty easy with uWSGI:



            http://uwsgi-docs.readthedocs.org/en/latest/StaticFiles.html



            but if you can do it in nginx it is better







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 11 '13 at 7:44









            robertoroberto

            1,662108




            1,662108












            • Thank you, I also followed this simple tutorial: uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html , even if it does not remember to add to PROJECT/settings.py the line STATIC_ROOT = os.path.join(BASE_DIR, "static")and run python3 manage.py collectstatic.

              – Marco Sulla
              Dec 14 '13 at 22:07

















            • Thank you, I also followed this simple tutorial: uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html , even if it does not remember to add to PROJECT/settings.py the line STATIC_ROOT = os.path.join(BASE_DIR, "static")and run python3 manage.py collectstatic.

              – Marco Sulla
              Dec 14 '13 at 22:07
















            Thank you, I also followed this simple tutorial: uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html , even if it does not remember to add to PROJECT/settings.py the line STATIC_ROOT = os.path.join(BASE_DIR, "static")and run python3 manage.py collectstatic.

            – Marco Sulla
            Dec 14 '13 at 22:07





            Thank you, I also followed this simple tutorial: uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html , even if it does not remember to add to PROJECT/settings.py the line STATIC_ROOT = os.path.join(BASE_DIR, "static")and run python3 manage.py collectstatic.

            – Marco Sulla
            Dec 14 '13 at 22:07













            1














            I have the same problem. My nginx server on Centos 7.6 can't access to static folder in path /home/user/app/mysyte/static/. In /var/log/nginx/error.log same error



            open() "/home/user/app/mysyte/static/*.css" failed (13: Permission denied)


            For solving and understanding this problem :=*



            1. run command getenforce

            2. if enforcing - cat /var/log/audit/audit.log | grep nginx

            for me string with errrors looks like



            type=AVC msg=audit(1558033633.723:201): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
            type=SYSCALL msg=audit(1558033633.723:201): arch=c000003e syscall=2 success=no exit=-13 a0=564f710dd55d a1=800 a2=0 a3=68632f656d6f682f items=0 ppid=7757 pid=7758 auid=4294967295 uid=998 gid=996 euid=998 suid=998 fsuid=998 egid=996 sgid=996 fsgid=996 tty=(none) ses=4294967295 comm="nginx" exe="/usr/sbin/nginx" subj=system_u:system_r:httpd_t:s0 key=(null)


            copy id of audit msg 1558033633.723:201



            1. run command grep yours_audit_id /var/log/audit/audit.log | audit2why

            output for me



            [root@uwsgi ~]# grep 1558034479.384:221 /var/log/audit/audit.log | audit2why
            type=AVC msg=audit(1558034479.384:221): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0

            Was caused by:
            The boolean httpd_read_user_content was set incorrectly.
            Description:
            Allow httpd to read user content

            Allow access by executing:
            # setsebool -P httpd_read_user_content 1


            So as you can see answer here setsebool -P httpd_read_user_content 1 when you run this command you see your static content






            share|improve this answer



























              1














              I have the same problem. My nginx server on Centos 7.6 can't access to static folder in path /home/user/app/mysyte/static/. In /var/log/nginx/error.log same error



              open() "/home/user/app/mysyte/static/*.css" failed (13: Permission denied)


              For solving and understanding this problem :=*



              1. run command getenforce

              2. if enforcing - cat /var/log/audit/audit.log | grep nginx

              for me string with errrors looks like



              type=AVC msg=audit(1558033633.723:201): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
              type=SYSCALL msg=audit(1558033633.723:201): arch=c000003e syscall=2 success=no exit=-13 a0=564f710dd55d a1=800 a2=0 a3=68632f656d6f682f items=0 ppid=7757 pid=7758 auid=4294967295 uid=998 gid=996 euid=998 suid=998 fsuid=998 egid=996 sgid=996 fsgid=996 tty=(none) ses=4294967295 comm="nginx" exe="/usr/sbin/nginx" subj=system_u:system_r:httpd_t:s0 key=(null)


              copy id of audit msg 1558033633.723:201



              1. run command grep yours_audit_id /var/log/audit/audit.log | audit2why

              output for me



              [root@uwsgi ~]# grep 1558034479.384:221 /var/log/audit/audit.log | audit2why
              type=AVC msg=audit(1558034479.384:221): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0

              Was caused by:
              The boolean httpd_read_user_content was set incorrectly.
              Description:
              Allow httpd to read user content

              Allow access by executing:
              # setsebool -P httpd_read_user_content 1


              So as you can see answer here setsebool -P httpd_read_user_content 1 when you run this command you see your static content






              share|improve this answer

























                1












                1








                1







                I have the same problem. My nginx server on Centos 7.6 can't access to static folder in path /home/user/app/mysyte/static/. In /var/log/nginx/error.log same error



                open() "/home/user/app/mysyte/static/*.css" failed (13: Permission denied)


                For solving and understanding this problem :=*



                1. run command getenforce

                2. if enforcing - cat /var/log/audit/audit.log | grep nginx

                for me string with errrors looks like



                type=AVC msg=audit(1558033633.723:201): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
                type=SYSCALL msg=audit(1558033633.723:201): arch=c000003e syscall=2 success=no exit=-13 a0=564f710dd55d a1=800 a2=0 a3=68632f656d6f682f items=0 ppid=7757 pid=7758 auid=4294967295 uid=998 gid=996 euid=998 suid=998 fsuid=998 egid=996 sgid=996 fsgid=996 tty=(none) ses=4294967295 comm="nginx" exe="/usr/sbin/nginx" subj=system_u:system_r:httpd_t:s0 key=(null)


                copy id of audit msg 1558033633.723:201



                1. run command grep yours_audit_id /var/log/audit/audit.log | audit2why

                output for me



                [root@uwsgi ~]# grep 1558034479.384:221 /var/log/audit/audit.log | audit2why
                type=AVC msg=audit(1558034479.384:221): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0

                Was caused by:
                The boolean httpd_read_user_content was set incorrectly.
                Description:
                Allow httpd to read user content

                Allow access by executing:
                # setsebool -P httpd_read_user_content 1


                So as you can see answer here setsebool -P httpd_read_user_content 1 when you run this command you see your static content






                share|improve this answer













                I have the same problem. My nginx server on Centos 7.6 can't access to static folder in path /home/user/app/mysyte/static/. In /var/log/nginx/error.log same error



                open() "/home/user/app/mysyte/static/*.css" failed (13: Permission denied)


                For solving and understanding this problem :=*



                1. run command getenforce

                2. if enforcing - cat /var/log/audit/audit.log | grep nginx

                for me string with errrors looks like



                type=AVC msg=audit(1558033633.723:201): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0
                type=SYSCALL msg=audit(1558033633.723:201): arch=c000003e syscall=2 success=no exit=-13 a0=564f710dd55d a1=800 a2=0 a3=68632f656d6f682f items=0 ppid=7757 pid=7758 auid=4294967295 uid=998 gid=996 euid=998 suid=998 fsuid=998 egid=996 sgid=996 fsgid=996 tty=(none) ses=4294967295 comm="nginx" exe="/usr/sbin/nginx" subj=system_u:system_r:httpd_t:s0 key=(null)


                copy id of audit msg 1558033633.723:201



                1. run command grep yours_audit_id /var/log/audit/audit.log | audit2why

                output for me



                [root@uwsgi ~]# grep 1558034479.384:221 /var/log/audit/audit.log | audit2why
                type=AVC msg=audit(1558034479.384:221): avc: denied read for pid=7758 comm="nginx" name="responsive.css" dev="dm-0" ino=17312394 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0

                Was caused by:
                The boolean httpd_read_user_content was set incorrectly.
                Description:
                Allow httpd to read user content

                Allow access by executing:
                # setsebool -P httpd_read_user_content 1


                So as you can see answer here setsebool -P httpd_read_user_content 1 when you run this command you see your static content







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 16 at 19:29









                N. TurshievN. Turshiev

                211




                211



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Server Fault!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f560493%2fdjango-doesnt-find-css-files-for-admin-pages-using-uwsgi%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

                    What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

                    Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos