hello group, I am writing a blog application. I am not using generic view as I have customized things. Now I wrote a helper.py in which I have def get_post(year, month, day, slug): year, month, day = int(year), int(month), int(day)
try: return Post.objects.get( pub_date__year=year, pub_date__month=month, slug__exact=slug) Now I want my url to be /2008/apr/08 instead of 2008/04/08. Thats means the 'apr' string coming from url should be converted to 04 integer for comparision. Any help.... --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---