Running a dev server, is the following required or not--> "manage.py 
collectstatic"? The official docs would indicate no and there is too much 
mis-information floating around so it is hard to verify one way or the 
other for a noob.  Django 1.4 would appear to be able to find static files 
in dev mode and only in an external production setup is the command 
required.  TIA, V.  

On Saturday, January 5, 2013 8:50:34 PM UTC-6, carl...@vanoc.net wrote:
>
> On Jan 5, 2013, at 9:12 PM, Czaro <cezary...@gmail.com <javascript:>> 
> wrote:
>
> I've been trying to get my CSS to work with my python powered site forever 
> but I have no luck. I read the djangobook and a massive load of other 
> resources but they all say a different thing and nothing worked for me. I 
> would appreciate a few helpful steps on how to get my CSS to work.
> Some details:
> I;m in development mode.
> I'm using runserver and when i run it I only see the HTML and not the CSS.
> I'm also not sure if my CSS files need to be hosted on a separate server.
> Any help will be greatly appreciated.
> Thanks!!!!!!!!!!1
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/django-users/-/WpOUKKUuRD4J.
> To post to this group, send email to django...@googlegroups.com<javascript:>
> .
> To unsubscribe from this group, send email to 
> django-users...@googlegroups.com <javascript:>.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
>
>
> Have you set STATICFILES_DIRS, STATICFILES_ROOT, and STATIC_URL in your 
> settings.py and run "manage.py collectstatic"? You should be putting your 
> files in the directory(s) you have in STATICFILES_DIRS and then running 
> manage.py collectstatic. In development, runserver will serve your static 
> files but in production django will not handle those URLs and you will need 
> to either host them elsewhere or set up your web server to serve them.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to