old_contents: from django.shortcuts import render
  
  from django.http import HttpResponse
  
  from .models import BudgetElement, Budget
  from accounts.models import Currency
  from transactions.models import Category
  
  def index(request):
      category = Category.objects.all()
      currency = Currency.objects.all() 
      
      context = {'transactions': category,
              'currency':currency,
              }
      return render(request, 'budgets/dashboard.html')
  
new_contents: from django.shortcuts import render
  
  from django.http import HttpResponse
  
  from .models import BudgetElement, Budget
  from accounts.models import Currency
  from transactions.models import Category
  
  def index(request):
      category = Category.objects.all()
      currency = Currency.objects.all() 
      
      context = {'category': category,
              'currency':currency,
              }
      return render(request, 'budgets/dashboard.html', context)
  
subject: Add context to budgets/views