Re: ModelView

2010-07-12 Thread Matthias Kestenholz
On Mon, Jul 12, 2010 at 2:13 PM, Roald wrote: > Hi all, > > > There is a discussion 'Class based generic views in 1.3?' in this > list. I would like to suggest an alternative: ModelViews. There > normally are multiple standard views associated with one model, and > such a

Re: [GSoC] Aggregate Support to the ORM

2008-04-22 Thread Matthias Kestenholz
Hi. this is very exciting! I've one suggestion/question though. On Tue, 2008-04-22 at 13:24 -0700, Nicolas E. Lara G. wrote: > with the possibility of using non-keyword arguments for un-aliased > aggregation, in which case the 'alias' would be automatically created > from the query made: > >>>

Re: Django releases

2008-06-10 Thread Matthias Kestenholz
On Mon, 2008-06-09 at 21:16 -0400, Karen Tracey wrote: > On Sat, Jun 7, 2008 at 3:06 PM, Jacob Kaplan-Moss > <[EMAIL PROTECTED]> wrote: > * Start a "train release" schedule: schedule a couple of 1.0 > betas, a > rc or two, and then a final release. Features that are done

Re: multi-delete and edit form+changelist unification

2008-09-09 Thread Matthias Kestenholz
On Mon, Sep 8, 2008 at 6:55 PM, Ben Firshman <[EMAIL PROTECTED]> wrote: > > > On 8 Sep 2008, at 13:36, Erik Allik wrote: > >> >> I'm glad this came up, because I would also like to recommend >> considering an admin interface for models that use django-mptt. I know >> django-mptt is an external

Re: I want a pony: Distributed RCS

2008-09-11 Thread Matthias Kestenholz
On Thu, Sep 11, 2008 at 10:17 AM, Michael Radziej <[EMAIL PROTECTED]> wrote: > > Hi, > > On Wed, Sep 10, Malcolm Tredinnick wrote: >> Commit ids are stable in, for example, git-svn, >> so merges will be the same for everybody who merges from a >> subversion-tracking branch to their development

Re: I want a pony: Distributed RCS

2008-09-11 Thread Matthias Kestenholz
On Thu, Sep 11, 2008 at 10:40 AM, Matthias Kestenholz <[EMAIL PROTECTED]> wrote: > On Thu, Sep 11, 2008 at 10:17 AM, Michael Radziej <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> On Wed, Sep 10, Malcolm Tredinnick wrote: >>> Commit ids ar

Re: Form.Media: render inline css/js

2016-09-30 Thread Matthias Kestenholz
On Thursday, September 29, 2016 at 4:11:04 PM UTC+2, is_null wrote: > > Thanks for the heads up, a similar ticket has been closed as wontfix, > because it isn't compatible with CSP: > https://code.djangoproject.com/ticket/13978 > > While I'm all against inline scripts, I have a use case which

Re: Adding generated common table expressions

2017-03-18 Thread Matthias Kestenholz
Hi, On Sat, Mar 18, 2017 at 12:49 AM, Tim Graham wrote: > Hi, I don't know anything about CTE, but did you see this third-party > package? https://github.com/petrounias/django-cte-trees -- It seems to be > PostgreSQL only. Just chiming in to point out a maintained and

Re: Enable SESSION_COOKIE_SECURE by Default

2019-04-03 Thread Matthias Kestenholz
On Wed, Apr 3, 2019 at 10:02 AM Carlton Gibson wrote: > Hi all. > > https://code.djangoproject.com/ticket/30314 > > > Per the documentation, "Leaving this setting off isn’t a good idea > because an attacker could capture an unencrypted session cookie with a > packet sniffer and use the cookie

Re: Enable SESSION_COOKIE_SECURE by Default

2019-04-03 Thread Matthias Kestenholz
On Wed, Apr 3, 2019 at 11:39 AM James Bennett wrote: > On Wed, Apr 3, 2019 at 2:34 AM Carlton Gibson > wrote: > >> Yes, super thanks. Breaking login in development would qualify as a good >> *Why* yes.  >> >> I'll assume we're NOT going to do this, but anyone with input, please do >> comment.

Re: Force "required" fields to be included in a ModelForm

2019-04-17 Thread Matthias Kestenholz
Please don't do this. There are very good reasons for NOT including blank=False fields by default such as batch-editing some field with a formset or inlineformset or just offering different forms to users with different access levels (as Tobias wrote). Django started recommending using `fields`

Re: Proposal to format Django using black

2019-04-17 Thread Matthias Kestenholz
After dozens of mails it's clear that this is certainly a controversial topic -- especially, as always, string quoting. I think there is an overwhelming benefit in adopting black and not deviating from the defaults even if the only benefit of this is just never having to discuss these choices

