How to serve staticfiles with full URL for local development?

2012-05-05 Thread e.generalov
There was a snippet to display a content of response in browser during debugging http://miniblog.glezos.com/post/3388080372/tests-browser . "One of the first issues you might face is seeing a style-less page. This happens becuase the test server isn’t really a web server, and you’re probably serv

Re: How to serve staticfiles with full URL for local development?

2012-05-05 Thread Reinout van Rees
On 05-05-12 15:34, e.generalov wrote: There was a snippet to display a content of response in browser during debugginghttp://miniblog.glezos.com/post/3388080372/tests-browser . "One of the first issues you might face is seeing a style-less page. This happens becuase the test server isn’t really

Re: How to serve staticfiles with full URL for local development?

2012-05-10 Thread e.generalov
On 6 май, 04:41, Reinout van Rees wrote: > On 05-05-12 15:34, e.generalov wrote: > > > There was a snippet to display a content of response in browser during > > debugginghttp://miniblog.glezos.com/post/3388080372/tests-browser . > > > "One of the first issues you might face is seeing a style-le

Re: How to serve staticfiles with full URL for local development?

2012-05-10 Thread doniyor
if your problem is how to serve your static files, just create a folder with name static in your main app, then put all of your static files and and your STATIC_URL is /static/. Am Samstag, 5. Mai 2012 15:34:47 UTC+2 schrieb e.generalov: > > There was a snippet to display a content of respons

Re: How to serve staticfiles with full URL for local development?

2012-05-10 Thread e.generalov
On 11 май, 01:54, doniyor wrote: > if your problem is how to serve your static files, just create a folder > with name static in your main app, then put all of your static files and > and your STATIC_URL is /static/. Thanks. I found some more ways to get around the restrictions of the `staticfile

Re: How to serve staticfiles with full URL for local development?

2012-05-14 Thread Reinout van Rees
On 11-05-12 08:48, e.generalov wrote: ps: but why these restrictions are needed in the tool, which should assist in the development? I think you're using it in a strange way, as I (nor anyone I know that uses django-staticfiles) has any problem in development. You said in a reply to one of m

Re: How to serve staticfiles with full URL for local development?

2012-05-18 Thread pedesen
I have a similar problem. My STATIC_URL is a full URL like http://static.mysite.com. When I use the development server with runserver, django *always* takes this URL. In the templates I use {{STATIC_URL}}/myimage.jpg, and in development I always see http://static.mysite.com/myimage.jpg in my br