Skip to main content

Put short description here...

Project description

django-popularity-mixin

Simple integration between django-cacheback and django-hitcount

Authored by Basil Shubin

https://img.shields.io/pypi/v/django-popularity-mixin.svg https://img.shields.io/pypi/dm/django-popularity-mixin.svg https://img.shields.io/github/license/bashu/django-popularity-mixin.svg https://img.shields.io/travis/bashu/django-popularity-mixin.svg

Requirements

You must have django-cacheback and django-hitcount both installed and configured, see the django-cacheback and django-hitcount documentation for details and setup instructions.

Installation

First install the module, preferably in a virtual environment. It can be installed from PyPI:

pip install django-popularity-mixin

Setup

Make sure the project is configured for django-cacheback and django-hitcount.

Then add the following settings:

INSTALLED_APPS += (
    'popularity',
)

Usage

[TBD]

Please see example application. This application is used to manually test the functionalities of this package. This also serves as good example…

You need Django 1.8.1 or above to run that. It might run on older versions but that is not tested.

Contributing

If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)

Project details


Download files

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

Source Distribution

django-popularity-mixin-0.1.6.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

django_popularity_mixin-0.1.6-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file django-popularity-mixin-0.1.6.tar.gz.

File metadata

File hashes

Hashes for django-popularity-mixin-0.1.6.tar.gz
Algorithm Hash digest
SHA256 efa64aae573da39c5ee4ab038e19bbe383b382310be941c8bc0ef285401ec810
MD5 0b9ff076644dd1b0c03ba2b46fa33806
BLAKE2b-256 8ae72b7159ca26873d61e873f46cddac44fb52d8de0e26e5a73e558609b35775

See more details on using hashes here.

File details

Details for the file django_popularity_mixin-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for django_popularity_mixin-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 39114998893e1078b05aa6ada9e0b3f30c749547242857f7bb432c668064fb3f
MD5 568889e0d25432447e79c05be72909c0
BLAKE2b-256 66265aeed44fb7457cc66db5b399fa525b11953758cc70675075d0587e6b997c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page