You need to collect static files from virtual environment run python manage.py collectstatic
shaharyar shamshi software developer On Tue, Feb 16, 2021, 18:31 Muthukumaran M <muthukumaranmblaz...@gmail.com> wrote: > I deployed my django website using drf using apache on aws but the css is > not being rendered for the api page but its being rendered for the other > parts of the website > > -- > You received this message because you are subscribed to the Google Groups > "Django REST framework" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-rest-framework+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-rest-framework/bf44a4aa-de8d-4754-b212-e4ffc4f3ea41n%40googlegroups.com > <https://groups.google.com/d/msgid/django-rest-framework/bf44a4aa-de8d-4754-b212-e4ffc4f3ea41n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/CAPiPmLJ0%3D%2BHeG7xnQ_kT2iWhtc8CxmbVVsXO5AyiKjnBtP7t0Q%40mail.gmail.com.