You cannot post messages because only members can post, and you are not currently a member.
Description:
Discussion group for Django developers. This group is used for discussion of developing Django itself, not user questions; Please use django-users for issues regarding using the framework, questions for the Django user community outreach, etc.
|
|
|
autocommit, INSERT... RETURNING and PostgreSQL 8.2+
|
| |
Greetings, In looking around the code for the psycogp2 backend, it looks like autocommit is used, in part, as a checked assertion that the database being used is PG 8.2 or greater. Comments lead me to believe that the reason that autocommit is limited to 8.2+ is that INSERT ... RETURNING was introduced into 8.2, and that syntax is required for correct... more »
|
|
#10509 (Better handling of database-specific information)
|
| |
Greetings, As part of proposing a patch for a bug I filed (#12180), I ran across this ticket, and took the liberty of claiming it. Since I'm relatively new to working on Django code proper, I wanted to start a discussion about possible approaches to solving these issues. I see two basic philosophical approaches:... more »
|
|
Non-trivial question: New subclass companion for Stacked/Tabular Inlines
|
| |
I'm aware of the current timeline of the 1.2 release, and thus I want
to clarify the definition of non-trivial in this case:
I've written a 'TiledInline', subclass to
django.contrib.admin.options.I nlineModelAdmin. It adds the ability to
enhance the StackedInline such that formsets become "cards" or "tiles"... more »
|
|
#7539 (ON DELETE support) aka ORM-09 - A call for feedback
|
| |
There's a new patch on the ticket[1], based on Michael Glassford's work, that solves a few remaining issues and should be fully backwards compatible. I haven't painted the bikeshed yet, so the API still is `on_delete=CASCADE | SET_NONE | SET_DEFAULT | PROTECT | DO_NOTHING | SET(value)`. Two minor additions:... more »
|
|
install sorl.thumbnail gives 'thumbnail' is not a valid tag library'
|
| |
I am trying to install sorl.thumbnail but am getting the following
error message:
'thumbnail' is not a valid tag library: Could not load template
library from django.templatetags.thumbnail, No module named PIL
I have placed the sorl folder in my project folder
I have placed 'sorl.thumbnaills' under installed apps... more »
|
|
#7052 - Fixing serialization for content types and auth
|
| |
Hi all, Next on my pony list for v1.2: #7052 - fixing the serializers to work around the problem of serializing dynamically created objects, such as those produced by contrib.auth and contrib.contenttypes. I need some feedback on how much of this solution we need, want, and are comfortable seeing in trunk. Apologies in advance for the long post.... more »
|
|
Testing warnings
|
| |
I'm preparing a patch to make querysets call warnings.warn if .iterator is used multiple times on a single qs. I don't see any examples of verification of warnings in the current test suite. Any suggestions on how best to test this?
|
|
|