Embed editable Google Doc Spreadsheet in web page
The problem is that the "publish to web" in Google Docs gives you a non-editable version of the spreadsheet. (So this is not really a django problem.)
You will need to do "share", select in "Who has access" that "Anyone with a link" does, and select that Anyone with no sign-in can edit.Then use the sharing link as the src= value.