simplesitesearch 1.0.2__tar.gz → 1.0.4__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.
Files changed (20) hide show
  1. {simplesitesearch-1.0.2/simplesitesearch.egg-info → simplesitesearch-1.0.4}/PKG-INFO +35 -9
  2. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/README.md +32 -7
  3. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/pyproject.toml +2 -1
  4. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/setup.cfg +1 -1
  5. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/setup.py +1 -1
  6. simplesitesearch-1.0.4/simplesitesearch/__init__.py +3 -0
  7. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch/templates/simplesitesearch/search_results.html +1 -1
  8. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch/views.py +0 -2
  9. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4/simplesitesearch.egg-info}/PKG-INFO +35 -9
  10. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch.egg-info/requires.txt +1 -1
  11. simplesitesearch-1.0.2/simplesitesearch/__init__.py +0 -3
  12. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/LICENSE +0 -0
  13. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/MANIFEST.in +0 -0
  14. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch/cms_apps.py +0 -0
  15. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch/templates/simplesitesearch/pagination.html +0 -0
  16. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch/urls.py +0 -0
  17. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch.egg-info/SOURCES.txt +0 -0
  18. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch.egg-info/dependency_links.txt +0 -0
  19. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch.egg-info/not-zip-safe +0 -0
  20. {simplesitesearch-1.0.2 → simplesitesearch-1.0.4}/simplesitesearch.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simplesitesearch
3
- Version: 1.0.2
3
+ Version: 1.0.4
4
4
  Summary: Reptile Simple Site Search django app
5
5
  Home-page: https://github.com/reptiletech/simplesitesearch
6
6
  Author: Reptile Tech
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.10
25
25
  Classifier: Programming Language :: Python :: 3.11
26
26
  Classifier: Programming Language :: Python :: 3.12
27
27
  Classifier: Framework :: Django
28
+ Classifier: Framework :: Django :: 2.2
28
29
  Classifier: Framework :: Django :: 3.2
29
30
  Classifier: Framework :: Django :: 4.0
30
31
  Classifier: Framework :: Django :: 4.1
@@ -35,7 +36,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
35
36
  Requires-Python: >=3.6
36
37
  Description-Content-Type: text/markdown
37
38
  License-File: LICENSE
38
- Requires-Dist: Django>=3.2
39
+ Requires-Dist: Django>=2.2
39
40
  Requires-Dist: django-cms>=3.2
40
41
  Requires-Dist: requests>=2.25.0
41
42
  Dynamic: author
@@ -157,7 +158,27 @@ The package includes two main templates:
157
158
  - `simplesitesearch/search_results.html` - Main search results template
158
159
  - `simplesitesearch/pagination.html` - Pagination template
159
160
 
160
- You can override these templates in your project by creating templates with the same names in your template directory.
161
+ #### Template Customization
162
+
163
+ You can override these templates in your project by creating templates with the same names in your template directory. The templates are designed to be easily customizable:
164
+
165
+ **Template Include Paths:**
166
+ - `simplesitesearch/search_results.html` - Main search results page
167
+ - `simplesitesearch/pagination.html` - Pagination component (included in search_results.html)
168
+
169
+ **To customize templates:**
170
+ 1. Create a `templates/simplesitesearch/` directory in your Django project
171
+ 2. Copy the template files from the package and modify them as needed
172
+ 3. Your custom templates will override the package defaults
173
+
174
+ **Example template structure:**
175
+ ```
176
+ your_project/
177
+ ├── templates/
178
+ │ └── simplesitesearch/
179
+ │ ├── search_results.html # Your custom search results template
180
+ │ └── pagination.html # Your custom pagination template
181
+ ```
161
182
 
162
183
  ### Styling
163
184
 
@@ -187,8 +208,8 @@ The search expects the API to return JSON in the following format:
187
208
 
188
209
  ## Requirements
189
210
 
190
- - Python 3.8+
191
- - Django 3.2+
211
+ - Python 3.6+
212
+ - Django 2.2+
192
213
  - django-cms 3.2+
193
214
  - requests 2.25.0+
194
215
 
