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
Omer Katz
14626335b8
Use travis_retry in order to avoid network failures.
2014-07-31 12:49:06 +03:00
Dave Hall
1c5000c6ac
Merge pull request #58 from thedrow/patch-1
...
Improved build matrix.
2014-07-31 09:44:01 +01:00
Omer Katz
7c36f29605
Fixed copy/paste typo.
2014-07-30 19:37:57 +03:00
Omer Katz
e98010e927
Large matrixes should fast finish.
2014-07-30 19:32:04 +03:00
Omer Katz
fe2c6614ad
Forgot to exclude 2.6 for Django 1.7.
2014-07-30 19:24:11 +03:00
Omer Katz
0c276a0e80
Improved build matrix.
2014-07-30 19:15:47 +03:00
Dave Hall
42c62ed272
Merge pull request #56 from moggers87/block-search
...
Create a context manager that prevents updating of the search index
2014-07-29 01:59:13 +01:00
Matt Molyneaux
d4428fb5a9
Test nested contexts too
2014-07-25 21:23:43 +01:00
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