CSS and media not loaded when run using rb-site manage / runserver?

2010-02-03 Thread Stodge
Ok dunce question of the day. I installed ReviewBoard onto my Fedora
laptop. I just want to play around with it without configuring Apache
for now so I'm just using:

rb-site manage  /var/www/sites/reviews runserver 0.0.0.0:9900

to start RB. However, none of the media or CSS are loaded. Now I'm
still new to Django but I do understand the basics but I'm completely
stumped as to why it's not loading the media or CSS. What am I missing
here? Thanks

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en


Re: CSS and media not loaded when run using rb-site manage / runserver?

2010-02-03 Thread Christian Hammond
Hi Stodge,

runserver is meant for development, and the development server doesn't by
default support any static media, such as CSS or images. Normally, it's best
for a real web server to handle this, as it'll be faster at it.

To enable this, you'll need to modify your site's conf/settings_local.py and
set DEBUG = True. That will enable the code paths for serving static media
for development use.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Tue, Feb 2, 2010 at 7:12 AM, Stodge sto...@gmail.com wrote:

 Ok dunce question of the day. I installed ReviewBoard onto my Fedora
 laptop. I just want to play around with it without configuring Apache
 for now so I'm just using:

 rb-site manage  /var/www/sites/reviews runserver 0.0.0.0:9900

 to start RB. However, none of the media or CSS are loaded. Now I'm
 still new to Django but I do understand the basics but I'm completely
 stumped as to why it's not loading the media or CSS. What am I missing
 here? Thanks

 --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.comreviewboard%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en