This is how much of newbie git user I am, right here. I'm working on a forked repo. I've created a new branch and am working on it, making commits. I want to share the work on my fork so that I can work on another computer, so I am pushing those commits with git push origin <branch>. I want to squash those commits eventually to a single commit that I can use for the PR. …
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.