Re: Security middleware for django for insecure (http) connections

2018-01-15 Thread Shai Berger
Hi Vishwas, Can you state the circumstances in which this middleware will be useful? Note that with the help of Let's Encrypt[1], a HTTPS certificate is freely available to anyone, so there is no financial barrier to using it. Over and beyond the subject matter, is there anything preventing imple

ManytoMany Field save_form_data has not support for through table

2018-01-15 Thread Andrew Standley
Greetings,     I've been messing around with trying to update some custom forms to instead be model forms, and I ran into something that struck me as odd. ModelForm relies on the models fields to select a default form field, and to save the returned form data. However the ManytoManyField does

Security middleware for django for insecure (http) connections

2018-01-15 Thread Vishwas Mittal
Hello everyone, I am a new contributor to django, and would like to propose a new middleware to django that can provide some degree of security for HTTP connections by encrypting the data to be sent in response. This middleware will work on the principles of HTTPS but the main difference is th

Re: ease patching Django object behavior in another django packages

2018-01-15 Thread Sergey Glazyrin
hello guys! I added a new changeset to reflect what we discussed here Please check it out. https://github.com/django/django/compare/master...sergeyglazyrindev:master середа, 10 січня 2018 р. 21:02:41 UTC+1 користувач Sergey Glazyrin написав: > > or we can add a simple builder helper > def build_ba

Re: New contributor to Django with a ticket in mind

2018-01-15 Thread Jatin
Alright, thanks a lot, I will look it up and send a summary here when I have an idea. I have assigned the ticket to myself. I hope this is the right thing to do. Thanks Jatin On Sunday, January 14, 2018 at 11:45:25 PM UTC-8, Carlton Gibson wrote: > > Hi Jatin, Welcome! > > > Can I take this up

Re: Ticket #29015

2018-01-15 Thread Adam Johnson
Hi Priyansh, Aborting on creation with an informative message is probably wise. I'd say include as many details as you think relevant in the message, and it can be discussed more in review when there is a concrete message :) Thanks, Adam On 15 January 2018 at 12:50, wrote: > Greetings ! > > I

Ticket #29015

2018-01-15 Thread askpriyansh
Greetings ! I am looking to start contributing to the project, through ticket #29015 (https://code.djangoproject.com/ticket/29015). How should the erroneous database-name be handled ? I am planning to abort database-creation, with an appropriate error-message on the console. Is that the correc

updating the Meta class attributes at will

2018-01-15 Thread Frank Gwada
I have an AbsrtractBase class mode with a class Meta and I want it in such a way that a user when setting up can be able to update or change the verbose_name in the Meta class is this possible? what I have so far class AbstractBase(models.Model): .. custom_name = models.CharField(blan

Re: Deprecating CachedStaticFilesStorage in Django 2.0

2018-01-15 Thread Tim Graham
The documentation says that CachedStaticFilesStorage "is mostly useful for situations in which you don't have access to the file system." What should be used for that situation if CachedStaticFilesStorage is removed? On Friday, September 15, 2017 at 12:58:44 PM UTC-4, emo...@mozilla.com wrote: