Tuesday, June 29, 2010

Re: context porcessors request.context media_url breaks admin

On Tue, Jun 29, 2010 at 12:33 PM, justin jools <justinjools@gmail.com> wrote:
> I corrected my settings.py links:
>
> TEMPLATE_DIRS = 'C:/django/portfolio_root/templates/'
> MEDIA_ROOT = 'C:/django/portfolio_root/site-media/'
> MEDIA_URL = '/site-media/'
> ADMIN_MEDIA_PREFIX = '/media/'
>
> but I still get this error:
>
> TemplateSyntaxError at /admin/
> Caught an exception while rendering: userRequest Method: GET
> Request URL: http://127.0.0.1:8000/admin/
> Exception Type: TemplateSyntaxError
> Exception Value: Caught an exception while rendering: user
> Exception Location: C:\Python26\lib\site-packages\django\template
> \debug.py in render_node, line 81
> Python Executable: C:\Python26\python.exe
> Python Version: 2.6.4
>

All that says is that your template has an error. Mystic Meg is out to
lunch, you will have to supply better information.

Cheers

Tom

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment