Setting up Django There are plenty of things you need to do. First off. QuerySets and Managers All models get an object manager by default, allowing you to get objects like this: Model.objects.all() A QuerySet is returned as a result. To implement a custom manager, so that you can write, for example: Model.published.all() You can add a subclass to models.Manager in your models.py file: class PublishedManger(models.Manager): def get_queryset(self): return super(PublishedManger, self). …
Setting up the project
My aim when setting this up was to run the application locally using
python manage.py runserver, but to use Heroku for production.