mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
first views for archivebox server
This commit is contained in:
parent
289a6ea30f
commit
669bd6bee4
2 changed files with 21 additions and 17 deletions
|
@ -1,3 +1,17 @@
|
|||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
from django.views import View
|
||||
|
||||
|
||||
class MainIndex(View):
|
||||
template = 'main_index.html'
|
||||
|
||||
def get(self, request):
|
||||
return render(self.template, {})
|
||||
|
||||
|
||||
class LinkDetails(View):
|
||||
template = 'link_details.html'
|
||||
|
||||
def get(self, request):
|
||||
return render(self.template, {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue