Compare commits

...

2 Commits

Author SHA1 Message Date
Dennis Kerschus
071454f10f samme som sidst 2021-03-03 14:34:38 +01:00
Dennis Kerschus
4aa78840ff Tilføjet sortering 2021-03-03 14:34:15 +01:00
3 changed files with 19 additions and 1 deletions

18
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}\\manage.py",
"args": [
"runserver"
],
"django": true
}
]
}

View File

@ -3,7 +3,7 @@ from .models import ssispackages
from django.urls import reverse from django.urls import reverse
class ssispackagesTable(tables.Table): class ssispackagesTable(tables.Table):
SSISProject = tables.Column(linkify=True) SSISProject = tables.Column(linkify=True, order_by=("SSISProject", "PackageName"))
class Meta: class Meta:
model = ssispackages model = ssispackages
template_name="django_tables2/bootstrap.html" template_name="django_tables2/bootstrap.html"