from django.shortcuts import render
from items.models import Category,Collection

# Create your views here.
def index(request):
    all_category = Category.objects.all()
    all_collections = Collection.objects.all()
    return render(request, 'pages/index.html', locals())

def login(request):
    return render(request, 'pages/login.html', locals())

def registration(request):
    return render(request, 'pages/registration.html', locals())

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

def contacts(request):
    return render(request, 'pages/contacts.html', locals())

