Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2020-06-13 15:05:36 +02:00
parent 17b96cd93a
commit e11e168317
3 changed files with 8 additions and 4 deletions

1
.gitignore vendored
View File

@@ -55,6 +55,7 @@ config.yaml
# virtualenv
/venv/
/venv38/
/py27/
/py2/
/django2/

View File

@@ -107,7 +107,7 @@ jupyterlab-server==0.3.0
keyring==18.0.0
kiwisolver==1.0.1
kombu==4.5.0
llvmlite==0.30.0
llvmlite==0.33.0
lxml==4.3.2
Markdown==3.0.1
MarkupSafe==1.1.1
@@ -126,7 +126,7 @@ nose==1.3.7
nose-parameterized==0.6.0
notebook==5.7.6
numba==0.46.0
numpy==1.18.3
numpy==1.18.5
oauth2==1.9.0.post1
oauthlib==3.0.1
openapi-codec==1.3.2
@@ -148,7 +148,7 @@ protobuf==3.11.1
psycopg2==2.8.1
ptyprocess==0.6.0
py==1.8.0
pyarrow==0.15.0
pyarrow==0.17.1
pycairo==1.19.0
pycparser==2.19
Pygments==2.3.1

View File

@@ -1209,7 +1209,10 @@ def virtualevent_view(request,id=0):
orderby = request.GET.get('order_by')
if orderby is not None:
results = results.order_by(orderby)
try:
results = results.order_by(orderby)
except AttributeError:
pass
racelogos = race.logos.all()