I hereby claim:
- I am notanumber on github.
- I am notanumber (https://keybase.io/notanumber) on keybase.
- I have a public key whose fingerprint is 92CB C4F6 B643 5BCE 58B5 D2CA 5F71 4D23 AAE3 C4E6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#ifndef TEMPLATEGAME_H_ | |
#define TEMPLATEGAME_H_ | |
#include "gameplay.h" | |
using namespace gameplay; | |
class TestApp : public Game | |
{ | |
public: |
#ifndef TEMPLATEGAME_H_ | |
#define TEMPLATEGAME_H_ | |
#include "gameplay.h" | |
using namespace gameplay; | |
class TestApp : public Game | |
{ | |
public: |
from fabric.api import abort, hide, lcd, local, settings | |
from fabric.contrib.console import confirm | |
from fabric.contrib import django | |
django.project('foo') | |
def check_repository(): | |
""" |
Index: haystack/views.py | |
=================================================================== | |
--- haystack/views.py (revision 3558) | |
+++ haystack/views.py (working copy) | |
@@ -113,6 +113,9 @@ | |
} | |
context.update(self.extra_context()) | |
+ if settings.HAYSTACK_INCLUDE_SPELLING: | |
+ context['spelling_suggestion'] = self.form.search().spelling_suggestion() |
diff --git a/haystack/backends/simple_backend.py b/haystack/backends/simple_backend.py | |
index d08501b..f8a481c 100644 | |
--- a/haystack/backends/simple_backend.py | |
+++ b/haystack/backends/simple_backend.py | |
@@ -21,7 +21,7 @@ if settings.DEBUG: | |
ch.setLevel(logging.WARNING) | |
ch.setFormatter(logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')) | |
- logger = logging.getLogger('haystack.dummy_backend') | |
+ logger = logging.getLogger('haystack.simple_backend') |
diff --git a/docs/backend_support.rst b/docs/backend_support.rst | |
index 3b6f384..a93f949 100644 | |
--- a/docs/backend_support.rst | |
+++ b/docs/backend_support.rst | |
@@ -10,9 +10,11 @@ Supported Backends | |
* Solr_ | |
* Whoosh_ | |
+* Xapian_ | |
results = sorted(results, key=lambda x:(x.model_name=='foo'), reverse=True) |
WSGIScriptAlias / /home/mysiteteam/hosting/live.wsgi | |
WSGIDaemonProcess live user=mysiteteam group=mysiteteam-www-editors threads=1 processes=45 | |
WSGIProcessGroup live | |
WSGIApplicationGroup %{GLOBAL} |
diff --git a/haystack/indexes.py b/haystack/indexes.py | |
index 0fc5cd9..441d16d 100644 | |
--- a/haystack/indexes.py | |
+++ b/haystack/indexes.py | |
@@ -62,18 +62,6 @@ class SearchIndex(object): | |
if not len(content_fields) == 1: | |
raise SearchFieldError("An index must have one (and only one) SearchField with document=True.") | |
- def _setup_save(self, model): | |
- signals.post_save.connect(self.update_object, sender=model) |