Commit graph

455 commits

Author SHA1 Message Date
Dave Hall
455a61f9d9 Adding in test for searching with leading apostrophe 2015-05-05 10:58:19 +01:00
Dave Hall
acf2100b6c Fixing tests to work in newer django versions 2015-05-05 10:52:55 +01:00
Dave Hall
8030ee201d Bumping version 2015-04-24 14:49:00 +01:00
Dave Hall
3c7f0abd4f Fixing resolving fields that have related fields which are missing in the database 2015-04-24 13:08:36 +01:00
Dave Hall
290ef6c623 Updating changelog 2015-04-06 08:30:47 +01:00
Dave Hall
d17665c2a7 Bumping version 2015-04-06 08:28:07 +01:00
Dave Hall
dade916f76 Merge pull request #108 from moggers87/107-south_migrations-missing
Add `south_migrations` to packages in setup.py
2015-04-06 08:26:59 +01:00
Matt Molyneaux
d1fc96d56e Add south_migrations to packages in setup.py
Fixes etianen/django-watson#107
2015-04-06 01:31:11 +01:00
Dave Hall
a842267396 Updating changelog and bumping version number 2015-04-01 10:31:51 +01:00
Dave Hall
0410584c86 Merge pull request #105 from philippeowagner/master
fixes #104 translation errors when using buildwatson
2015-03-31 15:11:53 +01:00
Philippe O. Wagner
d30c0baf38 fixes #104 translation errors when using buildwatson 2015-03-31 16:02:32 +02:00
Dave Hall
213b3a8419 Merge pull request #102 from philippeowagner/master
List all registered models (management command)
2015-03-18 14:46:01 +00:00
Philippe O. Wagner
40c7d0b072 Rename list_registered_models_watson.py to listwatson.py 2015-03-18 09:58:25 +01:00
Philippe O. Wagner
4d52f4346f Typo 2015-03-17 10:59:20 +01:00
Philippe O. Wagner
fd509a6beb Wrong ident 2015-03-17 10:58:02 +01:00
Philippe O. Wagner
91d3f2040e List all registred models (management command)
Exposed the ``watson.get_registered_models()`` function as management command for debugging purpose.
2015-03-17 10:57:43 +01:00
Dave Hall
de5fcb3064 Merge pull request #98 from carltongibson/18-warnings
1.8 warnings
2015-02-17 10:55:00 +00:00
Carlton Gibson
d6cd1fce2d Add app_label to SearchEntry 2015-02-17 11:02:42 +01:00
Carlton Gibson
9d6fc89516 Update import of GenericForeignKey 2015-02-17 10:59:53 +01:00
Carlton Gibson
20411df9e1 Update import_module reference. 2015-02-17 10:59:20 +01:00
Dave Hall
eac6214efa Merge pull request #95 from dessibelle/master
Issue #94: Accessing app_label and model_name through content type rather than object
2015-02-10 17:20:16 +00:00
Simon Fransson
77e97e8bd9 Using ContentType.objects.get_for_id rather than accessing for search_result.content_type, for caching benefits. 2015-02-10 17:59:09 +01:00
Simon Fransson
52794ac35d Fixes #94: Accessing app_label and model_name through content type rather than object.
As the object property is not always loaded by prefetch_related(), the `search_result_item` template tag will raise an AttributeError. But, as the object is essentially used for populating the string format params dict, it is possible to instead use the content type object (which appears to be available even when object is missing) for getting the `app_label` and `model_name` strings.

The only drawback is that the `obj` template variable may be `None` in some instances. It is not accessed in any standard tempaltes, and this issue would have caused an AttributeError earlier anyway.
2015-02-10 15:54:00 +01:00
Dave Hall
3f2b0e00d8 Unicoding more of the buildwatson command 2015-02-02 11:44:34 +00:00
Dave Hall
ebb9b1d704 Attempting to fix a unicode error 2015-01-20 11:21:49 +00:00
Dave Hall
76fba4c171 Merge pull request #89 from thedrow/feature/fix-stale-indexes-removal
Clean stale index records for all engines and models
2015-01-20 10:59:48 +00:00
Omer Katz7941795
75cf8f5f03 Delete all stale records instead of only the last one. 2015-01-19 15:08:55 +02:00
Dave Hall
42e769747d Merge pull request #86 from alexey-grom/master
Extension point for query formatting at MySQLSearchBackend
2015-01-05 11:31:54 +00:00
Alex
3a5bca6f1a Multiple backend cache 2015-01-05 15:21:26 +06:00
Alex
394491f211 Extension point for query formatting at MySQLSearchBackend 2015-01-05 14:04:17 +06:00
Dave Hall
702b5f2969 Merge pull request #84 from thedrow/patch-1
Use travis' new build workers
2014-12-31 12:47:56 +00:00
Omer Katz
c453332076 Use travis' new build workers.
They boot up faster and since we don't use sudo we can use them.
2014-12-29 22:45:54 +02:00
Dave Hall
161ae4d451 Fixing MySQL issues with Python 3 in tests 2014-12-18 13:02:08 +00:00
Dave Hall
55c64af6bd Fixing some transaction handling in MySQL with schema alterations 2014-12-18 12:53:44 +00:00
Dave Hall
f51b15942a Working on migrations for Django 1.7 2014-12-18 12:39:42 +00:00
Dave Hall
7b1606aa23 Working on Django 1.7 migrations. 2014-12-18 12:28:05 +00:00
Dave Hall
3c742715df Adding in Django 1.7 migrations 2014-12-18 12:10:11 +00:00
Dave Hall
3cae3068b1 Merge pull request #80 from blodone/master
backend specification
2014-12-02 11:44:04 +00:00
Amin Dandache
95c8310bc2 filter backend_name included 2014-12-02 09:16:19 +01:00
Amin Dandache
6cff6c0de8 backend
specify
2014-12-01 13:34:15 +01:00
Dave Hall
d18a1afaa5 Bumping for new release 2014-11-08 14:36:48 +00:00
Dave Hall
5c22c17c6e Attempting to fix issues with resolving nullable foreign keys. 2014-11-06 10:58:20 +00:00
Dave Hall
3f5be2f11b Merge pull request #76 from orlovegor/master
fixed django 1.8 get_query_set deprecation warning
2014-10-31 09:03:40 +00:00
Egor Orlov
4977a9b398 fixed django 1.8 get_query_set deprecation warning 2014-10-31 11:28:53 +03:00
Dave Hall
bb8a54686e Bumping version number 2014-10-14 09:03:10 +01:00
Dave Hall
a1914a6c62 Updating changelog 2014-10-14 09:02:14 +01:00
Dave Hall
1d1844c667 Merge pull request #75 from Gzing/master
fixes #74 checks if the field passed on is a related manager
2014-10-13 10:16:56 +01:00
gzing
765367913a checks if the field passed on is a related manager 2014-10-10 14:07:17 +05:30
Dave Hall
b3d677db2b Improved apostrophe escaping. 2014-09-17 10:12:42 +01:00
Dave Hall
fb446b611c Merge pull request #59 from thedrow/patch-1
Use travis_retry in order to avoid network failures.
2014-07-31 17:42:40 +01:00