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
Install this app:
pip install django-editorial-staff
Add “editorial_staff” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'editorial_staff', ]
Include the editorial_staff URLconf in your project urls.py like this:
url(r'^staff/', include('editorial_staff.urls')),
Run python manage.py migrate to create the staff models.
Start the development server and visit http://127.0.0.1:8000/staff/ to see a list of staffers and add others.
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.
Open a terminal window and navigate to the root of this app.
Within the app, navigate to ./editorial_staff/staticapp.
If this is your first time running Gulp on this project, run npm install to install JS dependencies. This may take several minutes.
Once your dependencies are installed, run gulp to begin local development.
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.
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
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-editorial-staff-0.7.1.tar.gz
.
File metadata
- Download URL: django-editorial-staff-0.7.1.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c0076713f8892b77f4e369b5b8742fbf158b86336c0d6daddc3c5fbfc622056 |
|
MD5 | 7a10df8d6f9f7622e4b7550ea15604fe |
|
BLAKE2b-256 | 9aeb0fd972b493b6c8cffeba7faf13ad678746f8ccba4917cb621159f30e9d3d |
File details
Details for the file django_editorial_staff-0.7.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_editorial_staff-0.7.1-py2.py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39bfba491e7fe8d854cef2b181ee138740d5436251536a2db62ff6e5a15cbde5 |
|
MD5 | c7b38fe2fb6dc289188baa7695b10fbc |
|
BLAKE2b-256 | 238762eac5701fb28d92f373b9f6b9703c374dd95e39ac51a0e270f93305aabd |