Django app for dealing with User activities (likes, tags, comments, etc.)
Project description
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)
Improved REST API filters.
0.3.1 (2017-01-09)
Fixed issues with migrations.
0.3.2 (2017-01-12)
Fixed route names for SimpleRouter.
0.4.0 (2017-02-06)
Optimized API
Added additional filters to API
Made updates to dependencies library
0.4.1 (2017-02-09)
Fixed changelog
Made updates to dependencies library
0.5.0 (2017-04-07)
Fixed changelog
Made updates to dependencies library
0.5.1 (2017-04-18)
Made updates to dependencies library
0.5.2 (2017-05-16)
Updated setup.py to read requirments.txt
0.5.3 (2018-08-13)
Updated 3rd party requirements. Some requirements had changed so it was causing failures
0.5.4 (2018-10-29)
Updated 3rd party requirements.
0.5.5 (2018-12-18)
Minor model change to make text not required in Comment/Review models
0.5.6 (2019-02-08)
Updated 3rd party requirements.
Updated testing to properly use py.text fixtures
0.5.7 (2019-04-10)
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)
Updated packaged to mirror new cookiecutter template
0.5.9 (2019-07-26)
Updated 3rd party requirements.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-user-activities-0.5.9.tar.gz
.
File metadata
- Download URL: django-user-activities-0.5.9.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1097a1d10e60278389d08bb7dcc965c1127a4eda86964d5a78a4bafdef05975f |
|
MD5 | 0f46fb461f16b4bb99878f19d2bd9aa2 |
|
BLAKE2b-256 | 10c9f34befabc3c58b696985318c623279ea70dc059a9a7d745613907523e436 |
Provenance
File details
Details for the file django_user_activities-0.5.9-py2.py3-none-any.whl
.
File metadata
- Download URL: django_user_activities-0.5.9-py2.py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b31a4517c1fa0b1cb28cf9cb2af94ef4b50fd64891e1c427247873f2ac3b157d |
|
MD5 | 316b9df83357589f1228757c56dc3a70 |
|
BLAKE2b-256 | d1d5b152de26083e778e2e7502104b5719ff97e55fe7bae8c5f2667c5b9c0d72 |