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

Uploaded Source

Built Distribution

django_budget-0.7.3-py2.py3-none-any.whl (2.9 MB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for django-budget-0.7.3.tar.gz
Algorithm Hash digest
SHA256 37681dbbf9197c96545a192019d81f582e87113a1a10d2793736ed16a77c8b0e
MD5 f9f377cdf58aa0d3f4aca3997b2ea5fa
BLAKE2b-256 1d79629a4847d3347eed322366b588ace7b78bce6e8f125778f2e44ff7acd766

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_budget-0.7.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 12c94bf7ee3b864bc50d2c9d28b112dd3363b759f73e7d34ad1a3b031fad0f6a
MD5 c69605ae68934931e08df50bdc8ceaf1
BLAKE2b-256 5ba957a2d75307be4f8c485155027b4c2902b35fdaea53c7745a77eeb50f2708

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