[FEAT]: Typesense + Django Full-Text Search App#18
Open
Nikhiladiga wants to merge 13 commits into
Open
Conversation
…earch Django 6.0 project with PostgreSQL config, env-based settings via python-dotenv.
Includes paginated full/incremental sync, Lock-protected state, background worker with apscheduler, and auto collection creation.
…ctness - MUTABLE_FIELDS allowlist blocks setting id/deleted_at/created_at via API - Pagination params validated and clamped (page>=1, 1<=limit<=100) - DELETE returns HttpResponse(status=204) instead of JsonResponse with body - Reuse _map_book_to_document from sync module (DRY) - Remove unnecessary @csrf_exempt from GET-only endpoints - Migrate print() to logging module
- Export get_last_sync_time from search package - Replace all print() with logging module in apps.py
…ging - All URL patterns now consistently use trailing slashes - Replace print() with logging in collections.py
- SECRET_KEY loaded via os.getenv with insecure fallback for dev - Add DJANGO_SECRET_KEY to .env.example - Add requirements.txt with pinned dependency ranges
19 tests covering: - Soft-delete model behavior & ActiveBookManager - Input validation and limit clamping on listing endpoints - Mass-assignment protection on create/update endpoints - HTTP 204 status with empty body on DELETE - Map book to document conversion - Keyset paginated incremental sync & active-only full sync
- Create detailed README.md inside typesense-django-full-text-search - Add project entry to tree structure and projects table in root README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Summary
PR Checklist