Skip to main content

A simple app to manage newsroom staff and hierarchy.

Project description

django-editorial-staff is a simple Django app to store and manage editorial staffers, and the organizational hierarchy they work in.

It includes a robust API that other apps can treat as a “single source of truth” for users in the organization.

It also includes a “data provider” feature that will quickly and automatically ingest users’ data from third-party services (and ships with a “data provider” for Slack organizations).

Detailed documentation will be added at a later date.

Quick start

  1. Install this app:

    pip install django-editorial-staff
  2. Add “editorial_staff” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'editorial_staff',
    ]
  3. Include the editorial_staff URLconf in your project urls.py like this:

    url(r'^staff/', include('editorial_staff.urls')),
  4. Run python manage.py migrate to create the staff models.

  5. Start the development server and visit http://127.0.0.1:8000/staff/ to see a list of staffers and add others.

  6. Visit http://127.0.0.1:8000/staff/api/ to explore the app’s REST API.

Front-end development

django-editorial-staff front-end pages are built using ES6 and SCSS, and this app includes a Gulp installation that converts files written in these dialects to plain JavaScript and CSS, respectively.

When developing on the front-end, you’ll need to run this Gulp installation yourself. Follow these steps to get started.

  1. Open a terminal window and navigate to the root of this app.

  2. Within the app, navigate to ./editorial_staff/staticapp.

  3. If this is your first time running Gulp on this project, run npm install to install JS dependencies. This may take several minutes.

  4. Once your dependencies are installed, run gulp to begin local development.

  5. When your Gulp server says it’s up and running, visit http://127.0.0.1:3000/staff/ for a live preview of your front-end files.

  6. Proceed to modify your front-end interface by changing files in ./editorial_staff/staticapp/scss/ and ./editorial_staff/staticapp/js/. Your changes will be applied to the Gulp server URL without the need for to reload the page manually.

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

django-editorial-staff-0.7.4.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

django_editorial_staff-0.7.4-py2.py3-none-any.whl (2.9 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-editorial-staff-0.7.4.tar.gz.

File metadata

  • Download URL: django-editorial-staff-0.7.4.tar.gz
  • Upload date:
  • Size: 2.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for django-editorial-staff-0.7.4.tar.gz
Algorithm Hash digest
SHA256 50a85280004e4468290fb5afc082937cfbfe234069bf4c751a64d4af11fe6e22
MD5 65a7b84ffa0a0e6e8b039f2e6fb2d563
BLAKE2b-256 da4fcba5cb679f5292ba7c7be7c51c4d8cc26d0c4bef3198fa457a9b584d23fb

See more details on using hashes here.

File details

Details for the file django_editorial_staff-0.7.4-py2.py3-none-any.whl.

File metadata

  • Download URL: django_editorial_staff-0.7.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5

File hashes

Hashes for django_editorial_staff-0.7.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 413fdd62ca654ff979a613a2902c9cdf1c54297b27ff678a696d54a097de4269
MD5 2b666a426e1d9bbee41c648dde8e1ec1
BLAKE2b-256 2721c3fc72ee56a21f30e2af25bd99553a5c55b6e97219b6319017e04ea4b68d

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