drf-haystack 1.9__tar.gz → 1.9.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {drf_haystack-1.9/drf_haystack.egg-info → drf_haystack-1.9.1}/PKG-INFO +1 -1
- {drf_haystack-1.9 → drf_haystack-1.9.1}/README.md +21 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/index.rst +7 -1
- drf_haystack-1.9.1/drf_haystack/__init__.py +42 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1/drf_haystack.egg-info}/PKG-INFO +1 -1
- drf_haystack-1.9/drf_haystack/__init__.py +0 -10
- {drf_haystack-1.9 → drf_haystack-1.9.1}/LICENSE.txt +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/MANIFEST.in +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/Pipfile +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/01_intro.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/02_autocomplete.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/03_geospatial.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/04_highlighting.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/05_more_like_this.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/06_term_boost.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/07_faceting.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/08_permissions.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/09_multiple_indexes.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/10_tips_n_tricks.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/Makefile +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/apidoc/drf_haystack.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/apidoc/modules.rst +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/conf.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/docs/make.bat +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/constants.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/fields.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/filters.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/generics.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/mixins.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/query.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/serializers.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/utils.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack/viewsets.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack.egg-info/SOURCES.txt +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack.egg-info/dependency_links.txt +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack.egg-info/not-zip-safe +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack.egg-info/requires.txt +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/drf_haystack.egg-info/top_level.txt +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/setup.cfg +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/setup.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/__init__.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/apps.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/constants.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mixins.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/__init__.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/admin.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/fixtures/mockallfield.json +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/fixtures/mocklocation.json +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/fixtures/mockperson.json +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/fixtures/mockpet.json +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/migrations/0001_initial.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/migrations/0002_mockperson.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/migrations/0003_mockpet.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/migrations/0004_load_fixtures.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/migrations/0005_mockperson_birthdate.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/migrations/0006_mockallfield.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/migrations/__init__.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/models.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/search_indexes.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/serializers.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/templates/search/indexes/mockapp/mocklocation_text.txt +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/templates/search/indexes/mockapp/mockperson_text.txt +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/templates/search/indexes/mockapp/mockpet_text.txt +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/views.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/run_tests.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/settings.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/test_filters.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/test_serializers.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/test_utils.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/test_viewsets.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/urls.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tests/wsgi.py +0 -0
- {drf_haystack-1.9 → drf_haystack-1.9.1}/tox.ini +0 -0
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
🚨 Maintainers wanted 🚨
|
|
2
|
+
========================
|
|
3
|
+
|
|
4
|
+
**This project urgently needs new maintainers!**
|
|
5
|
+
|
|
6
|
+
The current maintainers are no longer actively using `drf-haystack` and would
|
|
7
|
+
like to [hand over the project to other developers](https://github.com/rhblind/drf-haystack/issues/146) who are using the package.
|
|
8
|
+
|
|
9
|
+
We will still do the bare minimum maintenance of keeping dependency references
|
|
10
|
+
up to date with new releases of related packages **until January 1st 2026**.
|
|
11
|
+
|
|
12
|
+
If by that time no new maintainers have joined to take over the project, we
|
|
13
|
+
will archive the project and make the repository read-only, with a final
|
|
14
|
+
release with whatever versions the dependencies have at that time.
|
|
15
|
+
|
|
16
|
+
This gives everyone more than a year to either consider joining as maintainers
|
|
17
|
+
or switch to other packages for handling their search in DRF.
|
|
18
|
+
|
|
19
|
+
_The `drf-haystack` maintainers, November 2024_
|
|
20
|
+
|
|
21
|
+
|
|
1
22
|
Haystack for Django REST Framework
|
|
2
23
|
==================================
|
|
3
24
|
|
|
@@ -105,9 +105,15 @@ Thanks guys!
|
|
|
105
105
|
Changelog
|
|
106
106
|
=========
|
|
107
107
|
|
|
108
|
+
v1.9.1
|
|
109
|
+
------
|
|
110
|
+
*Release date: 2024-11-05*
|
|
111
|
+
|
|
112
|
+
- Add deprecation warning about potential future sunsetting of the project, due to lack of active maintainers.
|
|
113
|
+
|
|
108
114
|
v1.9
|
|
109
115
|
------
|
|
110
|
-
*Release date:
|
|
116
|
+
*Release date: 2024-11-04*
|
|
111
117
|
|
|
112
118
|
- Return an empty query object instead of an empty list when no filter is passed (:drf-issue:`202`).
|
|
113
119
|
- add "id" as an optional value of the serializer fields returning the haystack internal id (:drf-issue:`193`).
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
from __future__ import unicode_literals
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
__title__ = "drf-haystack"
|
|
8
|
+
__version__ = "1.9.1"
|
|
9
|
+
__author__ = "Rolf Haavard Blindheim"
|
|
10
|
+
__license__ = "MIT License"
|
|
11
|
+
|
|
12
|
+
VERSION = __version__
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def show_sunset_warning():
|
|
16
|
+
"""Show a warning about potential future sunsetting."""
|
|
17
|
+
message = (
|
|
18
|
+
"\n"
|
|
19
|
+
"==============================================================================\n"
|
|
20
|
+
"The `drf-haystack` project urgently needs new maintainers!\n"
|
|
21
|
+
"\n"
|
|
22
|
+
"The current maintainers are no longer actively using drf-haystack and would\n"
|
|
23
|
+
"like to hand over the project to other developers who are using the package.\n"
|
|
24
|
+
"\n"
|
|
25
|
+
"We will still do the bare minimum maintenance of keeping dependency references\n"
|
|
26
|
+
"up to date with new releases of related packages until January 1st 2026.\n"
|
|
27
|
+
"\n"
|
|
28
|
+
"If by that time no new maintainers have joined to take over the project, we\n"
|
|
29
|
+
"will archive the project and make the repository read-only, with a final\n"
|
|
30
|
+
"release with whatever versions the dependencies have at that time.\n"
|
|
31
|
+
"\n"
|
|
32
|
+
"This gives everyone more than a year to either consider joining as maintainers\n"
|
|
33
|
+
"or switch to other packages for handling their search in DRF.\n"
|
|
34
|
+
"\n"
|
|
35
|
+
"Do you want to join as a maintainer? Have a look at:\n"
|
|
36
|
+
"<https://github.com/rhblind/drf-haystack/issues/146>\n"
|
|
37
|
+
"==============================================================================\n"
|
|
38
|
+
)
|
|
39
|
+
warnings.warn(message, UserWarning, stacklevel=2)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
show_sunset_warning()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{drf_haystack-1.9 → drf_haystack-1.9.1}/tests/mockapp/migrations/0005_mockperson_birthdate.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|