Skip to main content

Administration For django-river

Project description

River Admin

Build Status Documentation Status GitHub license Coverage Status Code Quality

:rocket: :rocket: :rocket: River Admin is a very modern and a shiny customizable admin extension with user friendly and easy to use interfaces for django-river . The power of it comes from the libraries it uses on both backend and frontend sides which are django-river, django-rest-framework Vue and Vuetify.

Images

Donations

This is a fully open source project and it can be better with your donations.

If you are using River Admin to create a commercial product, please consider becoming our sponsor , patron or donate over PayPal

Documentation

Online documentation is available at http://river-admin.rtfd.org/.

Getting Started

Requirements

Installation

Note: Before you can set up your workflow, your app integration with django-river must be done. Don’t worry it pretty trivial to set it up. To see how to do it with django-river please have a look at django-river

  1. Install and enable it

    pip install river-admin
    # settings.py
    
    INSTALLED_APPS=[
        ...
        'river',
        'rest_framework.authtoken',
        'river_admin'
        ...
    ]
    
    REST_FRAMEWORK = {
        'DEFAULT_AUTHENTICATION_CLASSES': [
            'rest_framework.authentication.BasicAuthentication',
            'rest_framework.authentication.TokenAuthentication',
        ],
        'EXCEPTION_HANDLER': 'river_admin.views.exception_handler'
    }
  2. Do migration;

    python manage.py migrate
  3. Register River Admin urls in your app urls.py

    urlpatterns = [
        url(r'^', include("river_admin.urls")),
    ]
  4. Collect statics (For production);

    python manage.py collectstatic
  5. Run your application;

    python manage.py runserver 0.0.0.0:8000
  6. Open it up on the browser and login with an admin user and enjoy the best way of flowing your work ever :-)

    http://0.0.0.0:8000/river-admin/

Out of the Box Examples

River Admin comes with few examples that you can fiddle with and find your way easier.

Note: Enabling them will create their tables and also the necessary workflow components in the DB for you. It might be good idea to try them out on a development database.

Shipping Flow

Enable the example app and then run your application

# settings.py

INSTALLED_APPS=[
    ...
    'river',
    'rest_framework.authtoken',
    'river_admin',
    'river_admin_shipping_example',
    ...
]
python manage.py migrate

Shipping Workflow Img

Issue Tracking Flow

Enable the example app and then run your application

# settings.py

INSTALLED_APPS=[
    ...
    'river',
    'rest_framework.authtoken',
    'river_admin',
    'river_admin_issue_tracker_example',
    ...
]
python manage.py migrate

Issue Tracking Workflow Img

Contribute

In order to contribute, fork the repository, look at every instructions in CONTRIBUTE before you work then commit your changes and send a pull request.

Make sure you add yourself to CONTRIBUTORS.

License

This software is licensed under the New BSD License. See the LICENSE FILE file in the top distribution directory for the full license text.

Project details


Download files

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

Source Distribution

river-admin-0.3.0.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

river_admin-0.3.0-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file river-admin-0.3.0.tar.gz.

File metadata

  • Download URL: river-admin-0.3.0.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.3

File hashes

Hashes for river-admin-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c8b3af50d17487099c4d2563e68b51575650018f958c42f26532bf925549d6b3
MD5 4b5ff29c974ab42e519e68f209edf121
BLAKE2b-256 20ebdf420debbf7c3920f06d9d5924bac1b6515e00617f3eddb90b2851aa8a31

See more details on using hashes here.

File details

Details for the file river_admin-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: river_admin-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.3

File hashes

Hashes for river_admin-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dc976792c51c6a79aba26cd945ee214c387c454c079e84ce9906deac4b0d25f
MD5 eb61ae5265bfa945f8feab0b85a0d66c
BLAKE2b-256 4a4092f7b17977f43b8bb876e7ded80f23eae08816663ac99627a45cab9e97ea

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page