# -*- coding: utf-8 -*-
__author__ = 'Phoenix'

from django.shortcuts import render
from kume.models import *

def index(request):
    articles = Article.objects.all().order_by('-pub_date')[:4]
    return render(request, 'index.html', {'articles': articles })

c5f8f400d56a925869305dc383339127a6c3a88d
<mask token>

<mask token>


def index(request):
    articles = Article.objects.all().order_by('-pub_date')[:4]
    return render(request, 'index.html', {'articles': articles})

__author__ = 'Phoenix'
<mask token>


def index(request):
    articles = Article.objects.all().order_by('-pub_date')[:4]
    return render(request, 'index.html', {'articles': articles})

__author__ = 'Phoenix'
from django.shortcuts import render
from kume.models import *


def index(request):
    articles = Article.objects.all().order_by('-pub_date')[:4]
    return render(request, 'index.html', {'articles': articles})

# -*- coding: utf-8 -*-
__author__ = 'Phoenix'

from django.shortcuts import render
from kume.models import *

def index(request):
    articles = Article.objects.all().order_by('-pub_date')[:4]
    return render(request, 'index.html', {'articles': articles })
