Skip to main content

No project description provided

Project description

Django Autocomplete

substring occurrence search module.

Allows the use of celery, if it is in the mood. The following settings are required in

   'SERILEZER_CLASSES': 'your_module_name.autocompleter',
   'LIMIT': 5,
   'CELERY': True


  1. SERILEZER_CLASSES - indicates django_autompleter where to look for serialization ticket offices. The serialization class inherits from the base class SearcherSerializer. In the example below, we indicate which fields from the Publication model we want to return when requested.

from autocompleter import SearcherSerializer

class PublicationsSerializer(SearcherSerializer):
      class Meta:
          model = Publication
          fields = (
  1. LIMIT - indicates the number of records received that must be returned.
  2. CELERY - indicates the start of the autompleter as a celery task. It is important, in this case, your project must have settings.


from autocompleter import Autocompleter

autocomplete_coonection =  Autocompleter()

result = autocomplete_coonection.get(
               model=Publication,# search data model
               column=["title"],# list of columns of the model to search for
               value=value # value

Project details

Download files

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

Files for django-autocompleter, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size django_autocompleter-0.0.8.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page