# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.shortcuts import render
from django.http import HttpResponse
import datetime
from . import models
from models import Artical

def hello(request):
    now = datetime.datetime.now()
    html = '<html><body><h3>Hello World</h3>It is now %s</body></html>' % now
    return HttpResponse(html)

def index(request):
    # artical = models.Artical.objects.get(pk=1)
    context = {}
    context['artical'] = 'Hello, Blog'
    return render(request, 'index.html', context)
# Create your views here.

2471a9544cc21a672ca611304f7577857b2bb08f
<mask token>

<mask token>


def hello(request):
    now = datetime.datetime.now()
    html = '<html><body><h3>Hello World</h3>It is now %s</body></html>' % now
    return HttpResponse(html)


<mask token>

<mask token>


def hello(request):
    now = datetime.datetime.now()
    html = '<html><body><h3>Hello World</h3>It is now %s</body></html>' % now
    return HttpResponse(html)


def index(request):
    context = {}
    context['artical'] = 'Hello, Blog'
    return render(request, 'index.html', context)

from __future__ import unicode_literals
from django.shortcuts import render
from django.http import HttpResponse
import datetime
from . import models
from models import Artical


def hello(request):
    now = datetime.datetime.now()
    html = '<html><body><h3>Hello World</h3>It is now %s</body></html>' % now
    return HttpResponse(html)


def index(request):
    context = {}
    context['artical'] = 'Hello, Blog'
    return render(request, 'index.html', context)

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.shortcuts import render
from django.http import HttpResponse
import datetime
from . import models
from models import Artical

def hello(request):
    now = datetime.datetime.now()
    html = '<html><body><h3>Hello World</h3>It is now %s</body></html>' % now
    return HttpResponse(html)

def index(request):
    # artical = models.Artical.objects.get(pk=1)
    context = {}
    context['artical'] = 'Hello, Blog'
    return render(request, 'index.html', context)
# Create your views here.
