Skip to main content

A simple app to manage newsroom staff assignments.

Project description

django-assignment-desk

django-assignment-desk is a simple Django app to store and manage weekly editorial staff assignments.

It depends on a staff list (such as the one provided by django-editorial-staff), and returns a rich API that can be queried by any number of consumers (we're using it to feed both a read-only web interface and a chatbot).

More detailed documentation will be added at a later date.

Quick start

  1. Install this app:

     pip install django-assignment-desk
    
  2. Add "assignment_desk" to your INSTALLED_APPS setting like this:

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

    url(r'^assignments/', include('assignment_desk.urls')),
    
  4. Run python manage.py migrate to install the data models into your database.

  5. Start the development server and visit http://127.0.0.1:8000/assignments/ to start editing assignments.

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

Front-end development

django-assignment-desk 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 ./assignment_desk/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/assignments/ for a live preview of your front-end files.

  6. Proceed to modify your front-end interface by changing files in ./assignment_desk/staticapp/scss/ and ./assignment_desk/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-assignment-desk-0.0.1.tar.gz (103.1 kB view details)

Uploaded Source

Built Distribution

django_assignment_desk-0.0.1-py2.py3-none-any.whl (102.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-assignment-desk-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-assignment-desk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 79021e505d87a0c7f84fb2db77f02376f6f6f0b416f6f490b2d9c69538e3355b
MD5 e7865ef0e6bf6e1b2320671446886d55
BLAKE2b-256 dc3e740c68bad0eab7ef0013201b575f763605c3784e7d824ff584b7617ee9f8

See more details on using hashes here.

File details

Details for the file django_assignment_desk-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_assignment_desk-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 505e0752034ecd16e033d39c8dad5864ff683bcbba23d6a903b1a50c43933f26
MD5 b91498206c24cc88dc3c19287a2cce3b
BLAKE2b-256 8d4319b8b679d8d166f8443c0b8924d3e2faeccc0ab1528707fc04ff2fcc73f8

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