Tuesday, September 1, 2015

Re: How to serve any static directory?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV5bl/AAoJEH2EY3tf/UcFyt8QAIL9mdy1WGH6+mq0+pKP+d+Z
60FII1570DisAdlnEcxxIP3ePVTPRijW8r3RKD58H1DTvXZ9kw+yS6n1rQ4DBOO7
ZvCFSHW7IpUqX56FORXqn3gzrAqA60DyPUsgU4AGeUnevbhRmzHrmXbPB0XAvvLQ
oDU54uIDu8JfDsLdhT9tYrL9GHYEp+MWa7R0pAp15ic7NzHo+fytH4gc2u+VAKlx
k5FWkvMWnND1xsKDOJIS819rIrm2zxiSg4TUvDpUVqy+6JUAFcHopuHb19iit5Pn
aH0mHsG6fR6lqHFCxmoxbSS6pjEAQqEaAvzA4frIgnnleTQErhjSezDuU989UdJO
CEeRBWLHfdZMxCNm7P8JLdVErlFCctOe9tOiBRdK+HiHCAB9XmrytyHeTjU1JN+7
oPu1d99I461fWS4AUUA3boxTl6fXfmhg7Sma8GmgYl+HlNXTyuJtnK19G5PC1V3x
sTSmzUAOR88vBw7rIWxoo68TKx9FZEi13/kJ1bXhwgACLC3nuE99TmajJ1lXuPpl
h2A6EaK12BeirQx/BPmE5DuFqnY4S+9GrVpDw3mi2BPOtavwOu+IbqZ3q6oWzqaQ
+6P2UWBbMBbCraVnN8NCTr7FQ0/JpYA3VR6Rqv3x8Bb+3dmiL37pooHGxxPt+eMS
ujS52snndj/rwVGG7eSP
=zWRA
-----END PGP SIGNATURE-----
On 01/09/15 16:34, Yann Salaün wrote:
> In summary : is there a way to put something like `return
> serve_this_static_directory()` in the view? or is there any workaround
> there?

Not sure if I get you right, you want to serve static files with django?
Is there any reason why it's not possible to serve them with nginx/apache?

regards,
Florian

--
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+unsubscribe@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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/55E5B97B.3070607%40ist-total.org.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment