From 59285db0c0dd6b782b046b71ca96896606408a3d Mon Sep 17 00:00:00 2001 From: Sebastian Lohff Date: Tue, 28 Mar 2017 13:20:00 +0200 Subject: [PATCH] Fix domain search, space between icon and text in msgs --- templates/base.html | 2 +- whoisdb/helpers.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index a7f6b2c..b29e771 100644 --- a/templates/base.html +++ b/templates/base.html @@ -83,7 +83,7 @@
{% for message in messages %} - + {% endfor %}
diff --git a/whoisdb/helpers.py b/whoisdb/helpers.py index 406f258..0fe8429 100644 --- a/whoisdb/helpers.py +++ b/whoisdb/helpers.py @@ -113,7 +113,7 @@ def findInDatabase(rawValue): if not value.endswith("."): value += "." - obj = domains.models.Domain.filter(name=value) + obj = domains.models.Domain.objects.filter(name=value) results.extend(obj) # contact by name?