allow passing django Model instances with get_absolute_url() as viewname