You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-page-cms
Hi
Has anyone figured out a way to allow content editors to use
templatetags in the actual page content? Eg {{MEDIA_URL}} or custom
templatetags. I dont want to edit the templates themselves, but allow
users to add these tags to the content as they are editing pages in
the admin.
Thanks,
faden
unread,
Mar 2, 2011, 10:25:40 AM3/2/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-page-cms
The first step would be to add the parsed keyword to your template
tag:
The what is available in the context is function of your context
processors I think. MEDIA_URL should be probably available if you have
the proper one.
For extra template-tags, try to use the {% load %}, it should work as
expected.
Captain Mish
unread,
Mar 3, 2011, 4:58:52 AM3/3/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message