Re: Using an external Server to serve Static files - Development Server
That should work... how are you referencing your static files from your
templates?
_Nik
On 8/21/2013 6:09 PM, Ideo Rex wrote:
> Hello,
> I have a different request that I couldn't find anywhere else on the
> internet. I'm an intern who has built a Django Web Application for my
> project (basically a large experiment). The cite will never leave
> development, but I'm holding my static files and templates on another
> server. I want Django to look for static files on this website.
>
> Currently my project is 'livestream', in livestream there are two sub
> directories: 'templates' & 'static'
> On my server I have https://my.site.com/DJStatic/ - inside of DJStatic
> are two sub directories: 'templates' & 'static'
>
> How do I tell django to look in the server for the static files rather
> than the local directory?
>
>
> Tests:
> I have removed the local static files and set STATIC_URL :
> https://my.site.com/DJStatic/static/, but it doesn't work this way.
> Any Ideas on how to fix this?
>
> Thanks
> --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home