Facebook-like timeline for Django admin
Project 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.4, 1.5, 1.6, 1.7, 1.8
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 displayed 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)),
Demo
Live demo
See the live demo app on Heroku.
Credentials:
username: admin
password: test
Run demo locally
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.
Admin username: admin
Admin password: test
If quick installer doesn’t work for you, see the manual steps on running the example project.
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 django-admin-timeline by:
An example application is available. See the following directory:
https://github.com/barseghyanartur/django-admin-timeline/tree/stable/example
License
GPL 2.0/LGPL 2.1
Support
For any issues contact me at the e-mail given in the Author section.
Screenshots
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-admin-timeline-1.5.tar.gz
.
File metadata
- Download URL: django-admin-timeline-1.5.tar.gz
- Upload date:
- Size: 50.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e9cbe25a20a7d0295b623d530fe4d85926b7780deeb678223d1f6aa7fe190ae |
|
MD5 | 6a4cafeac58246b52069b976fab78978 |
|
BLAKE2b-256 | 3d68d7c053f5f396b40c39a022782267fa1beecc54ecb6d1bb25a9772213ef11 |
File details
Details for the file django_admin_timeline-1.5-py2.py3-none-any.whl
.
File metadata
- Download URL: django_admin_timeline-1.5-py2.py3-none-any.whl
- Upload date:
- Size: 58.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f084ed53f5da83cdea05fac0fc5e6e4e831c43a730dfc7b95f657d6cb7f98788 |
|
MD5 | 74789c53b2d8a8b64d6c182d1a3527bd |
|
BLAKE2b-256 | fc9e872ead3a3c1f5bb487e647b95ec2caa4c693faee828971698c6ac83d06e8 |