Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Facebook-like timeline for Django admin

Project description

Note

Due to name change, this package is no longer updated! The new version could be found at https://pypi.python.org/pypi/django-admin-timeline

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. Also, actions are broken up by day, then by action. Filtering by user is implemented too.

Installation

  1. Install in your virtual environemnt

    Latest stable version from PyPI:

    $ pip install admin_timeline

    Latest stable version from bitbucket:

    $ pip install -e hg+http://bitbucket.org/barseghyanartur/django_admin_timeline@stable#egg=django_admin_timeline

    Latest development version from bitbucket:

    $ pip install -e hg+http://bitbucket.org/barseghyanartur/django_admin_timeline#egg=django_admin_timeline

  1. Add admin_timeline to your INSTALLED_APPS in the global settings.py.

    >>> INSTALLED_APPS = (
    >>> # ...
    >>> 'admin_timeline',
    >>> # ...
    >>> )
    
  2. Collect the static files by running (see the Troubleshooting section in case of problems):

    $ ./manage.py collectstatic

  3. 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).

  4. 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:

http://127.0.0.1:8000/admin/timeline/

License

GPL 2.0/LGPL 2.1

Support

For any issues contact me at the e-mail given in the Author section.

Author

Artur Barseghyan <artur.barseghyan@gmail.com>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
admin-timeline-0.5.tar.gz (9.2 kB) Copy SHA256 hash SHA256 Source None Jun 22, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page