Re: flatpages not finding site_media

2009-11-11 Thread neridaj
I figured it out, thanks. On Nov 11, 12:00 pm, neridaj wrote: > sorry, I'm just trying to use the dev server and added that url: > >     (r'^site_media/(?P.*)$', 'django.views.static.serve', >             {'document_root': '/Users/neridaj/django-templates/ > neridaj/'}), > >

Re: flatpages not finding site_media

2009-11-11 Thread neridaj
sorry, I'm just trying to use the dev server and added that url: (r'^site_media/(?P.*)$', 'django.views.static.serve', {'document_root': '/Users/neridaj/django-templates/ neridaj/'}), the url for static_media is being appended to the flatpage i.e., Failed to load source for:

Re: flatpages not finding site_media

2009-11-11 Thread Daniel Roseman
On Nov 11, 3:48 pm, neridaj wrote: > On Nov 11, 12:07 am, Daniel Roseman wrote: > > > > Have you set anything up to serve media files? > I have a symbolic link named site_media in my project directory. How does that answer the question? What is

Re: flatpages not finding site_media

2009-11-11 Thread neridaj
I have a symbolic link named site_media in my project directory. On Nov 11, 12:07 am, Daniel Roseman wrote: > On Nov 11, 7:50 am, neridaj wrote: > > > > > > > I'm trying to use some flatpages for static content and I don''t > > understand why they keep

Re: flatpages not finding site_media

2009-11-11 Thread Daniel Roseman
On Nov 11, 7:50 am, neridaj wrote: > I'm trying to use some flatpages for static content and I don''t > understand why they keep failing to load media files. I have my > template_dirs defined, media_root and media_url - when used in > template does not resolve to media_root

flatpages not finding site_media

2009-11-10 Thread neridaj
I'm trying to use some flatpages for static content and I don''t understand why they keep failing to load media files. I have my template_dirs defined, media_root and media_url - when used in template does not resolve to media_root i.e., template contains: results in: Failed to load source