Re: interaction of django with paypal

2009-08-29 Thread Devang Modi
Hi, can you implement something like below? if (None == request.META.get('HTTP_REFERER')): return HttpResponseRedirect(reverse(YOUR VIEW FUNCTION THAT REDIRECT TO DOWNLOAD URL)) elif (-1 == request.META.get('HTTP_REFERER') .find(reverse(YOUR VIEW FUNCTION THAT RED

Re: Template Inheritance - best solution

2009-08-29 Thread Devang Modi
You can include navigation base template code under djnago block and in your template make that block empty. example: base.html {% block navigation %} some code {% endblock navigtion%} child.html {% extends "base.html %} {% block navigation %}{% endblock navigation %} -Devang. On 8/29/09, ha