def index(request): return render(request, 'mrc/mrc.html', context=get_path_name())
def ruls(request): return render(request, 'mrc/ruls.html', context=get_path_name())
def reports(request): return render(request, 'reports/reports.html', context=get_path_name())
def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context.update(get_path_name()) return context
def new(request): return render(request, 'reports/new_report.html', context=get_path_name())