On 20/10/2013 11:07pm, Diogene Laerce wrote:
Hi,
Could someone tell me if it is normal to have the css not working once one
starts the real server (nginx) instead of the dev server on the admin
interface ?
The dev server "just knows" where the static files are. The real server
needs to be configured.
Run manage.py collectstatic to pick up all the static files from
wherever they are in your project (if the dev server can find them so
will collectstatic) and put them into STATIC_ROOT
Configure nginx to serve them from there ...
https://docs.djangoproject.com/en/1.5/howto/static-files/deployment/
Good luck
Mike
Cos we've got a nice view under the dev server but I surely miss
something in
my static files configuration as I didn't find where to point the admin
css to ?
So the question would be where the dev server point to find his css
config ?
Or do I have to write my own (for the admin interface) ?
Thank you
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/5263CA53.2060801%40dewhirst.com.au.
For more options, visit https://groups.google.com/groups/opt_out.