Skip to content

mmahnken/goathub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goathub: A Toy App for Learning Class-Based Views

If you're here, you probably watched my talk at PyBay 2017 on Class-Based Views, or you like goats, or you like Django's Class-Based Views. Either way, welcome!

goathub

Getting Started

  • Install [Postgres](<https://postgresapp.com/) or the database of your choice. Edit the database config in settings.py as necessary.

  • Create a database called goats.

  • Make a virtual environment.

  • Install requirements.txt.

  • Make a superuser with python manage.py createsuperuser.

  • Migrate your database python manage.py migrate.

Run the app

  • python manage.py runserver

  • Add some goats by logging in with your superuser account and clicking "Add a goat" in the navbar.

    • That's right, you get to look for cute goat images!

Questions? Problems?

Email meggie@hackbrightacademy.com.

About

A toy app for showing some Class-Based Views in Django.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors