Re: django under xampp under windows

2008-03-02 Thread Evert Rol

> I put this in my urls file:
>
>   (r'^site_media/(?P.*)$', 'django.views.static.serve',
> {'document_root': 'C:\django\Django-0.96.1\django\contrib\admin
> \media'}),
>
> but the program still can't find the dashboard:
>
> 

Check your ADMIN_MEDIA_PREFIX in your settings.py file, and make sure  
it doesn't clash with any of the other ADMIN* settings. I've got mine  
set to '/adminmedia/'.
The url config above is for serving media files for your actual site,  
not the admin section. You would set 'site_media/' to point to your  
own media files, not those for the admin.


>
> What am I missing?
>
> On Mar 1, 10:51 am, cjl <[EMAIL PROTECTED]> wrote:
>> Carl:
>>
>> Check out:
>>
>> http://www.djangoproject.com/documentation/static_files/
>>
>> -cjlesh
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django under xampp under windows

2008-03-02 Thread Carl

I put this in my urls file:

(r'^site_media/(?P.*)$', 'django.views.static.serve',
{'document_root': 'C:\django\Django-0.96.1\django\contrib\admin
\media'}),

but the program still can't find the dashboard:



What am I missing?

On Mar 1, 10:51 am, cjl <[EMAIL PROTECTED]> wrote:
> Carl:
>
> Check out:
>
> http://www.djangoproject.com/documentation/static_files/
>
> -cjlesh
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---