Skip to main content

A tool to help newsrooms manage their content, from pitch to planning to production.

Project description

django-budget
=============

--------------

*A tool to help newsrooms manage their content, from pitch to planning to production.*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--------------

A project of *The Dallas Morning News*
''''''''''''''''''''''''''''''''''''''

--------------

``django-budget`` is a Django and JavaScript app that can track stories
as they are conceived, assembled and published.

It includes an approachable interface that can handle all the daily
demands of planning and assembling content across news organizations
large and small, based on a standards-compliant API that can be used by
other consumers — from chatbots to full-screen displays to many other
applications.

Detailed documentation (including a user guide) will be added at a later
date.

Quick start
-----------

1. Install this app into a Django project and virtual environment (more
information about reaching this stage will also be forthcoming):

::

pip install django-budget

2. Add "budget" to your INSTALLED_APPS setting like this:

::

INSTALLED_APPS = [
...
'budget',
]

3. Include the budget URLconf in your project urls.py like this:

::

url(r'^budget/', include('budget.urls')),

4. Run ``python manage.py migrate`` to create the budget models.

5. Start the development server and visit http://127.0.0.1:8000/budget/
to see your story budget and begin planning stories.

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

Requirements
------------

``django-budget`` is designed to work with Django 1.11 and 2.0, and is
compatible with Python 2.7 and Python 3.6+.

It uses Django’s specific enhancements for the PostgreSQL database
manager, along with the ``psycopg2`` library as an interface to
Postgres.

It relies heavily on a related app, ```django-editorial-staff```_, that
stores user byline data and the organizational scheme of a newsroom —
needed to tie budgeted content to individual staffers and departments.

Front-end development
---------------------

``django-budget`` 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 ``./budget/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/budget/ for a live preview of your front-end
files.

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

.. _``django-editorial-staff``: https://github.com/DallasMorningNews/django-editorial-staff/


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-budget-0.7.5.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

django_budget-0.7.5-py2.py3-none-any.whl (3.0 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-budget-0.7.5.tar.gz.

File metadata

File hashes

Hashes for django-budget-0.7.5.tar.gz
Algorithm Hash digest
SHA256 d9f0f458b8d507f1d2e9519aab7d409dc8934f7053b051a467049b8406c14727
MD5 4fe9426575e4f41924953c44b214d877
BLAKE2b-256 a7e30bc73fd0a2461b7e8737d1e8b44102cff6e98f2e405d9b04cb5bb6342972

See more details on using hashes here.

File details

Details for the file django_budget-0.7.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_budget-0.7.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 17ddb4e9d09af7342f2b6e21b1b2bd1ceba56a350de404982d04960bc625e473
MD5 bd4211f50c1627632b27d0040baff1d4
BLAKE2b-256 08c88dbdb65105247e0ef220070ab1d05db2d61fc779f5536cf276391e1941f0

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