from django.shortcuts import render
from . models import Task


# Create your views here.
def index(request):
    tasks = Task.objects.order_by('id')
    return render(request, 'main/index.html', {'title': 'Главная страница сайта',  'tasks':tasks})


def about(request):
    return render(request, 'main/about.html')


def create(request):
    return render(request, 'main/about.html')
7891552c9f436017a2de46c64066831ed7d3abc4
<mask token>


def create(request):
    return render(request, 'main/about.html')

<mask token>


def index(request):
    tasks = Task.objects.order_by('id')
    return render(request, 'main/index.html', {'title':
        'Главная страница сайта', 'tasks': tasks})


<mask token>


def create(request):
    return render(request, 'main/about.html')

<mask token>


def index(request):
    tasks = Task.objects.order_by('id')
    return render(request, 'main/index.html', {'title':
        'Главная страница сайта', 'tasks': tasks})


def about(request):
    return render(request, 'main/about.html')


def create(request):
    return render(request, 'main/about.html')

from django.shortcuts import render
from .models import Task


def index(request):
    tasks = Task.objects.order_by('id')
    return render(request, 'main/index.html', {'title':
        'Главная страница сайта', 'tasks': tasks})


def about(request):
    return render(request, 'main/about.html')


def create(request):
    return render(request, 'main/about.html')

from django.shortcuts import render
from . models import Task


# Create your views here.
def index(request):
    tasks = Task.objects.order_by('id')
    return render(request, 'main/index.html', {'title': 'Главная страница сайта',  'tasks':tasks})


def about(request):
    return render(request, 'main/about.html')


def create(request):
    return render(request, 'main/about.html')