Django app for dealing with User activities (likes, tags, comments, etc.)
Project description
=============================
Django User Activities
=============================
.. image:: https://badge.fury.io/py/django-user-activities.svg
:target: https://badge.fury.io/py/django-user-activities
.. image:: https://travis-ci.org/chopdgd/django-user-activities.svg?branch=develop
:target: https://travis-ci.org/chopdgd/django-user-activities
.. image:: https://codecov.io/gh/chopdgd/django-user-activities/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/chopdgd/django-user-activities
.. image:: https://pyup.io/repos/github/chopdgd/django-user-activities/shield.svg
:target: https://pyup.io/repos/github/chopdgd/django-user-activities/
:alt: Updates
.. image:: https://pyup.io/repos/github/chopdgd/django-user-activities/python-3-shield.svg
:target: https://pyup.io/repos/github/chopdgd/django-user-activities/
:alt: 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):
.. code-block:: python
INSTALLED_APPS = (
...
'rest_framework',
'django_filters',
...
'user_activities',
...
)
Add Django User Activities's URL patterns:
.. code-block:: python
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:
.. code-block:: python
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:
* Cookiecutter_
* `cookiecutter-djangopackage`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
History
-------
0.2.0 (2017-12-28)
++++++++++++++++++
* First release on PyPI.
* Initial models and REST API.
0.3.0 (2017-01-05)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.2.0...v0.3.0>`_
* Improved REST API filters.
0.3.1 (2017-01-09)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.3.0...v0.3.1>`_
* Fixed issues with migrations.
0.3.2 (2017-01-12)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.3.1...v0.3.2>`_
* Fixed route names for SimpleRouter.
0.4.0 (2017-02-06)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.3.2...v0.4.0>`_
* Optimized API
* Added additional filters to API
* Made updates to dependencies library
0.4.1 (2017-02-09)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.4.0...v0.4.1>`_
* Fixed changelog
* Made updates to dependencies library
0.5.0 (2017-04-07)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.4.0...v0.5.0>`_
* Fixed changelog
* Made updates to dependencies library
0.5.1 (2017-04-18)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.5.0...v0.5.1>`_
* Made updates to dependencies library
0.5.2 (2017-05-16)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.5.1...v0.5.2>`_
* Updated setup.py to read requirments.txt
0.5.3 (2018-08-13)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.5.2...v0.5.3>`_
* Updated 3rd party requirements. Some requirements had changed so it was causing failures
Django User Activities
=============================
.. image:: https://badge.fury.io/py/django-user-activities.svg
:target: https://badge.fury.io/py/django-user-activities
.. image:: https://travis-ci.org/chopdgd/django-user-activities.svg?branch=develop
:target: https://travis-ci.org/chopdgd/django-user-activities
.. image:: https://codecov.io/gh/chopdgd/django-user-activities/branch/develop/graph/badge.svg
:target: https://codecov.io/gh/chopdgd/django-user-activities
.. image:: https://pyup.io/repos/github/chopdgd/django-user-activities/shield.svg
:target: https://pyup.io/repos/github/chopdgd/django-user-activities/
:alt: Updates
.. image:: https://pyup.io/repos/github/chopdgd/django-user-activities/python-3-shield.svg
:target: https://pyup.io/repos/github/chopdgd/django-user-activities/
:alt: 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):
.. code-block:: python
INSTALLED_APPS = (
...
'rest_framework',
'django_filters',
...
'user_activities',
...
)
Add Django User Activities's URL patterns:
.. code-block:: python
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:
.. code-block:: python
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:
* Cookiecutter_
* `cookiecutter-djangopackage`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage
History
-------
0.2.0 (2017-12-28)
++++++++++++++++++
* First release on PyPI.
* Initial models and REST API.
0.3.0 (2017-01-05)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.2.0...v0.3.0>`_
* Improved REST API filters.
0.3.1 (2017-01-09)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.3.0...v0.3.1>`_
* Fixed issues with migrations.
0.3.2 (2017-01-12)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.3.1...v0.3.2>`_
* Fixed route names for SimpleRouter.
0.4.0 (2017-02-06)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.3.2...v0.4.0>`_
* Optimized API
* Added additional filters to API
* Made updates to dependencies library
0.4.1 (2017-02-09)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.4.0...v0.4.1>`_
* Fixed changelog
* Made updates to dependencies library
0.5.0 (2017-04-07)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.4.0...v0.5.0>`_
* Fixed changelog
* Made updates to dependencies library
0.5.1 (2017-04-18)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.5.0...v0.5.1>`_
* Made updates to dependencies library
0.5.2 (2017-05-16)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.5.1...v0.5.2>`_
* Updated setup.py to read requirments.txt
0.5.3 (2018-08-13)
++++++++++++++++++
`Full Changelog <https://github.com/chopdgd/django-user-activities/compare/v0.5.2...v0.5.3>`_
* Updated 3rd party requirements. Some requirements had changed so it was causing failures
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.3.tar.gz
.
File metadata
- Download URL: django-user-activities-0.5.3.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8e635248dc06f5527b2166db4543c102cb0b8053d92d46b5d058299fe0d0c29 |
|
MD5 | db3e4430b28e12f9d01451c6b059ed28 |
|
BLAKE2b-256 | 1af7c34b371502ad2fe0c69fd0a0b6df21a5e9453f68710828f62b92f79220f9 |
Provenance
File details
Details for the file django_user_activities-0.5.3-py2.py3-none-any.whl
.
File metadata
- Download URL: django_user_activities-0.5.3-py2.py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9223d207d9613bfcd8c0c5e81add3fdf3ed495f9b58bc94d01ef5377adda353a |
|
MD5 | 40583dd7632bd70f712947e4c48bc42d |
|
BLAKE2b-256 | 4121810db9b210494eea84651528f275889e382651bf0b92bb9fda7d1ece27d8 |