Facebook-like timeline for Django admin
Project description
Package
django-admin-timeline
Description
A Facebook-like timeline app for Django admin. It’s very similar to built-in feature Daily progress, but then has a nicer templates and infinite scroll implemented. Actions are broken up by day, then by action. Filtering by user (multiple select) and content type (multiple select) is implemented.
Prerequisites
Django 1.5.+
Python 2.6.8+, 2.7.+, 3.3.+
Installation
Install in your virtual environemnt
Latest stable version from PyPI:
$ pip install django-admin-timeline
Latest stable version from bitbucket:
$ pip install -e hg+http://bitbucket.org/barseghyanartur/django-admin-timeline@stable#egg=django-admin-timeline
Latest stable version from github:
$ pip install -e git+https://github.com/barseghyanartur/django-admin-timeline@stable#egg=django-admin-timeline
Add admin_timeline to your INSTALLED_APPS in the global settings.py.
>>> INSTALLED_APPS = ( >>> # ... >>> 'admin_timeline', >>> # ... >>> )
Collect the static files by running (see the Troubleshooting section in case of problems):
$ ./manage.py collectstatic
Override app settings in your global settings module (see the apps.admin_timeline.defaults for the list of settings). As for now, most important of those is NUMBER_OF_ENTRIES_PER_PAGE - number of entries displayer per page (for both non-AJAX and AJAX requests).
Add the following lines to the global urls module:
>>> # Admin timeline URLs. Should be placed BEFORE the Django admin URLs. >>> (r'^admin/timeline/', include('admin_timeline.urls')), >>> url(r'^admin/', include(admin.site.urls)),
Troubleshooting
If somehow static files are not collected properly (missing admin_timeline.js and admin_timeline.css files), install the latest stable version from source.
$ pip install -e hg+http://bitbucket.org/barseghyanartur/django-admin-timeline@stable#egg=django-admin-timeline
Usage
After following all installation steps, you should be able to access the admin-timeline by:
An example application is available. See the http://bitbucket.org/barseghyanartur/django-admin-timeline/src (example directory).
License
GPL 2.0/LGPL 2.1
Support
For any issues contact me at the e-mail given in the Author section.
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
File details
Details for the file django-admin-timeline-1.2.tar.gz
.
File metadata
- Download URL: django-admin-timeline-1.2.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe1aacb85f10159147d9d5537426373b27d185040f054888b7c30e34356e15c |
|
MD5 | fc07706fe51911c02e19c28a39535103 |
|
BLAKE2b-256 | 82b4a38ceb4f890071a3ddd20d105fee0683ddd62147a6d3d461d79e1a6a7eda |