> I'd strongly recommend you to form your url in models.py. Create a > function to your bullet class named get_absolute_url() and call it in > template <a href="{{ bullet.get_absolute_url }}">Today</a>
this is my function: def get_absolute_url(self): return urlresolvers.reverse('pyOrganize.pyworkbook.views.bullet.viewBullets', kwargs={'day_id': self.fk_day, 'rubric_id': self.fk_rubric}) -> the output: "" if I do this: def get_absolute_url(self): return urlresolvers.reverse('pyOrganize.pyworkbook.views.day.addDay') ->i get this reversed url, which is correct So from this i gather that im having a problem with the keyword args. Does anyone have an idea how i could solve this or where my error is? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---