Added data models and loading some information from DB

This commit is contained in:
2022-07-13 16:44:04 +03:00
parent ad87a47768
commit 890d50f230
9 changed files with 186 additions and 72 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ from .models import Link
def index(request):
links = Link.objects.order_by('order')
return render(request, 'links/index.html', {'links': links})
return render(request, 'links/index.html', {'links': links})