On Wednesday 22 February 2006 08:22, Mary Adel wrote: > how to call in flatpage a content i have saved in the database > ex i saved the path of the css and java script in the database and i > need to call it in my flatpage so how i could do this
The best way is probably to create a templatetag that can be used to fetch the path. The best example I saw of this was the blog application for the django website. Take a look at it's templatetag directory here: http://code.djangoproject.com/svn/djangoproject.com/django_website/apps/blog/ -John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---