FIleField(null=True) (Was: Guardrails around lack of model validation on blank=True fields)

2021-07-27 Thread Raffaele Salmaso
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/58616ad3-54b6-4b21-b252-96040680fa04n%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/58616ad3-54b

Re: Do people actually squash migrations?

2021-05-12 Thread Raffaele Salmaso
just because). -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalmaso -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe f

Re: Status of 3.1 release blockers.

2020-07-31 Thread Raffaele Salmaso
On Fri, Jul 31, 2020 at 12:23 PM Raffaele Salmaso wrote: > On Fri, Jul 31, 2020 at 12:12 PM Carlton Gibson > wrote: > What about: > retry πŸ˜… django 3.1 * add a global settings set to sha1 * configure settings template to use sha256 so a new project will start with new algorithm * a

Re: Status of 3.1 release blockers.

2020-07-31 Thread Raffaele Salmaso
. > Sorry, s/3.2/3.1/ in all emails 😰 -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalmaso -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" grou

Re: Status of 3.1 release blockers.

2020-07-31 Thread Raffaele Salmaso
ge and instruction how to upgrade django 4.0 * remove setting -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalmaso -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Dj

Re: Status of 3.1 release blockers.

2020-07-31 Thread Raffaele Salmaso
r.) > I think this just move the migration problem from 3.2 to 4.0. What about the other way: add a migration setting set to new algorithm, so who really need sha1 can opt-in to old algorithm? -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalm

Re: Rename request.GET and POST, and lowercase COOKIES, FILES, and META

2020-05-06 Thread Raffaele Salmaso
roups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/CAMyDDM3%2BUucViDezhkWrFsk6ZsKViWjOgtA5aBm9pnzozdc%2Beg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-developers/CAMyDDM3%2BUucViDezhkWrFsk6ZsKViWjOgtA5aBm9pnzozdc%2Beg%40mail.gm

Re: GDAPS

2020-01-14 Thread Raffaele Salmaso
he patch. > I've left a comment in PR, but maybe here is more appropriate for general discussion: please, don't add other magic or special cases... I'm for deprecate and remove the default_app_config and have only one way to add an application. Thanks -- | Raffaele Salmaso | ht

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

2019-07-18 Thread Raffaele Salmaso
On Thu, Jul 18, 2019 at 9:49 PM Jani Tiainen wrote: > But what happened to them since so far none of them were completed? > For my case: life :D Anyway, I'll be happy to finish it. -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.c

Re: Pre-proposal: adopt dj-database-url as a DEP 7 official project

2019-07-18 Thread Raffaele Salmaso
ups.com. > To post to this group, send email to django-developers@googlegroups.com. > Visit this group at https://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/c4044098-d97f-44be-8859-b05cb594a7be%40Spark &

Re: Django security releases issued: 2.1.6, 2.0.11, and 1.11.19

2019-02-11 Thread Raffaele Salmaso
> getfullargspec > > 1.11.18 works fine for the same test. > Hi Riccardo, please check if you use the correct django version, django.contrib.admin.templatetags.base is there from django 2.1 -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com

Re: Integrate dj-database-url into Django

2018-12-23 Thread Raffaele Salmaso
t; email to django-developers+unsubscr...@googlegroups.com. > To post to this group, send email to django-developers@googlegroups.com. > Visit this group at https://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/m

"Variables and attributes may not begin with underscores" error

2018-06-29 Thread Raffaele Salmaso
this limitation? Thaks -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalmaso -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe

Re: About #8500 and #27728

2018-01-21 Thread Raffaele Salmaso
> > I will look at this issue on Monday. > Thanks! > Please don't loose heart. πŸ™‚ > Don't worry😁 > Kind Regards, > > Carlton > > > On Friday, 19 January 2018 22:41:22 UTC+1, Raffaele Salmaso wrote: >> >> Hi all, >> as these PR have merge

Re: About #8500 and #27728

2018-01-19 Thread Raffaele Salmaso
Hi all, as these PR have merge conflicts that need to be resolved, and it takes time to keep that ready to merge, I would be glad to know if continue to work on them (and how to get them merged) or just drop them and carry on. Thanks On Tue, Sep 5, 2017 at 10:57 AM, Raffaele Salmaso wrote

About #8500 and #27728

2017-09-05 Thread Raffaele Salmaso
asy to replicate The approach is to create a custom InclusionAdminNode, which handle all common task to split the include parameters, select the correct template and wrapping the original tag function (which are never changed). Hope this clears all intentions and have them in django 2.0 :) --

Ask for PR review

2017-08-23 Thread Raffaele Salmaso
Hi, as django freeze is coming next month and I have some time to work on, I would like merge these two admin PR https://github.com/django/django/pull/7765 https://github.com/django/django/pull/7840 Thanks! -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https

