serving admin files in Apache

6 views
Skip to first unread message

sum abiut

unread,
May 3, 2018, 7:41:12 PM5/3/18
to django...@googlegroups.com
Hi,
I have recently setup my django app with Apache. The app files are serve alright but, however when i access the admin page it looks all over the place. Please advise how to i serve the admin files in Apache.

Cheers,

James Farris

unread,
May 3, 2018, 8:52:32 PM5/3/18
to django...@googlegroups.com
Did you run
$ python manage.py collectstatic in your project folder on the server that is running Apache?

This add all css, js, and images to the static root folder you specified in settings.py

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPCf-y5%2BVkkGo%2BDGHfX2o6Q54Gdfoo_AxNvTcuZEkOziAH2V1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

sum abiut

unread,
May 3, 2018, 10:43:11 PM5/3/18
to django...@googlegroups.com
Thanks,
i've try that but still doesn't solve the problem

On Fri, May 4, 2018 at 11:51 AM, James Farris <jamesa...@gmail.com> wrote:
Did you run
$ python manage.py collectstatic in your project folder on the server that is running Apache?

This add all css, js, and images to the static root folder you specified in settings.py

On Thu, May 3, 2018 at 4:40 PM sum abiut <sua...@gmail.com> wrote:
Hi,
I have recently setup my django app with Apache. The app files are serve alright but, however when i access the admin page it looks all over the place. Please advise how to i serve the admin files in Apache.

Cheers,

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
Reply all
Reply to author
Forward
0 new messages