Skip to main content

Django app for dealing with User activities (likes, tags, comments, etc.)

Project description

https://badge.fury.io/py/django-user-activities.svg https://travis-ci.org/chopdgd/django-user-activities.svg?branch=develop https://codecov.io/gh/chopdgd/django-user-activities/branch/develop/graph/badge.svg Updates Python 3

Django app for dealing with User activities (likes, tags, comments, etc.)

Documentation

The full documentation is at https://django-user-activities.readthedocs.io.

Quickstart

Install Django User Activities:

pip install django-user-activities

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'user_activities',
    ...
)

Add Django User Activities’s URL patterns:

from user_activities import urls as user_activities_urls


urlpatterns = [
    ...
    url(r'^', include(user_activities_urls, namespace='user_activities')),
    ...
]

Using Activity, Comment, or Review in your models:

from django.contrib.contenttypes.fields import GenericRelation
from django.db import models


class ExampleModel(models.Model):
    ...
    comments = GenericRelation('user_activities.Comment')
    user_activities = GenericRelation('user_activities.Activity')

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.2.0 (2017-12-28)

  • First release on PyPI.

  • Initial models and REST API.

0.3.0 (2017-01-05)

  • Improved REST API filters.

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-user-activities-0.3.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

django_user_activities-0.3.1-py2.py3-none-any.whl (12.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-user-activities-0.3.1.tar.gz.

File metadata

File hashes

Hashes for django-user-activities-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ace5c838f45db6d57ac81c5f3b0451d085ed401668a5a9d3cc143ad8afd80455
MD5 2b60e763dac9dd8fc63844584ed3b3d6
BLAKE2b-256 a895551cef516fc385067979738572e711d64880f51325eff7bb02fbfd662eea

See more details on using hashes here.

Provenance

File details

Details for the file django_user_activities-0.3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_user_activities-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da401b8f52b849f8c8264c00a9670273afe6f11ee4d65068437f503a7d351466
MD5 6c053c2c8962ca392676053eeaba2d61
BLAKE2b-256 3727a54d2f63201adfcd8f059cc6d1a1851fda3027ca2293b7a786f76d2b92b5

See more details on using hashes here.

Provenance

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