def get_current_site(request):
            if Site._meta.installed:
                current_site = Site.objects.get_current()
            else:
                current_site = RequestSite(request)
            return current_site
expand macros and parse '#@ARGS' in a statement.
dataset/ETHPy150Open statesofpop/django-cal/django_cal/views.py/get_current_site--crossover with--dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/tenjin.py/Template.statement_hook