Skip to main content
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 (along with DRF and django-filters):

INSTALLED_APPS = (
    ...
    'rest_framework',
    'django_filters',
    ...
    '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)

0.3.0 Changelog

  • Improved REST API filters.

0.3.1 (2017-01-09)

0.3.1 Changelog

  • Fixed issues with migrations.

0.3.2 (2017-01-12)

0.3.2 Changelog

  • Fixed route names for SimpleRouter.

0.4.0 (2017-02-06)

0.4.0 Changelog

  • Optimized API

  • Added additional filters to API

  • Made updates to dependencies library

0.4.1 (2017-02-09)

0.4.1 Changelog

  • Fixed changelog

  • Made updates to dependencies library

0.5.0 (2017-04-07)

0.5.0 Changelog

  • Fixed changelog

  • Made updates to dependencies library

0.5.1 (2017-04-18)

0.5.1 Changelog

  • Made updates to dependencies library

0.5.2 (2017-05-16)

0.5.2 Changelog

  • Updated setup.py to read requirments.txt

0.5.3 (2018-08-13)

0.5.3 Changelog

  • Updated 3rd party requirements. Some requirements had changed so it was causing failures

0.5.4 (2018-10-29)

0.5.4 Changelog

  • Updated 3rd party requirements.

0.5.5 (2018-12-18)

0.5.5 Changelog

  • Minor model change to make text not required in Comment/Review models

0.5.6 (2019-02-08)

0.5.6 Changelog

  • Updated 3rd party requirements.

  • Updated testing to properly use py.text fixtures

0.5.7 (2019-04-10)

0.5.7 Changelog

  • Updated 3rd party requirements.

  • Updated travis to use xenial distribution. Django 2.1 dropped support for SQLite < 3.8.3

0.5.8 (2019-05-31)

0.5.8 Changelog

  • Updated packaged to mirror new cookiecutter template

0.5.9 (2019-07-26)

0.5.9 Changelog

  • Updated 3rd party requirements.

0.5.10 (2019-08-09)

0.5.10 Changelog

  • Updated 3rd party requirements.

0.5.11 (2019-09-09)

0.5.11 Changelog

  • Updated 3rd party requirements.

1.0.0 (2019-11-01)

1.0.0 Changelog

  • First production release

1.1.0 (2019-11-26)

1.1.0 Changelog

  • Updated character limit to comments/reviews

1.2.0 (2020-01-24)

1.2.0 Changelog

  • Changed comment fields to TextField

Metadata

Release files for django-user-activities 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-user-activities 1.2.0
File Size Uploaded Provenance Actions
django-user-activities-1.2.0.tar.gz 12.5 kB Without provenance Details for django-user-activities-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-user-activities 1.2.0
File Interpreter ABI Platform Actions
django_user_activities-1.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_user_activities-1.2.0-py2.py3-none-any.whl

Total release size: 26.2 kB

Release files / django-user-activities-1.2.0.tar.gz

Download URL django-user-activities-1.2.0.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
01519d0344c070def5fffc7d770e730f99ed7f0f23234cc5a8230a8dcdd14944
BLAKE2b-256 checksum
How to use checksums
8c2f05303c80b657065f24523bd968eb2abf45a5b8c28686ee577cfb011adbdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

Release files / django_user_activities-1.2.0-py2.py3-none-any.whl

Download URL django_user_activities-1.2.0-py2.py3-none-any.whl
Size 13.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8ac65a9c7a92b1ae6703cdab67f90c5395142ea8f77914fa1d8f23ddf4186f20
BLAKE2b-256 checksum
How to use checksums
51f42c321846601b9613a1c52f3eea9093a5a99bad4692e06ed3f7833867cc5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

Security for django-user-activities 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page