Huh, thank you both for in-depth answers. I implemented Gonzalo's idea
with context processors and it worked like a charm... and then I
realised that I could achieve the same thing with:

url(r'^today$', 'today', name='today'),
+
{% url today %}
+
def today(request):
    t = datetime.date.today()
    return day(request, t.year, t.month, t.day)

I knew there must be a simple and elegant solution. Django, I love you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to