Re: Form customization

2019-10-11 Thread Carlton Gibson
A better link for the CSS class issue is this one https://docs.djangoproject.com/en/2.2/ref/forms/widgets/ On Fri, 11 Oct 2019 at 20:54, Carlton Gibson wrote: > HI Alex, > > For label_suffix, I'd say a base form class for your project is exactly > the way to go. > You can

Re: Form customization

2019-10-11 Thread Carlton Gibson
HI Alex, For label_suffix, I'd say a base form class for your project is exactly the way to go. You can set CSS classes at the field level[0] ... — I suspect the API is there, but maybe reviewing the guide[1] for where it's lacking might be good. There are also third-party options, such as

Re: django-admin startproject settings.py has some security holes

2019-10-11 Thread Carlton Gibson
It's just scope: * Not clear we need to _replace_ the space for books, and blog posts, and so on, in the main docs. and bandwidth: * These things are difficult to get right, and it needs someone to do them. (PRs always warmly received!) On balance, I have to say, I think the default

Re: django-admin startproject settings.py has some security holes

2019-10-11 Thread Carlton Gibson
I can see a How-To explaining different patterns here being a valid addition to the docs. FWIW, there’s a PR to ease/enable SECRET_KEY rotation. It might mitigate some of the issues with first committing sensitive values to git when it lands. https://code.djangoproject.com/ticket/30360 --

Re: Removing old branches from the Django Git repository.

2019-10-10 Thread Carlton Gibson
Tom’s Tag idea seems to hit the balance. I’d like to clean them out. I use git branch all day and they’re just noise there. Tags would keep the references we’d need to check them out, without the additional work of creating a separate repo, or learning new/arcane git features, which don’t merit

Re: Feature Request: Enabling hooking into the autodetector from a third-party app.

2019-10-08 Thread Carlton Gibson
Hi Emil. Thanks for this. Ticket was https://code.djangoproject.com/ticket/30849 Closed as wontfix, since at least constraints are now handled. I don't think that covers everything you propose but see again Simon and Josh's comments on the first thread you opened

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Carlton Gibson
I’ll have a look..  On Tue, 8 Oct 2019 at 12:52, Josh Smeaton wrote: > I was going to archive the repo, but it seems I don't have the necessary > permissions. Carlton, do you? > > On Tuesday, 8 October 2019 21:45:22 UTC+11, Adam Johnson wrote: >> >> +1 to archiving django-box >> >> On Tue, 8

Re: PEP 484 type hinting in Django

2019-10-08 Thread Carlton Gibson
Maxim Kurnikov has begun a draft DEP for adding hints into Django. https://github.com/django/deps/pull/65 Please contribute your thoughts there. Kind Regards, Carlton -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to

Fellow Reports -- October 2019

2019-10-08 Thread Carlton Gibson
Hi all, Calendar Week 40 -- ending 06 October. Triaged: https://code.djangoproject.com/ticket/30808 -- Create a reference to the Django Forum in Docs (Accepted — pending board approval.) https://code.djangoproject.com/ticket/30825 -- Confusing message on the default Django home page

Re: Explore integrating django-docker-box in some way?

2019-10-08 Thread Carlton Gibson
Hi Bruno. Thanks for your post! I've come to take silence as positive feedback, but actual comments go further than you'd think. :) Tom was the driver here, so credit to him, and those who helped/tested. Hi Josh. Yes, it's probably time. (I imagine "use a VM running docker" is now likely the

Re: Question about ticket #20456: Easier unit testing for class-based views

2019-10-08 Thread Carlton Gibson
Hi Felipe, Thanks for the question! For me, yes, this seems reasonable given that we already have the `setup()` hook. Please do proceed. Kind Regards, Carlton On Monday, 7 October 2019 09:20:12 UTC+2, Adam Johnson wrote: > > Moving the head=get line sounds sensible to me! > > On Sun, 6

Re: Form customization

2019-10-08 Thread Carlton Gibson
Hi Alex Can you be more specific please? On Sunday, 6 October 2019 01:11:52 UTC+2, Alex Scott wrote: > > Would it be a terrible idea to allow these to be set in settings or in a > base form that gets inherited by everything else? > Without seeing exactly the problems you have in mind, it's

Re: Suggestions on where to contribute

2019-10-01 Thread Carlton Gibson
Hi Fredrik Welcome! If you go to Trac, and View Tickets, you can filter by Component. Here's an example for the Admin . It's worth spending a few minutes

