A news site about dogs, by dogs, for dogs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
newshound
.gitignore
README.md
db.sqlite3
manage.py
requirements.txt

README.md

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