Commit 0c64469b authored by Joaquin Hermosisima's avatar Joaquin Hermosisima

updated views.py

parent c0fec781
from django.shortcuts import render
from django.utils.safestring import mark_safe
from bookshelf import urls
def HomeView(request):
urls = ['books','authors']
new_urls = ["Add Book", "Add Author"]
context = {
'nickname': "Jak",
'urls': urls
'urls': urls,
'new_urls': new_urls
}
return render(request, 'home.html', context)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment