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/'}),
>
>
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:
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
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
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
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
6 matches
Mail list logo