Commit graph

197 commits

Author SHA1 Message Date
Matt Molyneaux
b3ff0947e8 Create a context manager that prevents updating of the search index
Given a model that has non-searchable fields that are updated often, this
context manager can prevent frivolous search index updates.
2014-07-24 20:25:25 +01:00
Dave Hall
83d27e90bd Merge pull request #53 from moggers87/view-mixin-kwargs
get() should accept *args and **kwargs
2014-06-01 08:25:22 +01:00
Matt Molyneaux
51eb47691a get() should accept *args and **kwargs
Using groups (named or otherwise) in URL regex results in them being passed to
get() as arguments. This patch makes SearchMixin.get() accept them.

Without this patch, you get the following TypeError:
`get() got an unexpected keyword argument 'q'`
2014-05-31 21:58:08 +01:00
Dave Hall
243cb7c894 Merge pull request #52 from bdauvergne/master
setup.py should be callable from anywhere
2014-05-27 10:32:00 +01:00
Benjamin Dauvergne
9e8cc5ffcb setup.py should be callable from anywhere
Use os.path.dirname(__file__) to locate README.markdown, debian packaging is broken without it.
2014-05-27 11:16:37 +02:00
Dave Hall
9aec9f111a Fixing MySQL punctuation 2014-02-21 13:30:57 +00:00
Dave Hall
c699b971a5 Ignoring punctuation in mysql 2014-02-21 13:26:32 +00:00
Dave Hall
ef9cc5ac11 Bumping for 1.1.3 release 2014-02-19 10:37:57 +00:00
Dave Hall
50ad1d3240 Improving apostrophe escaping 2014-02-18 09:53:38 +00:00
Dave Hall
51b450568d Merge branch 'master' of github.com:etianen/django-watson 2014-02-17 11:26:21 +00:00
Dave Hall
4ba1a72a3a Adding support for searching with apostrophes 2014-02-17 11:23:24 +00:00
Dave Hall
c07e1f7c99 Merge pull request #34 from JirkaV/master
Added ability to build index for a single model (issue #31)
2014-01-29 02:01:56 -08:00
Jirka Vejrazka
a5f211e8ac improved tests a bit 2014-01-13 23:32:34 +01:00
Jirka Vejrazka
8cda46cc5c as requested/suggested, added ability to rebuild index for multiple models as well as a more robust way for selecting search engine 2014-01-13 23:27:15 +01:00
Jirka Vejrazka
96d80f0e96 Fix for CommandError (orig. syntax was not working on Python 3.x) 2014-01-12 16:20:37 +01:00
Jirka Vejrazka
c37a04261b Added ability to build index for a single model (issue #31) 2014-01-12 16:10:45 +01:00
Dave Hall
b70a7b3b91 Yet another attempt at conditional database creation 2013-12-03 20:08:26 +00:00
Dave Hall
7886007876 Another attempt at conditional database creation 2013-12-03 20:02:49 +00:00
Dave Hall
82d069fcd1 Excluding python 3 and mysql 2013-12-03 19:54:41 +00:00
Dave Hall
cdc57dd056 Conditional database initialisation for Travis 2013-12-03 19:53:43 +00:00
Dave Hall
a22c207753 Adding Python 3.2 and Python 3.3 to Travis CI 2013-12-03 19:39:38 +00:00
Dave Hall
b097f00816 Adding Django 1.4 to tests 2013-12-03 19:36:26 +00:00
Dave Hall
085d37fac7 Another attempt to fix test project MySQL collation settings 2013-12-03 19:30:19 +00:00
Dave Hall
b982b607d3 Another attempt to fix test project MySQL collation settings 2013-12-03 19:16:59 +00:00
Dave Hall
4708672757 Attempting to fix test project MySQL settings 2013-12-03 18:19:32 +00:00
Dave Hall
37e5e85447 Fixing mysql collation for Travis CI 2013-12-03 18:06:11 +00:00
Dave Hall
c0cf3c652e Adding database name to environment 2013-12-03 17:58:36 +00:00
Dave Hall
e58ca23df2 Installing correct MySQL Travis module 2013-12-03 17:46:22 +00:00
Dave Hall
9d4feb262b Adding in python database adaptors 2013-12-03 17:41:51 +00:00
Dave Hall
a29d6156a3 Fixing database build matrices 2013-12-03 17:37:07 +00:00
Dave Hall
27fd5d7c54 Correctly grouping travis environmental variables 2013-12-03 17:24:01 +00:00
Dave Hall
aca071912f Enabling testing with multiple DBs 2013-12-03 17:19:22 +00:00
Dave Hall
882569f69e Adding in multiple database for testing against 2013-12-03 17:13:48 +00:00
Dave Hall
193462afbf Fixing unittest dependency for Python 2.6 2013-12-03 17:02:23 +00:00
Dave Hall
f8118d70d0 Setting up watson for testing with Travis CI 2013-12-03 16:57:34 +00:00
Dave Hall
7b0a6c66ff Updating download URL 2013-10-05 16:03:15 +01:00
Dave Hall
f7485ab291 Advertising Python 3 support in setup.py 2013-10-05 16:02:18 +01:00
Dave Hall
3f26b0e4af Updating changelog 2013-10-05 16:01:29 +01:00
Dave Hall
b249da3262 Bumping version number 2013-10-05 15:59:07 +01:00
Dave Hall
59b58ca678 Mergin pull request from SimonGreenhill 2013-06-21 10:10:54 +01:00
SimonGreenhill
6f2e5214e0 replacing simplejson 2013-06-21 11:37:31 +10:00
Dave Hall
ecdc2f2c60 Using a batch size of 100 for bulk search entry updates. 2013-06-11 11:17:12 +01:00
Dave Hall
0d2988af5a Merge pull request #18 from tsufeki/python3
Python 3 compatibility
2013-05-02 08:11:53 -07:00
tsufeki
7607adadcf Added from __future__ import unicode_literals, print_function every where except migrations/ 2013-05-02 16:50:16 +02:00
tsufeki
bfd3f87f6f Fixed unicode errors in JSON tests under python 3.3 2013-05-01 18:08:09 +02:00
tsufeki
f7774282d3 Added templates/watson/includes/*.html to setup.py. 2013-05-01 17:34:33 +02:00
tsufeki
afde7298c2 Fixed missing module name. 2013-05-01 17:28:46 +02:00
tsufeki
55e17524ea Python 3.3 compatibility: fixed what 2to3 complains about, also changed force_unicode to force_text. 2013-05-01 16:46:10 +02:00
Dave Hall
bff358350f Merge pull request #14 from akaihola/master
Fix DeprecationWarning in Django 1.5
2013-01-25 01:51:51 -08:00
Antti Kaihola
ceb32c5fc2 Added Django>=1.4 compatible django.conf.urls imports to prevent a deprecation warning 2013-01-25 10:56:07 +02:00