Re: Renaming the postgresql_psycopg2 backend

2017-01-23 Thread Raffaele Salmaso
s, and have an explicit error on unavailable backend. -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalmaso -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)"

Re: automating Django releases

2016-11-25 Thread Raffaele Salmaso
rsion string to create something similar, but I wondered if > anyone has experience with that. > if tuple(map(int, pkg_resources.get_distribution('django').version.split('.')[:2])) < (1, 11): ... and this doesn't work for '1.10a0' -- | Raffaele Sa

Re: Deprecating User.is_anonymous ?

2016-04-02 Thread Raffaele Salmaso
eaving them in place for longer (django 3). -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalmaso -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)"

Re: [GSOC] Weekly update

2014-07-18 Thread Raffaele Salmaso
se, read and > send your mail through Django admin and forms! > Pirosb3, just three words: really nice work! -- | Raffaele Salmaso | http://salmaso.org | https://bitbucket.org/rsalmaso | http://gnammo.com -- You received this message because you are subscribed to the Google Groups &q

Re: Renaming apps.has_app

2014-01-05 Thread Raffaele Salmaso
st to replace apps.is_installed('djagno.contrib.sites') and apps.is_installed('django.contrib.admin') and ... with apps.is_installed('django.contrib.sites', 'django.contrib.admin',...) ? -- | Raffaele Salmaso | http://salmaso.org | https://bitbucket.org/rsal

Re: ANN: Django 1.2.1 released

2010-05-24 Thread Raffaele Salmaso
James Bennett wrote: > announce Django 1.2.1 thanks! but when the releases/1.2.X branch will be created? -- ()_() | That said, I didn't actually _test_ my patch. | + (o.o) | That's what users are for! | +---+ 'm m' | (Linus Torva

Re: Does Python 2.6.5 broke Django 1.1.1 Client Test?

2010-03-22 Thread Raffaele Salmaso
Marcob wrote: > Please, does anybody know which patch I need to apply to 1.1.1 to fix > this strange problem? http://code.djangoproject.com/changeset/12807 ? -- ()_() | That said, I didn't actually _test_ my patch. | + (o.o) | That's what users are for! | +---+ 'm

Re: Model validation incompatibility with existing Django idioms

2010-01-20 Thread Raffaele Salmaso
Joseph Kocherhans wrote: > Ok. I see it. ;) :D > Sorry, I've been out of town for a while with no > internet access. 12577 is near the top of my list to look at. ok thanks :D -- ()_() | That said, I didn't actually _test_ my patch. | + (o.o) | That's what users are for!

Re: Model validation incompatibility with existing Django idioms

2010-01-18 Thread Raffaele Salmaso
Raffaele Salmaso wrote: > Joseph Kocherhans wrote: >> regressions? > http://code.djangoproject.com/ticket/12577 Hello, is anybody out there? Sorry if I seem rude, but there is a severe regression an no one care to say at least 'ok I see it', even when there is an *explicit* r

Re: Model validation incompatibility with existing Django idioms

2010-01-14 Thread Raffaele Salmaso
Raffaele Salmaso wrote: > Joseph Kocherhans wrote: >> regressions? > http://code.djangoproject.com/ticket/12577 Ok, BaseGenericInlineFormSet doesn't have save_new to save the generic fk.pk Reenabled and everything go as before. -- ()_() | That said, I didn't ac

Re: Model validation incompatibility with existing Django idioms

2010-01-12 Thread Raffaele Salmaso
Joseph Kocherhans wrote: > regressions? http://code.djangoproject.com/ticket/12577 -- ()_() | That said, I didn't actually _test_ my patch. | + (o.o) | That's what users are for! | +---+ 'm m' | (Linus Torvalds) | O | (___) |

Re: A bunch of little fixes

2009-04-07 Thread Raffaele Salmaso
Malcolm Tredinnick wrote: > I just did a random sampling of four tickets and #10504 is a feature > addition, it can wait until 1.2 (and maybe even then isn't actually > something to do, since render_to_response is a *shortcut*, not a > complete replacement). true, not really a problem here > #106

A bunch of little fixes

2009-04-03 Thread Raffaele Salmaso
* add app_label name to related_name http://code.djangoproject.com/ticket/9638 * creation of m2m not managed tables http://code.djangoproject.com/ticket/10647 * avoid a js error in admin pages http://code.djangoproject.com/ticket/10651 * check action permission http://code.djangoproject.com/tic

#9638 - app_label in related_name

2009-02-04 Thread Raffaele Salmaso
Is it possible to apply http://code.djangoproject.com/ticket/9638? I'm using using a "Very Ugly Hack"(TM) to get this behaviour, but it would be really nice to kill it. Thanks. -- ()_() | That said, I didn't actually _test_ my patch. | + (o.o) | That's what users are for!