Django bugfix releases: 2.2.6, 2.1.13, and 1.11.25

2019-10-01 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2019/oct/01/bugfix-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and

Re: Fellow Reports -- September 2019

2019-09-30 Thread Carlton Gibson
Hi all, Calendar Week 38 -- ending 22 September. Triaged: https://github.com/django/djangoproject.com/issues/949 -- Logging error (Invalid) https://code.djangoproject.com/ticket/14218 -- Paginator just implement the __iter__ function (Accepted) https://code.djangoproject.com/ticket/30781

Re: Stalled tickets

2019-09-27 Thread Carlton Gibson
Hi David. First off, well done for getting your first PR merged today!  Then, thanks for raising this; it's worth talking about at least. I too would like to bring the ticket count down, but I would like to do it by fixing them.  I think there are two approaches here. Certainly on DRF,

Fellow Reports -- September 2019

2019-09-18 Thread Carlton Gibson
Hi all. Calendar Week 36 -- ending 08 September. Triaged: https://code.djangoproject.com/ticket/30759 -- Make cache.delete() return whether or not it suceeded. (Accepted) https://code.djangoproject.com/ticket/30756 -- ModelForm does not work well with the override field on Inherited Model

Re: Work in progress (WIP), ticket #28935, Template error raised in an {% extends %} child template shows incorrect source location on debug page

2019-09-12 Thread Carlton Gibson
Hello! Super.  Can I ask you to put it in a PR on GitHub, so it’s easier to test and review? Thanks. Kind Regards, Carlton > On 12 Sep 2019, at 19:09, Min ho Kim wrote: > > Hi, > I am trying to contribute to code. > > I picked my first issue to solve. >

Django 3.0 alpha 1 released

2019-09-10 Thread Carlton Gibson
We've made the first release on the way to Django's next major release, Django 3.0! With about two and a half months until the final release (scheduled for December 2nd), we'll need timely testing from the community to ensure an on-time, stable release. Check out the blog post:

Status of 3.0 release blockers

2019-09-10 Thread Carlton Gibson
Hi all. Time to begin the release process for 3.0!  The feature freeze was yesterday, with some last things making it over the line. Claude has updated the translations catalogs already. Mariusz and Simon have cleaned up the last release blocker this morning, so we've branched

Re: Redis cache support in core

2019-09-04 Thread Carlton Gibson
A bit delayed but, I'd support a Redis in core. (I still periodically have to go look up the difference between django-redis and django-redis-cache; "Which one did I pick last time?" I think we could help folks out with the first steps here.) Aymeric's summary seems correct: On Thursday, 20

Re: Fellow Reports -- August 2019

2019-09-01 Thread Carlton Gibson
Hi all. Calendar Week 34 -- ending 25 August. Triaged: https://code.djangoproject.com/ticket/30725 -- Textbox size of a DateTimeField becomes too small in admin.TabularInline when browser windows is made smaller (Accepted) https://code.djangoproject.com/ticket/30714 -- Add a system check

Re: Creating a new "Triage & Review Team"

2019-09-01 Thread Carlton Gibson
Last update here: GitHub updated the Triage roll with the desired permissions, so (I think) it's now exactly what we need/were looking for. https://github.blog/changelog/2019-08-30-updates-to-triage-and-maintain-roles-beta/ I'm off next week, so I'll set up the Team and invite folks when I

Re: Add Optional Slash Syntax for Path

2019-08-28 Thread Carlton Gibson
Hi Jason I think in this case “just use re_path()” is the way to go. (path() being a convenience, rather than a replacement.) For me, complicating the signature of path() for such a corner case wouldn’t be a good trade-off. Kind regards, Carlton. On Wed, 28 Aug 2019 at 20:47, Jason Brill

Re: PEP 484 type hinting in Django

2019-08-26 Thread Carlton Gibson
On Monday, 26 August 2019 14:05:19 UTC+2, Maxim Kurnikov wrote: > > Carlton, is it possible to move discussion to Github somehow? > Drafting a DEP begins by making a PR against the drafts folder in the DEPs repo. I guess that could be a WIP PR, if felt beneficial/necessary. -- You received

Fellow Reports -- August 2019

