miniblog.
← Back to all posts
Nov 6, 2013 at 15:00
"The Model.save() method now tries to directly UPDATE the database if the instance has a primary key value."Django 1.6 is a big improvement!
Wilfred Hughes
Related Posts
Jul 26, 2013 at 15:41
It's surprisingly tricky to update the primary key on a Django model:
#13069 (Update on Primary Key performs Insert) – Django
code.djangoproject.com/ticket/13069
Wilfred Hughes
Shared words: Django, Model, UPDATE, primary, key Score: 236.6
Feb 26, 2014 at 17:11
Django 1.6 fixes
https://code.djangoproject.com/ticket/9589
where the devserver stops on errors. It will save me several alt-tabs per day!
#9589 (development server stops on SyntaxError or other Exceptions) – Django
code.djangoproject.com/ticket/9589
Wilfred Hughes
Shared words: Django, save Score: 61.1
Feb 25, 2013 at 12:24
Today I learnt that Django has had shortcuts.render since 1.3. It saves you passing a RequestContext to render_to_response. Hurrah!
Wilfred Hughes
Shared words: Django, save Score: 61.1