WebFaction
Community site: login faq

Hello, I'm beginner in Django. I created an django app in my control panel and configured it to acces at the admin interface. When i go on http://user_name.webfactional.com/admin I can see the admin interface but it doesn't look like when I work in local. It seems that there no CSS and it's difficult to work on.

If you have any idea about this.

Thanks in advance. stephane

asked 18 Apr '13, 04:32

stefrob97
11
accept rate: 0%


I've looked up your account and found that the problem is that you've configured your site to serve its static assets from "/media", but your Django instance is configured to serve them from "/static".

The simplest solution will be to edit your site at https://my.webfaction.com/websites/ to change the "/media" URLs to "/static", then just wait a couple of minutes for the change to take effect.

If that doesn't seem to work, then please open a support ticket so that we can investigate further.

permanent link

answered 18 Apr '13, 10:32

seanf
12.2k42136
accept rate: 37%

Thank you very much. It's working now.

(19 Apr '13, 03:36) stefrob97
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:

×910
×30

question asked: 18 Apr '13, 04:32

question was seen: 1,961 times

last updated: 19 Apr '13, 04:28

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2020 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