2019-08-19 Thread Carlton Gibson
Hi All, Calendar Week 32 -- ending 11 August. Triaged: https://code.djangoproject.com/ticket/30693 -- Refatoring django.core.management.templates (Accepted) https://code.djangoproject.com/ticket/30691 -- Change uuid field to FK does not create dependency (Accepted)

Re: Creating a new "Triage & Review Team"

2019-08-19 Thread Carlton Gibson
limbo stage, we're potentially > missing out on some good maintainers before a decision has even been made. > You can still put forward names for the core team if you think they'd make > good members, though I'd understand your hesitation. > > On Tuesday, 13 August 2019 05:12:51 UTC+

Re: Ideas for a new DEP on long-term Django API compatibility

2019-08-17 Thread Carlton Gibson
Hi Pascal. > On 17 Aug 2019, at 18:21, Pkl wrote: > > In just 5 lines of discussion... Just for the record, we spent a good time discussion this change (to bring inheritance of Admin Actions in line with Python’s expected inheritance rules). We reviewed the entire history of the feature. We

Re: Request for closing #25139 -- ModelFormSet: allow swapping unique values

2019-08-15 Thread Carlton Gibson
Hi Parth. Thanks for looking at this. I think you're right that there's no (suitably obvious at least to me) simple way of solving this. I guess that's why it's sat there for 4 years.  What would it take: fetching the set of to_be_unique values and comparing it to the set of values

Re: Creating a new "Triage & Review Team"

2019-08-12 Thread Carlton Gibson
Oh, one more thing. I'd like to make this a "Public" team. I think there should be some visibility and recognition for the folks who work so hard on keeping Django strong. As part of that I'd add it to the Teams list on djangoproject.com, and maintain a list of previous members, for those who

Creating a new "Triage & Review Team"

2019-08-12 Thread Carlton Gibson
Hi. Part of the discussion on the "Dissolving Core" DEP was about have a some kind of status, and permissions that go with it, for the group of contributors who are actively involved in Triaging tickets and Reviewing PRs on GitHub. Ideally we wanted to separate this from "having the

Re: Django Websocket Implementation Request

2019-08-10 Thread Carlton Gibson
> > On 10 Aug 2019, at 18:51, Confi Yobo wrote: > > So it should not be expected in 3.0? @ Carlton Gibson No. As per the previous comments, it’s not something likely to be included in core. Certainly not for 3.0. -- You received this message because you are subscribed to the G

Re: Proposing development discussion forums

2019-08-10 Thread Carlton Gibson
I've thought about this sort of thing a few times. My concern has always been that it'd be "just one more channel" when there are already too many to follow: here, django-users, IRC (multiple channels) and so on. If we did it under the aegis of the Django (Org/...SF) and we as a group of

Re: Django LTS support time

2019-08-09 Thread Carlton Gibson
Hi Uri. I can’t see that we have capacity to extend the LTS support window. Even if we did, I’m not sure it’s a good idea. Your best bet is to get off the LTS and onto the latest major version, and then stay there. (As much work as that may look initially.) It requires a commitment to

Re: Expand the Scope of Pluggable Secret Keys Ticket

2019-08-08 Thread Carlton Gibson
Hi John, I'm inclined towards "separate thing all together". Maybe they're all related but the bigger a ticket gets the less chance it has of actually appearing... > ... DB credentials... Let's say you put those in environment variables... Don't you just relaunch with a new environment to

Re: Make Development More Accessible

2019-08-08 Thread Carlton Gibson
Just on this point: > I agree with Andrew Godwins statement on Django loosing many contributors over the years and being in largely maintenance mode. First, I'm not sure Andrew actually said this. Rather I think he reported is a point raised. However... I hear this kind of thing said. It

Re: Make Development More Accessible

2019-08-07 Thread Carlton Gibson
The more I use Trac, the more I appreciate its power. I'm normally all for Progress™ but I'm not sure GitHub's UI is up to it. (Being able to find the old discussion is super handy: it's not that often that an idea has not come up before at this stage.) *I'd be interested to see what a

Re: Cross-DB JSONField ready for review

2019-08-03 Thread Carlton Gibson
, >>> >>> Thanks! I hope it can be merged soon :D >>> >>> Oh, and by the way, where should I write a setup guide for SQLite+JSON1? >>> I don't know where and how to put it in the docs. By linking to a page in >>> Django wiki, perhaps? >&

Re: Cross-DB JSONField ready for review

