news-application-project

News 4 U: user guide

Sign in and registration

The Django admin (http://127.0.0.1:8000/admin/) is optional and only for superusers; all regular tasks are available on the website.

Reader tasks

Readers see published articles and newsletters. The article home page shows approved content from the reader’s subscriptions; article pages outside the reader’s subscribed publications/journalists are not available to Reader-role accounts.

  1. Sign in as a Reader.
  2. Select My subscriptions in the navigation.
  3. Choose one or more publications and journalists, then save.
  4. Return to Articles to read subscribed articles.
  5. Open Newsletters to see journalist-curated newsletters containing published stories.

The API supports the same subscription choices for programmatic clients.

Journalist tasks

Journalists use the role-specific links in the main navigation:

An article submission is not published immediately. It enters the Editor review queue. If a Journalist is affiliated with a publication, it appears as an option when preparing that publication’s content. Otherwise, submit an independent article.

Journalists may edit or delete their own articles/newsletters, not another journalist’s work.

Editor tasks

Editors use these navigation links:

Approving an article marks it published, records the approving Editor and timestamp, emails the relevant subscribers, and posts an approval log entry to the app’s own /api/approved/ endpoint.

Publisher management (editors)

Publishers are created and managed on the site, not in the admin:

  1. Sign in as an Editor and open Publishers.
  2. Select Create publisher, enter a name and description, and tick the editors and journalists to affiliate. At least one editor is required, and you are added as an editor automatically.
  3. Use Manage members on a publisher to rename it or add and remove affiliated editors and journalists. Only editors affiliated with a publisher can manage it.
  4. Delete removes a publisher that has no articles.

Journalists can open Publishers to see their affiliations, and Readers see the publications in My subscriptions. A journalist can submit articles for a publisher only after an editor affiliates them with it.

Users’ groups are synchronized from their role. The website and API independently check roles and ownership; hiding a link is not the access-control mechanism.

Troubleshooting