@@ -220,6 +241,15 @@ For support and questions, please open an issue on the [GitHub repository](https
220
241
 
221
242
  ## Changelog
222
243
 
244
+ ### 1.0.4
245
+ - Added comprehensive template customization documentation
246
+ - Clarified template include paths for easier customization
247
+ - Templates can be overridden by creating custom versions in your project's template directory
248
+
249
+ ### 1.0.3
250
+ - Allow python version 3.6, 3.7
251
+ - Allow Django version 2.2
252
+
223
253
  ### 1.0.0
224
254
  - Initial release
225
255
  - Django CMS integration
@@ -227,8 +257,4 @@ For support and questions, please open an issue on the [GitHub repository](https
227
257
  - Multi-language support
228
258
  - Basic search functionality
229
259
 
230
- ### 1.0.2
231
- - Allow python version 3.6, 3.7
232
260
 
233
- ### 1.0.2
234
- - Allow Django version 2.2
@@ -112,7 +112,27 @@ The package includes two main templates:
112
112
  - `simplesitesearch/search_results.html` - Main search results template
113
113
  - `simplesitesearch/pagination.html` - Pagination template
114
114
 
115
- You can override these templates in your project by creating templates with the same names in your template directory.
115
+ #### Template Customization
116
+
117
+ You can override these templates in your project by creating templates with the same names in your template directory. The templates are designed to be easily customizable:
118
+
119
+ **Template Include Paths:**
120
+ - `simplesitesearch/search_results.html` - Main search results page
121
+ - `simplesitesearch/pagination.html` - Pagination component (included in search_results.html)
122
+
123
+ **To customize templates:**
124
+ 1. Create a `templates/simplesitesearch/` directory in your Django project
125
+ 2. Copy the template files from the package and modify them as needed
126
+ 3. Your custom templates will override the package defaults
127
+
128
+ **Example template structure:**
129
+ ```
130
+ your_project/
131
+ ├── templates/
132
+ │ └── simplesitesearch/
133
+ │ ├── search_results.html # Your custom search results template
134
+ │ └── pagination.html # Your custom pagination template
135
+ ```
116
136
 
117
137
  ### Styling
118
138
 
@@ -142,8 +162,8 @@ The search expects the API to return JSON in the following format:
142
162
 
143
163
  ## Requirements
144
164
 
145
- - Python 3.8+
146
- - Django 3.2+
165
+ - Python 3.6+
166
+ - Django 2.2+
147
167
  - django-cms 3.2+
148
168
  - requests 2.25.0+
149
169
 
@@ -175,6 +195,15 @@ For support and questions, please open an issue on the [GitHub repository](https
175
195
 
176
196
  ## Changelog
177
197
 
198
+ ### 1.0.4
199
+ - Added comprehensive template customization documentation
200
+ - Clarified template include paths for easier customization
201
+ - Templates can be overridden by creating custom versions in your project's template directory
202
+
203
+ ### 1.0.3
204
+ - Allow python version 3.6, 3.7
205
+ - Allow Django version 2.2
206
+
178
207
  ### 1.0.0
179
208
  - Initial release
180
209
  - Django CMS integration
@@ -182,8 +211,4 @@ For support and questions, please open an issue on the [GitHub repository](https
182
211
  - Multi-language support
183
212
  - Basic search functionality
184
213
 
185
- ### 1.0.2
186
- - Allow python version 3.6, 3.7
187
214
 
188
- ### 1.0.2
189
- - Allow Django version 2.2
@@ -29,6 +29,7 @@ classifiers = [
29
29
  "Programming Language :: Python :: 3.11",
30
30
  "Programming Language :: Python :: 3.12",
31
31
  "Framework :: Django",
32
+ "Framework :: Django :: 2.2",
32
33
  "Framework :: Django :: 3.2",
33
34
  "Framework :: Django :: 4.0",
34
35
  "Framework :: Django :: 4.1",
@@ -39,7 +40,7 @@ classifiers = [
39
40
  ]
40
41
  requires-python = ">=3.6"
41
42
  dependencies = [
42
- "Django>=3.2",
43
+ "Django>=2.2",
43
44
  "django-cms>=3.2",
44
45
  "requests>=2.25.0",
45
46
  ]
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = simplesitesearch
3
- version = 1.0.2
3
+ version = 1.0.4
4
4
  author = Reptile Tech
5
5
  author_email = flouis@reptile.tech
6
6
  description = Reptile Simple Site Search django app
@@ -8,7 +8,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
8
8
 
9
9
  setup(
10
10
  name="simplesitesearch",
11
- version="1.0.2",
11
+ version="1.0.4",
12
12
  author="Reptile Tech",
13
13
  author_email="flouis@reptile.tech",
14
14
  description="Reptile Simple Site Search django app",
@@ -0,0 +1,3 @@
1
+ __version__ = '1.0.4'
2
+
3
+
@@ -1,4 +1,4 @@
1
- {% extends "food_service/content_fullwidth.html" %}
1
+ {% extends "pages/content_fullwidth.html" %}
2
2
  {% load i18n static cms_tags %}
3
3
 
4
4
  {% block template_class %}template_search{% endblock %}
@@ -149,5 +149,3 @@ class SearchResult(TemplateView):
149
149
  })
150
150
 
151
151
  return self.render_to_response(context)
152
-
153
-
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simplesitesearch
3
- Version: 1.0.2
3
+ Version: 1.0.4
4
4
  Summary: Reptile Simple Site Search django app
5
5
  Home-page: https://github.com/reptiletech/simplesitesearch
6
6
  Author: Reptile Tech
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.10
25
25
  Classifier: Programming Language :: Python :: 3.11
26
26
  Classifier: Programming Language :: Python :: 3.12
27
27
  Classifier: Framework :: Django
28
+ Classifier: Framework :: Django :: 2.2
28
29
  Classifier: Framework :: Django :: 3.2
29
30
  Classifier: Framework :: Django :: 4.0
30
31
  Classifier: Framework :: Django :: 4.1
@@ -35,7 +36,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
35
36
  Requires-Python: >=3.6
36
37
  Description-Content-Type: text/markdown
37
38
  License-File: LICENSE
38
- Requires-Dist: Django>=3.2
39
+ Requires-Dist: Django>=2.2
39
40
  Requires-Dist: django-cms>=3.2
40
41
  Requires-Dist: requests>=2.25.0
41
42
  Dynamic: author
@@ -157,7 +158,27 @@ The package includes two main templates:
157
158
  - `simplesitesearch/search_results.html` - Main search results template
158
159
  - `simplesitesearch/pagination.html` - Pagination template
159
160
 
160
- You can override these templates in your project by creating templates with the same names in your template directory.
161
+ #### Template Customization
162
+
163
+ You can override these templates in your project by creating templates with the same names in your template directory. The templates are designed to be easily customizable:
164
+
165
+ **Template Include Paths:**
166
+ - `simplesitesearch/search_results.html` - Main search results page
167
+ - `simplesitesearch/pagination.html` - Pagination component (included in search_results.html)
168
+
169
+ **To customize templates:**
170
+ 1. Create a `templates/simplesitesearch/` directory in your Django project
171
+ 2. Copy the template files from the package and modify them as needed
172
+ 3. Your custom templates will override the package defaults
173
+
174
+ **Example template structure:**
175
+ ```
176
+ your_project/
177
+ ├── templates/
178
+ │ └── simplesitesearch/
179
+ │ ├── search_results.html # Your custom search results template
180
+ │ └── pagination.html # Your custom pagination template
181
+ ```
161
182
 
162
183
  ### Styling
163
184
 
@@ -187,8 +208,8 @@ The search expects the API to return JSON in the following format:
187
208
 
188
209
  ## Requirements
189
210
 
190
- - Python 3.8+
191
- - Django 3.2+
211
+ - Python 3.6+
212
+ - Django 2.2+
192
213
  - django-cms 3.2+
193
214
  - requests 2.25.0+
194
215
 
@@ -220,6 +241,15 @@ For support and questions, please open an issue on the [GitHub repository](https
220
241
 
221
242
  ## Changelog
222
243
 
244
+ ### 1.0.4
245
+ - Added comprehensive template customization documentation
246
+ - Clarified template include paths for easier customization
247
+ - Templates can be overridden by creating custom versions in your project's template directory
248
+
249
+ ### 1.0.3
250
+ - Allow python version 3.6, 3.7
251
+ - Allow Django version 2.2
252
+
223
253
  ### 1.0.0
224
254
  - Initial release
225
255
  - Django CMS integration
@@ -227,8 +257,4 @@ For support and questions, please open an issue on the [GitHub repository](https
227
257
  - Multi-language support
228
258
  - Basic search functionality
229
259
 
230
- ### 1.0.2
231
- - Allow python version 3.6, 3.7
232
260
 
233
- ### 1.0.2
234
- - Allow Django version 2.2
@@ -1,3 +1,3 @@
1
- Django>=3.2
1
+ Django>=2.2
2
2
  django-cms>=3.2
3
3
  requests>=2.25.0
@@ -1,3 +0,0 @@
1
- __version__ = '1.0.0'
2
-
3
-