2019-08-02 Thread Carlton Gibson
Hey Sage, Super stuff! Well done on your effort so far. (I can't say how excited I am about this feature. ) Kind Regards, Carlton On Friday, 2 August 2019 13:46:46 UTC+2, Sage M.A. wrote: > > Hello, everyone. > > As a follow-up to this message >

Re: Fellow Reports -- July 2019

2019-08-02 Thread Carlton Gibson
Hi All, Reposting Wks 29-30, in which I inadvertently leaked small details of the then pending security patches. Many thanks to Kevin Grinberg for noticing and advising me quickly. I then deleted the post, which, whilst not ideal, was the best I could do. I've update the command to

Re: Django Websocket Implementation Request

2019-08-01 Thread Carlton Gibson
Hmmm. I guess Channel is doing more than just websockets, but I've always thought it had good docs... Anyhow... We'll see how the Async work goes, but a lot of channel will end up being absorbed into Django itself. What, at this point, I guess that will leave is "just" the websocket bit.

Django security releases issued: 2.2.4, 2.1.11, and 1.11.23.

2019-08-01 Thread Carlton Gibson
Today the Django team issued 2.2.4, 2.1.11, and 1.11.23 as part of our security process. These releases address security issues, and we encourage all users to upgrade as soon as possible: https://www.djangoproject.com/weblog/2019/aug/01/security-releases/ -- You received this message because

Re: Fellow Reports -- July 2019

2019-07-29 Thread Carlton Gibson
Hi All, Calendar Week 29 -- ending 21 July. Triaged: https://code.djangoproject.com/ticket/30647 -- [FATAL] FileNotFoundError with runserver command inside Docker container (needsinfo) https://code.djangoproject.com/ticket/30638 -- Allow the per-database TIME_ZONE option on databases that

Re: How do I override default date formats per locale in Django?

2019-07-25 Thread Carlton Gibson
> On 25 Jul 2019, at 16:09, ⁨אורי⁩ <⁨u...@speedy.net⁩> wrote: > > I didn't receive any reply. Even so, this isn’t really the place for a support question. Better to follow-up in the original locations with more details, in the attempt to prompt a response — oftentimes it’s just that the

Re: Discuss https://github.com/django/django/pull/11157

2019-07-20 Thread Carlton Gibson
I’m exactly -1 on this, for exactly the reasons given. ALL it takes for you to implement this is to subclass TemplateView and override render_to_response(). That’s it. This was Tom’s point in his review four years ago: the ease of directly implementing it means the added API surface area isn’t

Re: Discuss https://github.com/django/django/pull/11157

2019-07-20 Thread Carlton Gibson
It's not really a recent discussion.  The original mailing list thread here was from 2015: https://groups.google.com/d/topic/django-developers/kuGeu7ffJsc/discussion I based my comments on the PR on a review + Aymeric and Tom's previous reviews there, which were never acted on. I quoted

Fellow Reports -- July 2019

2019-07-15 Thread Carlton Gibson
Hi all, Calendar Week 27 -- ending 07 July. Triaged: https://code.djangoproject.com/ticket/30607 -- How to use Django specific markup in the docstrings. (invalid) https://code.djangoproject.com/ticket/30605 -- Define a variable TESTS in settings (wontfix) Reviewed:

Re: Fellow Reports -- June 2019

2019-07-01 Thread Carlton Gibson
Hi All, Calendar Week 25 -- ending 23 June. Triaged: https://code.djangoproject.com/ticket/30581 -- Allow constraints to be used for validation (in Python) (Accepted) https://code.djangoproject.com/ticket/30577 -- feature request: custom rendering for readonly fields in admin (needsinfo)

Re: Thoughts on Django Model attribute (descriptor) inheritance.

2019-06-21 Thread Carlton Gibson
Hi Ryan, That does look related, yes. On Friday, 21 June 2019 15:47:53 UTC+2, Ryan Hiebert wrote: > > Hopefully that's a correct connection, and I'm not sending you chasing > something irrelevant to your current task. > TBH any pointers are handy at this stage in the game.  Thanks!

Re: Thoughts on Django Model attribute (descriptor) inheritance.

2019-06-21 Thread Carlton Gibson
Hi All Can I ask folks to have a look at this please? Ticket is: https://code.djangoproject.com/ticket/30427 PR is: https://github.com/django/django/pull/11337 The original change that introduced the current behaviour is

Re: Fellow Reports -- June 2019

2019-06-17 Thread Carlton Gibson
Hi all, Calendar Week 24 -- ending 16 June. Triaged: https://code.djangoproject.com/ticket/30566 -- Unable to do key lookup when a key is a number on PostgreSQL JSONB field (wontfix) https://code.djangoproject.com/ticket/30527 -- Problem with creating migrations for subclassed field

Re: How to test whether a formset instance is properly initialized

2019-06-15 Thread Carlton Gibson
Hey Parth, > I'm currently using a python shell to create objects and then check manually > its attributes, etc. More or less, do the same thing, but in a test case.  # Declare class # Create instance # self.assertEqual()/assertIs()/etc expected attributes. # … same but for behaviour

Fellow Reports -- June 2019

2019-06-10 Thread Carlton Gibson
Hi All. Calendar Week 23 -- ending 09 June. Released Django versions 2.2.2, 2.1.9 & 1.11.21. Triaged: https://code.djangoproject.com/ticket/30555 -- Migration files generated do not follow PEP8 E501 rule (wontfix) https://code.djangoproject.com/ticket/30475 -- Use of i18n_patterns and a

Django security releases issued: 2.2.2, 2.1.9 and 1.11.21

2019-06-03 Thread Carlton Gibson
Today the Django team issued 2.2.2, 2.1.9, and 1.11.21 as part of our security process. These releases address security issues, and we encourage all users to upgrade as soon as possible: https://www.djangoproject.com/weblog/2019/jun/03/security-releases/ -- You received this message because

Re: Fellow Reports -- May 2019

2019-05-31 Thread Carlton Gibson
Hi all. Calendar Week 22 -- ending 02 June. Triaged: https://code.djangoproject.com/ticket/30509 -- Various FileResponse fixes and changes (Accepted) https://code.djangoproject.com/ticket/30530 -- url `path` accepts newlines in various places. (wontfix)

Fellow Reports -- May 2019

2019-05-28 Thread Carlton Gibson
Hi all. Calendar Week 19 -- ending 12 May. Triaged: https://code.djangoproject.com/ticket/30472 -- Argon2id should be supported and become the default variety for Argon2PasswordHasher (Accepted) https://code.djangoproject.com/ticket/30469 -- Boolean False becomes NULL with recent

Re: Introduction

2019-05-11 Thread Carlton Gibson
Thank you Tobias. Good explanation. An additional point I picked up from Tim is that if you have a Reproduced at... but the bug is fixed on master then you have a starting point to git bisect where the issue was fixed. On Sat, 11 May 2019 at 15:28, Tobias Kunze wrote: > Hi Ruchit, > > On

Re: Introduction

2019-05-08 Thread Carlton Gibson
Hi Ruchit, Welcome aboard!  There's a whole section on finding a ticket in the talk I gave at DjangoCon Europe recently. Check it out: https://www.youtube.com/watch?v=F4StlMFb5Ms In the Trac you can filter by component which helps:

Re: After #28321 len(formset.forms) != len(formset.errors) is possible

2019-05-08 Thread Carlton Gibson
Hi Carsten. Any chance you can put this into a failing test case in a PR? (Much easier to reason about code. ) Thanks. C. On Wednesday, 8 May 2019 13:58:25 UTC+2, Carsten Fuchs wrote: > > Dear group, > > I just upgraded from Django 1.11 to 2+ and thereby found >

Re: injecting settings

2019-05-07 Thread Carlton Gibson
Also see the django-appconf app: https://github.com/django-compressor/django-appconf This is used by django-compressor (hence it's home) and others to add (and allow overriding) per-app settings. -- You received this message because you are subscribed to the Google Groups "Django

Re: GSoC Proposal: Add Cross-DB JSONField, ArrayField, and HStoreField

2019-05-07 Thread Carlton Gibson
Hey Sage, Hey Parth. First-off welcome on board!  The goal for the next couple of weeks is to get more deeply involved, whilst I guess you start thinking about your projects too. You can follow here, the dashboard and the timeline

Re: First ASGI pull request is ready for review

2019-05-01 Thread Carlton Gibson
Yes, I’ll review properly first half of next week. For the DEP, can you break out how and where people might input. There’s massive interest.  Great work as ever Andrew. Thank you so much! C. On Wed, 1 May 2019 at 08:46, Andrew Godwin wrote: > > > On Tue, Apr 30, 2019 at 11:34 PM Mariusz

Re: A different approach for the auto-reloader

2019-04-30 Thread Carlton Gibson
Hi Ramiro. I had a quick look at this — it looks great. (And various folks are having fun with Watchman, so if the promise delivers it'll be welcome.) Do you want to make an actual PR (perhaps with a ticket) so we can get a proper review going? Thanks for the input, as ever!  Kind

Re: Fellow Reports -- April 2019

2019-04-30 Thread Carlton Gibson
Hi all. Calendar Week 17 -- ending 28 April. Triaged: https://code.djangoproject.com/ticket/30395 -- Document ModelForm specifying field class corresponding to model fields with choices. (Accepted) https://code.djangoproject.com/ticket/30392 -- Onboarding new contibutors improvements

Re: Proposal to format Django using black

2019-04-29 Thread Carlton Gibson
Hi Alex. So I use git blame on Django *a lot: *a new ticket comes in, I have no idea at all how to triage it so I need to look at the history to make a sensible decision. I use git blame to find the commit, to find the original ticket, in which there's a discussion, which 爛 explains why

Re: Deferring "Sign the CLA"

2019-04-27 Thread Carlton Gibson
I had something like DocuSign or similar in mind. (But it’s just a Maybe... at this point.) The goal being to smooth away the barriers that stop people contributing before they’ve even started, IMO replacing “Find a Printer” with “Get set up with GPG” isn’t a step forwards.  On Sat, 27 Apr

Re: Deferring "Sign the CLA"

2019-04-27 Thread Carlton Gibson
> On 27 Apr 2019, at 18:51, Florian Apolloner wrote: > > I think the question is if we need those at all. This is something the DSF > should be able to answer. Ah, you’ve preempted a later question.  Right now I just wanted to move it down the page. Maybe some online signing service would

Deferring "Sign the CLA"

2019-04-27 Thread Carlton Gibson
Hi all. The CLA makes two appearances in the docs: * New contributors: First Steps * Twice in Submitting Patches

Fellow Reports -- April 2019

2019-04-24 Thread Carlton Gibson
Hi all. Calendar Week 14 -- ending 07 April. Released Django 2.2. Triaged: https://code.djangoproject.com/ticket/30323 -- Django 2.2 autoreloader is failing intermittently (not using watchman) (Accepted) https://code.djangoproject.com/ticket/30335 -- TypeError: unhashable type: list when

Re: Proposal to format Django using black

2019-04-24 Thread Carlton Gibson
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 using a formatter here would be moot. (Note that **IF** — I only said

Re: UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence

2019-04-24 Thread Carlton Gibson
On Wednesday, 24 April 2019 02:19:32 UTC+2, Hyogeun Kim wrote: > > > PS: I tested on my Mac and I got this error message "UnicodeDecodeError: > 'ascii' codec can't decode byte 0xe2 in position 9735: illegal multibyte > sequence" and It works as well with version 1.11 and 2.1 on Mac > Yes. OK.

Re: Proposal to format Django using black

2019-04-24 Thread Carlton Gibson
Thanks for the YAPF suggestion (and sample config!) I'll have a go with this this week. (If we can get auto-formatting, just on diffs(?), that matches the existing style...) On Monday, 22 April 2019 20:10:41 UTC+2, thinkwel...@gmail.com wrote: > > I wonder if there's a middle ground between

Re: UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence

2019-04-23 Thread Carlton Gibson
On Tuesday, 23 April 2019 14:30:48 UTC+2, Carlton Gibson wrote: > > > What IS the right way of setting the locale on Windows...? > Not sure if it's the only way but, on Windows 10 you can tick a "Use Unicode UTF-8 for worldwide language support", box in "Region &am

Re: UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence

2019-04-23 Thread Carlton Gibson
On Tuesday, 23 April 2019 14:27:24 UTC+2, Carlton Gibson wrote: > > If you set the `PYTHONIOENCODING` to utf8 before launching... > Not actually sure this is sufficient. What IS the right way of setting the locale on Windows...? -- You received this message because you are s

Re: UnicodeDecodeError: 'cp949' codec can't decode byte 0xe2 in position 9735: illegal multibyte sequence

2019-04-23 Thread Carlton Gibson
This looks to be https://code.djangoproject.com/ticket/30324, which will be fixed by 2.2.1 next week. (Please open a new ticket with full details if it is distinct.) If you set the `PYTHONIOENCODING` to utf8 before launching Python you shouldn't this. (Or related unicode errors)

Re: Google "Season of Docs"

2019-04-22 Thread Carlton Gibson
Quick update: I've applied Django for Season of Docs. Don't know if we're accepted yet but 爛 As per the timeline Technical Writer applications open May 29th. https://developers.google.com/season-of-docs/docs/timeline I put a wiki page here:

Re: Proposal to format Django using black

2019-04-20 Thread Carlton Gibson
On Friday, 19 April 2019 20:33:13 UTC+2, Mariusz Felisiak wrote: > > > I don't think that our code style is any barrier for newcomers. ...we've > never blocked any patch due to stylistic nitpicks. I also don't believe > that it will increase the number of contributors, if I would like to >

Re: GSOC Proposal : CrossDB JSON Field

2019-04-17 Thread Carlton Gibson
Deadline for submissions has passed. I’m reviewing this week. On Wed, 17 Apr 2019 at 08:52, Adam Johnson wrote: > Hi Rohit! > > It seems your email thread has been missed by the list, I don't know why, > perhaps it hit some spam filters. There's also another thread from a > student proposing

Re: Proposal to format Django using black

2019-04-13 Thread Carlton Gibson
We spend a lot of time spotting small formatting errors and then asking for those to be fixed and then waiting for an update. This wastes reviewer time and slows down the feedback cycle. Many pull requests drag out because of it. For this reason I would be 100% behind adopting black, and applying

Re: Google "Season of Docs"

2019-04-11 Thread Carlton Gibson
, I was wondering if we got any traction on this. > > On Monday, March 18, 2019 at 5:27:47 AM UTC-5, Carlton Gibson wrote: >> >> Hi all, >> >> Parallel to GSoC, Google now have this "Season of Docs" programme: >> >> https://developers.google.com/season-of-do

Re: Help for GSoC proposal (Formset improvements)

2019-04-08 Thread Carlton Gibson
Hi Parth. Well, the wizard () got moved out to it's own app https://django-formtools.readthedocs.io/en/latest/ But yes, there's no reason why this sort of thing wouldn't potentially in scope. Kind Regards, Carlton On Sunday, 7 April 2019 23:47:23 UTC+2, PARTH PATIL wrote: > > (Sorry I

Re: Should we backport adding support for psycopg2 2.8 to the 1.11.x and 2.1.x?

2019-04-05 Thread Carlton Gibson
OK, so for me, this should go into v2.2, but not v2.1 or v1.11. (I see you already backported to 2.2 so... ) My general take here is that we could be half-a-notch more generous backporting to the current version (e.g. 2.2 now) but should be just as strict as we are once a version is out of

Re: GSoC Proposal (FormSet Improvement)

2019-04-03 Thread Carlton Gibson
Yes, just pseudo code — so when reviewing your proposal next week it's easy to see that it'll be the right approach.  On Wednesday, 3 April 2019 17:51:18 UTC+2, PARTH PATIL wrote: > > > > On Wednesday, April 3, 2019 at 8:58:26 PM UTC+5:30, Carlton Gibson wrote: >> >> Hey

Re: GSoC Proposal (FormSet Improvement)

2019-04-03 Thread Carlton Gibson
Hey Parth. Right. So, thanks for making the effort so far. Good. Can you add more detail about yourself. You've not contributed to Django right? So the concern at this point would be whether you're able to fulfil the project. What's your experience with Django? (and if you want to implement

Re: GSoC Proposal: Add Cross-DB JSONField, ArrayField, and HStoreField

2019-04-03 Thread Carlton Gibson
Hi Sage. Thanks for the proposal. It's looking OK. Couple of points: - There IS an Oracle implementation. See the ticket here: https://code.djangoproject.com/ticket/29821 - Something that looks like an ArrayField, yes. HStore... not so sure it's worth mimicking. - On the

Re: Enable SESSION_COOKIE_SECURE by Default

2019-04-03 Thread Carlton Gibson
GE_` too. https://github.com/django/django/pull/11155 Thanks. C. On Wednesday, 3 April 2019 10:19:15 UTC+2, Matthias Kestenholz wrote: > > On Wed, Apr 3, 2019 at 10:02 AM Carlton Gibson > wrote: > >> Hi all. >> >> https://code.djangoproject.com/ticket/303

Enable SESSION_COOKIE_SECURE by Default

2019-04-03 Thread Carlton Gibson
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 to hijack the user’s session." > > If it's not a good idea for

Re: Django 2.2 released.

2019-04-01 Thread Carlton Gibson
Sigh... 2.1... (Sorry.) On Monday, 1 April 2019 15:23:11 UTC+2, Carlton Gibson wrote: > > Oops, typo there: > > > ...Django 2.0... > > That should say "Django 2.0 will receive security and data loss fixes > until December 2019". > C. > > On Monday,

Re: Django 2.2 released.

2019-04-01 Thread Carlton Gibson
Oops, typo there: > ...Django 2.0... That should say "Django 2.0 will receive security and data loss fixes until December 2019". C. On Monday, 1 April 2019 15:19:20 UTC+2, Carlton Gibson wrote: > > Django 2.2, the next long-term support release, is now av

Django 2.2 released.

2019-04-01 Thread Carlton Gibson
Django 2.2, the next long-term support release, is now available: https://www.djangoproject.com/weblog/2019/apr/01/django-22-released/ With the release of Django 2.2, Django 2.1 has reached the end of mainstream support. The

Django bugfix release 2.1.8

2019-04-01 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2019/apr/01/bugfix-release/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and

Re: Fellow Reports -- March 2019

2019-03-31 Thread Carlton Gibson
Hi all. Calendar Week 12 -- ending 24 March. Released Django v2.2rc1 Triaged: https://code.djangoproject.com/ticket/30267 -- get_language_from_path not respecting i18n_patterns prefix_default_language=False (wontfix) https://code.djangoproject.com/ticket/30275 -- Autofocus the first

Re: gsoc proposal

2019-03-31 Thread Carlton Gibson
Hi Kartik. GSoC, for us at least, isn't for beginners. In the past students have already been contributors. Maybe that's not 100% necessary but a good amount of experience with Django at the very least would be. If you get into Django maybe it's something you could consider for the future.

Re: GSoC Proposal

2019-03-28 Thread Carlton Gibson
M.A. wrote: > > Hi everyone, > Sorry to ask this, but can I also take a shot in this one? I've been > interested in this issue since early February. > > On Thursday, 21 March 2019 22:28:41 UTC+7, Carlton Gibson wrote: >> >> Also, sorry, this was the key t

Re: Help for GSoC proposal (Formset improvements)

2019-03-28 Thread Carlton Gibson
Hi Parth, Yes, something along those lines will be right. First-off, what are the existing work-arounds (i.e. how are people handling this in the wild: overriding `__init__()` methods etc...) — can these be summarised and documented, where worth recommending? Then, API changes to improve on

Re: Test Framework Cleanup

2019-03-22 Thread Carlton Gibson
The suggestion involves the code in django.test. https://github.com/django/django/tree/master/django/test In particular see runner.py there. On Friday, 22 March 2019 13:29:05 UTC+1, Gourav Sardana wrote: > > Hey, > I am Gourav Sardana undergraduate computer science student. I am >

Fellow Reports -- March 2019

2019-03-21 Thread Carlton Gibson
Hi all. Calendar Week 10 -- ending 10 March. Triaged: https://code.djangoproject.com/ticket/30238 -- Exception when saving model created with string for DateField (Invalid) https://code.djangoproject.com/ticket/30233 -- Add get_queryset_with_parent_obj to InlineModelAdmin to support access

Re: GSoC Proposal

2019-03-21 Thread Carlton Gibson
Also, sorry, this was the key thread here, plus links therein https://groups.google.com/d/topic/django-developers/zfred27yVPg/discussion On Thursday, 21 March 2019 16:27:14 UTC+1, Carlton Gibson wrote: > > Hey Marcio. > > If you can demonstrate that your abilities are suffic

Re: GSoC Proposal

2019-03-21 Thread Carlton Gibson
Hey Marcio. If you can demonstrate that your abilities are sufficient in your proposal, I'm sure we can mentor you through the pull request bit. (It's just "contributor" implies knowledge of the internals, and the ORM **is** the scariest bit, so... it's a bit  this close to starting.)

Re: GSoC 2019 proposal - Easy Ethereum Blockchain integration

2019-03-21 Thread Carlton Gibson
Hi Diego. > Do you have any suggestion for bringing this proposal into GSoC's scope? No. Sorry.  Django is a web framework. So stuff in that area would be in-scope. Likely it's just my lack of imagination but, I think blockchain is a totally different area of tech. Equally if you'd have

  1   2   3   >