- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
Over the last 3 years or so I've helped a bunch of companies, small and large, switch to Django. As part of that, I've done a lot of teaching Django (and Python) to people new to the platform (and language). I'd estimate I've trained something around 200-250 people so far. These aren't people new to programming — indeed, almost all of them are were currently employed as software developers — but they were new to Python, or to Django, or to web development, or all three.
In doing so, I've observed some patterns about what works and what doesn't. Many (most) of the failings have been my own pedagogical failings, but as I've honed my coursework and my skill I'm seeing, time and again, certain ways that Django makes itself difficult to certain groups of users.
This document is my attempt at organizing some notes around what ways different groups struggle. It's not particularly actionable — I'm not making any arguments about what Django should or shouldn't do (at least
Here is a quick primer on how to update your branches to track the new django/django
git repository. The commands that follow assume that you have your own fork of django/django-old
, and that you have this cloned locally, as the origin
remote.
Following these steps shouldn't break anything. So long as all your changes are committed and pushed to your fork of django-old
already, nothing will affect them. If you are concerned, you can run them in a fresh clone of your fork.
First, add all of the new commits from the new Django repository.
$ git remote add django-new https://github.com/django/django
$(document).bind('ajaxError', function(e, jqXHR){ | |
if (jqXHR.status == 500){ | |
var erframe = document.createElement('iframe'); | |
$('body').append(erframe); | |
$(erframe).css({ | |
'position': 'absolute', | |
'top': '5%', 'left': '50%', | |
'width': '90%', 'height': '90%', | |
'marginLeft': '-45%' | |
}).attr('id', 'errorframe'); |