Facebook-like timeline for Django admin
pip install admin-timeline==0.5
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.
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
INSTALLED_APPS = (
# ...
'admin_timeline',
# ...
)
$ ./manage.py collectstatic
NUMBER_OF_ENTRIES_PER_PAGE
- number of entries
displayed per page (for both non-AJAX and AJAX requests).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)),
See the live demo app on Heroku.
Credentials:
In order to be able to quickly evaluate the django-admin-timeline, a demo app (with a quick installer) has been created (works on Ubuntu/Debian, may work on other Linux systems as well, although not guaranteed). Follow the instructions below for having the demo running within a minute.
Grab the latest django_admin_timeline_example_app_installer.sh:
$ wget https://raw.github.com/barseghyanartur/django-admin-timeline/stable/example/django_admin_timeline_example_app_installer.sh
Assign execute rights to the installer and run the django_admin_timeline_example_app_installer.sh:
$ chmod +x django_admin_timeline_example_app_installer.sh
$ ./django_admin_timeline_example_app_installer.sh
Open your browser and test the app.
If quick installer doesn't work for you, see the manual steps on running the example project.
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
After following all installation steps, you should be able to access the django-admin-timeline by:
http://127.0.0.1:8000/admin/timeline/
An example application is available. See the following directory:
https://github.com/barseghyanartur/django-admin-timeline/tree/stable/example
GPL 2.0/LGPL 2.1
For any issues contact me at the e-mail given in the Author section.
Artur Barseghyan <artur.barseghyan@gmail.com>