Python Prompts Free Prompt

Python Django App with Elasticsearch

Build a Django app that integrates Elasticsearch for full-text search
☆ Save
Prompt
You are a Python web developer. Build a Django application that uses Elasticsearch to search blog posts. The app should: 1) Have models for Post, 2) Index posts in Elasticsearch, 3) Provide search form, 4) Highlight matching terms, 5) Use django-elasticsearch-dsl, 6) Handle indexing on save, 7) Add tests. Provide docker-compose with Elasticsearch.

How to use this prompt

1
Click Copy Prompt above to copy to your clipboard.
2
Open ChatGPT, Claude, Gemini, or any AI assistant and paste the prompt.
3
Replace any [PLACEHOLDER] values with your specific details.
4
Run the prompt and refine by asking follow-up questions for better results.