from django.shortcuts import render
from django.contrib.auth.decorators import login_required

# Create your views here.
@login_required()
def life(request):
    return render(request, "writings/life.html")
    
@login_required()
def travel(request):
    return render(request, "writings/travel.html")

@login_required()
def moments(request):
    return render(request, "writings/moments.html")

@login_required()
def technology(request):
    return render(request, "writings/technology.html")

@login_required()
def writings(request):
    return render(request, "writings/index.html")

from django.shortcuts import render
from django.contrib.auth.decorators import login_required

# Create your views here.
@login_required()
def life(request):
    return render(request, "writings/life.html")
    
@login_required()
def travel(request):
    return render(request, "writings/travel.html")

@login_required()
def moments(request):
    return render(request, "writings/moments.html")

@login_required()
def technology(request):
    return render(request, "writings/technology.html")

@login_required()
def writings(request):
    return render(request, "writings/index.html")

# Create your views here.