Re: translation.E005 / Should LANGUAGES_BIDI be a strict subset of LANGUAGES?

2019-04-09 Thread Matthias Kestenholz
d the same way, either by setting LANGUAGES_BIDI or adding >>> it to SILENCED_SYSTEM_CHECKS. >>> >>> I think I'm against removing the check, but pro anything that can make >>> it easier for users such as yourself - perhaps something as simple as a >>> sugge

translation.E005 / Should LANGUAGES_BIDI be a strict subset of LANGUAGES?

2019-04-09 Thread Matthias Kestenholz
Hello everyone, The resolution of https://code.djangoproject.com/ticket/30241 in https://github.com/django/django/commit/4400d8296d268f5a8523cd02ddc33b12219b2535 introduced a new and in my opinion backwards incompatible requirement through the system checks framework. Previously*, overriding

Re: translation.E005 / Should LANGUAGES_BIDI be a strict subset of LANGUAGES?

2019-04-09 Thread Matthias Kestenholz
stion in the error message to set LANGUAGES_BIDI = [] if you're not > using RTL languages? > > Thanks, > > Adam > > On Tue, 9 Apr 2019 at 11:22, Matthias Kestenholz wrote: > >> Hello everyone, >> >> The resolution of https://code.djangoproject.com/ticket/30

Re: Proposal to format Django using black

2019-04-24 Thread Matthias Kestenholz
On Wed, Apr 24, 2019 at 9:06 AM Carlton Gibson wrote: > On Wednesday, 24 April 2019 08:58:57 UTC+2, Josh Smeaton wrote: >> >> lots of bikeshedding >> > > Yeah.  > > But we've already got a style guide, so **IF** we can get a YAPF config to > work to that then hopefully the arguments against

Re: Proposal: Multiple-Inheritance in Templates

2020-02-18 Thread Matthias Kestenholz
Hi, You could make the generic-list.html template extend a configurable base template, e.g. "{% extends base_template|default:'base.html' %}", and add context["base_template"] = "orders/base.html" in views belonging to the orders app, and "products/base.html" in the products app. I often use

Re: timesince 'depth' parameter

2020-05-23 Thread Matthias Kestenholz
> To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/DCC0D41F-A34F-4FFD-B8CC-39988EBE357E%40tomforb.es > &l

Re: Mechanics of the EmailValidator.domain_allowlist rename.

2020-06-18 Thread Matthias Kestenholz
Hi I have survived a few changes in Django over the last >10 years, and this change is absolutely not comparable to any of the problematic ones. For example, the get_query_set -> get_queryset rename was hard because it was unclear how to properly support subclassing querysets. The on_delete

Re: Multi theme support for admin

2020-12-21 Thread Matthias Kestenholz
lopers/f96a4b22-3ce3-4031-a97a-d3b406d788ccn%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/f96a4b22-3ce3-4031-a97a-d3b406d788ccn%40googlegroups.com?utm_medium=email_source=footer> > . > -- Feinheit AG - Matthias Kestenholz - Direkt +41 79 444 78 96 - Ze

Re: The blacklist / master issue

2021-02-25 Thread Matthias Kestenholz
Yes, please. As a third party app developer I'll have to update a few GitHub workflows and tox configurations (since I'm running testsuites against the main branch too). It may be useful to announce this change on as many channels as possible (mailing lists, the forum, as a news entry on the

Re: Proposal on how add configuration options to Email Backends

2022-01-30 Thread Matthias Kestenholz
Maybe we're doing something stupid or there's a misunderstanding but we had a recent use case for this: The same website runs on several domains, one domain per language and each domain has its own email address. We were using an email relay (Mailgun in this case but the same will probably be true

Re: Idea: Add .checked(/) to QuerySet as alternative to .filter() w/ .first()

2022-07-11 Thread Matthias Kestenholz
Hi I believe the main objection is against adding additional API to querysets. get_object_or_404 only converts DoesNotExist into a 404 exception and doesn't handle MultipleObjectsReturned. I'm not the first to suggest adding an additional shortcut, e.g. django.shortcuts.get_object_or_none which

Re: #21978 include production-ready web server

2022-11-02 Thread Matthias Kestenholz
On Tue, Nov 1, 2022 at 10:34 AM Florian Apolloner wrote: > Right, that would work. I am wondering though if we want to go all in on a > typed config object like that or in a first step only have a simple API > like `config.get('DEBUG', cast=bool)`. > > I found a neat trick in a 12factor library

Re: (Circa end of 2021) Localization issues with input type=date?

2022-11-10 Thread Matthias Kestenholz
Hi, On Thu, Nov 10, 2022 at 9:40 AM Jacob Rief wrote: > How about ditching the JS based datepicker altogether and replace it > against the built-in datepicker offered by modern browsers? This would also > help users of mobile devices because they already have good internal > implementations to