Metadata-Version: 2.0
Name: django-admin-timeline
Version: 1.5.2
Summary: Facebook-like timeline for Django admin
Home-page: https://github.com/barseghyanartur/django-admin-timeline
Author: Artur Barseghyan
Author-email: artur.barseghyan@gmail.com
License: GPL 2.0/LGPL 2.1
Keywords: django-admin-timeline,django,app,python
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Requires-Dist: django (>=1.4)
Requires-Dist: django-nine (>=0.1.1)

===================================
django-admin-timeline
===================================
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
===================================
1. Install in your virtual environemnt

Latest stable version from PyPI:

.. code-block::

    $ pip install django-admin-timeline

Latest stable version from bitbucket:

.. code-block::

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

Latest stable version from github:

.. code-block::

    $ pip install -e git+https://github.com/barseghyanartur/django-admin-timeline@stable#egg=django-admin-timeline

3. Add `admin_timeline` to your `INSTALLED_APPS` in the global settings.py.

.. code-block:: python

    INSTALLED_APPS = (
        # ...
        'admin_timeline',
       # ...
    )

4. Collect the static files by running (see the Troubleshooting section in case of problems):

.. code-block::

    $ ./manage.py collectstatic

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

6. Add the following lines to the global ``urls`` module:

.. code-block:: python

    # 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
<https://django-admin-timeline.herokuapp.com/admin/timeline/>`_ 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`:

.. code-block::

    $ 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`:

.. code-block::

    $ chmod +x django_admin_timeline_example_app_installer.sh

    $ ./django_admin_timeline_example_app_installer.sh

Open your browser and test the app.

- URL: http://127.0.0.1:8001/admin/timeline/
- Admin username: admin
- Admin password: test

If quick installer doesn't work for you, see the manual steps on running the
`example project
<https://github.com/barseghyanartur/django-admin-timeline/tree/stable/example>`_.

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.

.. code-block::

    $ 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:

    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

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>

Screenshots
===================================

.. figure:: https://github.com/barseghyanartur/django-admin-timeline/raw/master/docs/_static/admin_timeline.png
    :align: center
    :width: 900px


