from django.shortcuts import render
from .models import Articol


def blog(request):
    articole = Articol.objects.order_by('-data_publicare').all()
    return render(request, "blog.html", {"articole":articole})
05ea33d96ac78397e4aa08448b7902562bc2bb1b
<mask token>

<mask token>


def blog(request):
    articole = Articol.objects.order_by('-data_publicare').all()
    return render(request, 'blog.html', {'articole': articole})

from django.shortcuts import render
from .models import Articol


def blog(request):
    articole = Articol.objects.order_by('-data_publicare').all()
    return render(request, 'blog.html', {'articole': articole})

from django.shortcuts import render
from .models import Articol


def blog(request):
    articole = Articol.objects.order_by('-data_publicare').all()
    return render(request, "blog.html", {"articole":articole})