I would suggest 2 things, instead of using root logger for this, create a module level (or class level) logger, eg:
    logger = logging.getLogger(__name__)
Thanks to this end-developer could have better control of logging

And second thing, I think it's more readable to use an exception logging method here, eg:

    except NoReverseMatch:
        logger.exception('NoReverseMatch exception while rendering template')  #logger.exception automatically add full stacktrace to log entry