Yeah, correct!
Add nostatic option to runserver fix my problem.
Thanks.
在 2013年8月27日星期二UTC-4上午12时46分08秒,Jani Tiainen写道:
>
> If you're using contrib.staticfiles app, your DEBUG is True and you're
> using runserver django automagically maps (overrides) your staticfile
> serving.
>
> If you want t
If you're using contrib.staticfiles app, your DEBUG is True and you're using
runserver django automagically maps (overrides) your staticfile serving.
If you want to manually add staticfile serving, you have to give --nostatic
parameter to runserver to omit all magic that happena automatically.
Sorry but it still doesn't work.
http://stackoverflow.com/questions/4730716/django-static-files-problem Here
also mentioned the issue that pattern conflicts with STATIC_URL.
在 2013年8月26日星期一UTC-4下午1时28分42秒,mantaszilinskis写道:
>
> import settings
> instead of 'document_root' : STATIC_ROOT, try 'doc
import settings
instead of 'document_root' : STATIC_ROOT, try 'document_root' :
settings.STATIC_ROOT,
On Mon, Aug 26, 2013 at 10:05 AM, Wesley Ni wrote:
> Forget to say that I use Django 1.5.2
>
> 在 2013年8月26日星期一UTC-4上午10时58分38秒,Wesley Ni写道:
>
>> I hit an issue when trying serve static files.
>
Forget to say that I use Django 1.5.2
在 2013年8月26日星期一UTC-4上午10时58分38秒,Wesley Ni写道:
>
> I hit an issue when trying serve static files.
>
> In settings, debug is True, and with the followinig:
> STATIC_ROOT = os.path.join(freelancer_path,"staticfiles")
> STATIC_URL = '/staticfiles/'
>
> urls.py:
> (
On Sunday, December 30, 2012 6:01:24 PM UTC+1, Amirouche wrote:
>
> Héllo Stefano,
>
> On Sunday, December 30, 2012 1:27:12 PM UTC+1, Stefano Tranquillini wrote:
>>
>> Hi all.
>> in the appfog ML we were fighting again the possibility to serve static
>> file in django without using an external s
Héllo Stefano,
On Sunday, December 30, 2012 1:27:12 PM UTC+1, Stefano Tranquillini wrote:
>
> Hi all.
> in the appfog ML we were fighting again the possibility to serve static
> file in django without using an external server.
> So far AF does not provide a setup of the server to split the server
I think I may have figured out the problem.. I needed my admin_media
folder to be in my media folder
Thanks for the help :)
I appreciate both of your responses!
Molly
On Jun 17, 1:37 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> Molly wrote:
> > How would I call the static file in my browse
Molly wrote:
> How would I call the static file in my browser??
By typing in the url to the static file directly in the address bar.
For example if your server is example.com, root of django app is myapp,
and images are in img dir, and image is named myjp.jpg the url would be
http:://example.
How would I call the static file in my browser??
Sorry, i'm still a beginner! :P
Thanks for the response :)
Molly
On Jun 17, 12:16 pm, chris vigelius <[EMAIL PROTECTED]>
wrote:
> Am Dienstag, 17. Juni 2008 17:22:46 schrieb Molly:
>
> > I created a django app and turned it into a stand alone ap
Am Dienstag, 17. Juni 2008 17:22:46 schrieb Molly:
> I created a django app and turned it into a stand alone app.
>
> Everything is working, except for the look of the page is all messed
> up.
what happens if you call one of the static files directly in your browser?
Does the path to the static
11 matches
Mail list logo