Added data models and loading some information from DB
This commit is contained in:
+1
-1
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user