Skip to main content
Help us improve Python packaging – donate today!

Django model based search for Django CMS

Project Description

Django model based search for Django CMS

PyPI_Version Build_Status Coverage_Status

The reason I created this was simply to avoid the overhead of using third party applications such as haystack. I was deploying an app on Amazons Elastic Beanstalk that will run on one or more instance and did not want the hassle of trying to save the index results in a centralized storage. I also did not want another instance just to act as a search endpoint like solr etc.

Doing it this way by saving the results in the database makes it extremely portable.

On publishing a page, an index item is added to the model. On unpublishing or deleting its removed.

Installation

Installation with pip:

$ pip install djangocms-site-search

Setup

Add the following apps to the INSTALLED_APPS ensuring its below cms:

INSTALLED_APPS = (
    ...
    'cms',
    'site_search',
)

Add the url routes to the project in urls.py:

urlpatterns = [
    url(r'^', include('site_search.urls', 'search')),
]

Documentation

Please head over to our documentation for all the details on how to install and use the django CMS site search.

License

The project is licensed under the MIT license.

Release history Release notifications

This version
History Node

0.2.3

History Node

0.2.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
djangocms-site-search-0.2.3.tar.gz (11.6 kB) Copy SHA256 hash SHA256 Source None Jun 23, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page