WebFaction
Community site: login faq

Hi,

I'm fairly new to Django and web development.

No CSS is showing up anywhere, homepage, admin, you name it, it ain't there.

I have:

STATIC_ROOT = 'home/username/webapps/static_app'

and

STATIC_URL = 'http://domain.com/static/'

and

STATICFILES_DIRS = (
    'home/username/webapps/website_app/website/website/static/',
)

It seems that others have had a similar problem but they played around with static_media. I have not touched it. Thanks and please help! I have no idea what's going on!

asked 06 Jan '14, 12:45

loonyuni
313
accept rate: 0%

Hello!

Your static application is currently a Django application as well - you would need to configure it in order to serve the files. Simply create a new application of category "Static" and type "Static (no .htaccess), and bind /static to that application instead. You can find more information here:

http://docs.webfaction.com/software/django/config.html#serving-django-static-media

If you have any more questions or issues, don't hesitate to send us a support ticket.

(06 Jan '14, 13:07) yulian

Hello!

Your static application is currently a Django application as well - you would need to configure it in order to serve the files. Simply create a new application of category "Static" and type "Static (no .htaccess), and bind /static to that application instead. You can find more information here:

  • http://docs.webfaction.com/software/django/config.html#serving-django-static-media

If you have any more questions or issues, don't hesitate to send us a support ticket.

permanent link

answered 06 Jan '14, 13:10

yulian
27214
accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×125
×40
×12

question asked: 06 Jan '14, 12:45

question was seen: 3,066 times

last updated: 06 Jan '14, 13:10

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM