Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.56 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.56 KB

Newshound

A sample app that demonstrates some simple, sustainable Django admin features and packages around custom views and actions.

Created for DjangoCon 2017. Slides can be found here

Run

  • put a SECRET_KEY in your env
  • pip install -r requirements.txt
  • python manage.py migrate
  • python manage.py runserver 0:5000
  • navigate to localhost:5000/admin/

Packages

See also admin_site.py and admin_mixins.py for some other customizations.

Schema

Contains articles, as well as a database of dog breeds and their breed types. The breeds/groups data is real! The dogs are not. A schema:

Newshound schema

Important!

Data sources:

For dogs, by dogs, about dogs.

A cute dog