Re: Make Development More Accessible

2019-08-08 Thread Tim Graham
uot; > trope, when that's not meant as a compliment. > > I think it couldn't be further from the truth. > > Yes, these ain't the wild west days of yore. (Granted) > > But Django has successfully transitioned (with large thanks to the effort > Tim Graham

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

2019-08-06 Thread Tim Graham
Pascal, you can read about the reason for the action actions change on the ticket https://code.djangoproject.com/ticket/29917 ...and on this mailing list... https://groups.google.com/d/topic/django-developers/-OWoYL_zryM/discussion. I hesitate to link to things like that in the release notes be

Re: Proposal to format Django using black

2019-04-19 Thread Tim Graham
I'm sorry for establishing some (foolish?) guidelines that discouraged some people from contributing. I didn't establish those guidelines merely to be pedantic, but perhaps I'm too much of a perfectionist at times. After GitHub allowed mergers to amend pull requests, I often made cosmetic adjus

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

2019-04-07 Thread Tim Graham
MariaDB is supported (see https://code.djangoproject.com/ticket/29548). The test failures are (as the error message says) because you haven't installed the timezone definitions. On Sunday, April 7, 2019 at 3:03:14 AM UTC-4, Asif Saif Uddin wrote: > > You can open a work in progress pr to fix the

Re: Fellow Reports - March 2019

2019-03-30 Thread Tim Graham
Week ending March 30, 2019 Triaged --- https://code.djangoproject.com/ticket/30288 - PostgreSQL connections forced into UTC if setting.USE_TZ is True (duplicate) Authored -- https://github.com/django/django/pull/11147 - Fixed #30301 -- Removed OutputWrapper.__init__()'s style_

Re: Fellow Reports - March 2019

2019-03-23 Thread Tim Graham
Week ending March 23, 2019 Triaged --- https://code.djangoproject.com/ticket/30270 - .all() for related manager always returns empty list (invalid) https://code.djangoproject.com/ticket/30277 - Django Advanced Tutorial Link doesn't lead to the intended page (fixed) https://code.djangop

Re: GSoC Proposal

2019-03-18 Thread Tim Graham
Your proposal should be quite a bit more detailed. See https://gist.github.com/chrismedrela/82cbda8d2a78a280a129 for a past example. I'm not sure if it'll be feasible to write a successful application without having some experience contributing to Django -- I think most if not all past students

Re: Newcomer's questions

2019-03-17 Thread Tim Graham
On Sunday, March 17, 2019 at 9:43:29 PM UTC-4, Alexey Tsivunin wrote: > > I'm working on issue #29471. This issue have version 2.0. Do I need to add > version indicator in that case? > > No, the "Version" flag on the ticket merely indicates when the ticket was reported. > if you're fixing a T

Re: Fellow Reports - March 2019

2019-03-17 Thread Tim Graham
Week ending March 16, 2019 Triaged --- https://code.djangoproject.com/ticket/30255 - docutils reports an error rendering view docstring when the first line is not empty (accepted) Reviewed/committed -- https://github.com/django/django/pull/11075 - Fixed #30161 -- Added

Re: Proposal to re-open #27017 (updating only dirty fields in save())

2019-03-14 Thread Tim Graham
t;> >> Hi! >> >> This is my first post on this list. I recently left a comment on #27017 >> <https://code.djangoproject.com/ticket/27017#comment:3> requesting to >> re-open the topic of only saving dirty fields in save(). Tim Graham >> helpfully

Re: Support for unittest -k option

2019-03-11 Thread Tim Graham
-kdb could be a suitable short option. On Monday, March 11, 2019 at 9:20:37 AM UTC-4, Tobias McNulty wrote: > > Agreed it's probably better to make the switch now, and I'd be fine > without a replacement shorthand alternative for --keepdb. > > Cheers, > > > *Tobias McNulty*Chief Executive Officer

Fellow Reports - March 2019

2019-03-11 Thread Tim Graham
Week ending March 9, 2019 Triaged --- https://code.djangoproject.com/ticket/30232 - Correct expected format in invalid DurationField error message (fixed) https://code.djangoproject.com/ticket/30231 - Field's verbose_name is ignored in FilteredSelectMultiple widget for inlines created w

Re: GSoC 2019 Update

2019-03-07 Thread Tim Graham
I agree that a cross-database JSONField probably wouldn't take 3 months to implement -- but it would be up to the student to write a proposal and timeline that demonstrates there's 12 weeks of work. Students are supposed to be working full time. GSoC requires writing code so an acceptable proje

Re: Fellow Reports - February 2019

2019-03-04 Thread Tim Graham
Week ending March 2, 2019 Triaged --- https://code.djangoproject.com/ticket/30214 - Indexes defined on abstract base classes are not propagated to subclasses (invalid) https://code.djangoproject.com/ticket/30228 - DeleteModel migration's name argument is supposed to be lowercase (needsi

Re: Fellow Reports - February 2019

2019-02-23 Thread Tim Graham
Week ending February 23, 2019 I took a break for most of this week. Reviewed/committed -- https://github.com/django/django/pull/10995 - Refs #19544 -- Ignored auto-created through additions conflicts if supported. https://github.com/django/django/pull/10999 - Fixed #30141 --

Re: Fellow Reports - February 2019

2019-02-20 Thread Tim Graham
Week ending February 16, 2019 Reviewed/committed -- https://github.com/django/django/pull/10875 - Refs #15902 -- Deprecated storing current language in the session. https://github.com/django/django/pull/10877 - Fixed #22423 - Added support for MySQL operators on real geometr

Fellow Reports - February 2019

2019-02-09 Thread Tim Graham
Week ending February 9, 2019 Triaged --- https://code.djangoproject.com/ticket/30167 - Allow Child Templates To Inherit Loaded Tags From Parent (duplicate) https://code.djangoproject.com/ticket/30168 - Change date, time and datetime inputs from text type (duplicate) Authored -

Re: django logging - `ServerFormatter.uses_server_time()` forces users to use `{` logging style

2019-02-08 Thread Tim Graham
I'm not opposed to a patch to address your use case. On Thursday, February 7, 2019 at 6:34:23 AM UTC-5, Łukasz Skarżyński wrote: > > Hello, > > I encountered some troubles with django logging configuration during the > update from Django 1.11 to 2.1. This issue was related to this commit >

Re: Google Summer of Code 2019

2019-02-04 Thread Tim Graham
o/django-team-wiki/wiki/Google-Summer-of-Code-Application-Info > > Il giorno lun 4 feb 2019 alle ore 13:05 Tim Graham > ha scritto: > >> All answers are at >> https://github.com/django/django-team-wiki/wiki/Google-Summer-of-Code-Application-Info >> > -- You receiv

Re: Google Summer of Code 2019

2019-02-04 Thread Tim Graham
All answers are at https://github.com/django/django-team-wiki/wiki/Google-Summer-of-Code-Application-Info On Monday, February 4, 2019 at 4:19:06 AM UTC-5, Carlton Gibson wrote: > > Hey Tim. > > > For each year your organization has participated, provide the counts of > successful and total stud

Re: Fellow Reports - January 2019

2019-02-02 Thread Tim Graham
Week ending February 2, 2019 Triaged --- https://code.djangoproject.com/ticket/30146 - Move change form fieldset toggle to the right side (wontfix) https://code.djangoproject.com/ticket/30150 - Django 1.11 with MySQL 8: "Unknown system variable 'TX_ISOLATION'" (wontfix) https://code.dj

Re: Google Summer of Code 2019

2019-02-01 Thread Tim Graham
we can add > functionality for heroku ,docker etc > > On Wednesday, January 16, 2019 at 8:03:55 PM UTC+5:30, Tim Graham wrote: >> >> Org applications for Google's Summer of Code are now open (deadline >> February 6). Do you think the Django Software Foundation should

Re: Plot cordinate on google map as like as snap road

2019-01-31 Thread Tim Graham
This mailing list is for the development of Django itself, not for support using Django. Please use the django-users mailing list for that, or IRC #django on freenode, or a site like Stack Overflow. However, given your question doesn't seem Django related, you probably don't want to ask in a Dj

Re: Fellow Reports - January 2019

2019-01-27 Thread Tim Graham
Week ending January 26, 2019 Triaged --- https://code.djangoproject.com/ticket/30127 - Deprecate cached_property's name argument (created) Authored -- https://github.com/django/django-formtools/pull/136 - Add testing for Django 2.2 https://github.com/brutasse/django-push/pull

Re: revisiting the Python version support policy

2019-01-25 Thread Tim Graham
Can you explain more about what they struggled with? Maybe there's other ways to solve those problems. On Friday, January 25, 2019 at 9:43:37 AM UTC-5, Tom Forbes wrote: > > This message really resonated with me, especially after helping a few > beginners get started with Python and watching the

Re: revisiting the Python version support policy

2019-01-25 Thread Tim Graham
`pip install Django` gives the latest version of Django that's compatible for the current version of Python. Yes, users will have to switch versions at docs.djangoproject.com and they'll be in the same situation at docs.python.org if they're using Python 3.5. For learning Django, I'd think the

Re: revisiting the Python version support policy

2019-01-24 Thread Tim Graham
It's interesting to me that no one (besides Claude -- and that's based on his ability to contribute to Django) has indicated that they care about Python 3.5 support in their deployments of Django 3.0... so I wonder if there is really a strong need for it. Who is saying, "I want to use the lates

Re: Fellow Reports - January 2019

2019-01-21 Thread Tim Graham
Week ending January 19, 2019 Triaged --- https://code.djangoproject.com/ticket/17904 - Custom permissions on proxy model no longer created (fixed) https://code.djangoproject.com/ticket/30113 - Ignoring body with application/json payload causes HTTP 400 (duplicate) https://code.djangopr

revisiting the Python version support policy

2019-01-21 Thread Tim Graham
When deciding when to drop support for Python 2 in Django, there was consensus to adopt this Python version support policy [0]: "Typically, we will support a Python version up to and including the first Django LTS release whose security support ends after security support for that version of Py

Re: status of 2.2 release blockers

2019-01-16 Thread Tim Graham
These features are in. We're planning to do the alpha release tomorrow. On Sunday, January 13, 2019 at 9:04:29 PM UTC-5, Tim Graham wrote: > > Time to kick off the progress tracker for the next major release! > > The 2.2 feature freeze is scheduled (according to > https://co

Google Summer of Code 2019

2019-01-16 Thread Tim Graham
Org applications for Google's Summer of Code are now open (deadline February 6). Do you think the Django Software Foundation should participate? We haven't had any high quality student applications that we could accept for the past two years. Perhaps it's partly a function of a poor ideas page

status of 2.2 release blockers

2019-01-13 Thread Tim Graham
Time to kick off the progress tracker for the next major release! The 2.2 feature freeze is scheduled (according to https://code.djangoproject.com/wiki/Version2.2Roadmap) for tomorrow, January 14. Typically we've released the alpha a few days later to finish up a few last minutes things. I hav

Re: Fellow Reports - January 2019

2019-01-12 Thread Tim Graham
Week ending January 12, 2019 Triaged --- https://code.djangoproject.com/ticket/30075 - Better error message for "App 'bar.foo' could not be found. Is it in INSTALLED_APPS?" (fixed) https://code.djangoproject.com/ticket/30084 - Setting DATABASES['default']['TEST']['engine'] to SQLite doe

Re: Breaking change vs deprecation on Sitemaps `ping_google` command

2019-01-09 Thread Tim Graham
Adding temporary settings to the default project template sounds like a fair bit of cruft for a contrib app that isn't enabled by default. I don't use ping_google but I'm in favor of making the switch without a deprecation. Users of ping_google please comment, but switching to https doesn't see

thoughts for Django fellowship applicants

2019-01-08 Thread Tim Graham
Hello, If you haven't seen the post*, I'll be stepping down as a Django fellow at the end of March. Applications are open until this Friday if you're interested in joining Carlton in the position. I wanted to give a brief retrospective on some aspects of my experience, with the hope that it'll

Fellow Reports - January 2019

2019-01-08 Thread Tim Graham
Week ending January 5, 2019 Triaged --- https://code.djangoproject.com/ticket/30072 - SiteManager.get_current() cache uses global variable instead of cache breaking multiple instance deployments (duplicate) https://code.djangoproject.com/ticket/30082 - Document that Django 1.11.x raise

Django security releases issued: 2.1.5, 2.0.10, and 1.11.18

2019-01-04 Thread Tim Graham
Today the Django team issued 2.1.5, 2.0.10, and 1.11.18 as part of our security process. These releases address a security issue, and we encourage all users to upgrade as soon as possible: https://www.djangoproject.com/weblog/2019/jan/04/security-releases/ The issue was publicly reported through

Re: Fellow Reports - December 2018

2018-12-29 Thread Tim Graham
Week ending December 29, 2018 Triaged --- https://code.djangoproject.com/ticket/30052 - QuerySet.only() doesn't support annotations (invalid) https://code.djangoproject.com/ticket/30049 - GIS widgets don't initialize properly after clicking "Add another" in admin inlines (accepted) htt

Re: Fellow Reports - December 2018

2018-12-22 Thread Tim Graham
Week ending December 22, 2018 Authored -- https://github.com/django/django/pull/10782 - Fixed #30055 -- Dropped support for SQLite < 3.8.3. Reviewed/committed -- https://github.com/django/django/pull/10752 - Fixed #29928 -- Enabled deferred constraint checks on SQL

Re: Fellow Reports - December 2018

2018-12-20 Thread Tim Graham
Week ending December 15, 2018 (vacation) -- 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 stop receiving emails from it, send an email to django-developers+unsubscr...@

Fellow Reports - December 2018

2018-12-20 Thread Tim Graham
Week ending December 8, 2018 Authored -- https://github.com/django/django/pull/10726 - Fixed #30013 -- Fixed DatabaseOperations.last_executed_query() with mysqlclient 1.3.14+. Reviewed/committed -- https://github.com/django/django/pull/10731 - Fixed #30011 -- Fixed

Re: Allow usage of widgets in generic class-based views?

2018-12-04 Thread Tim Graham
What I meant is that modelform_factory() also has these parameters: localized_fields is a list of names of fields which should be localized. labels is a dictionary of model field names mapped to a label. help_texts is a dictionary of model field names mapped to a help text. error_messages is a

Re: Fellow Reports - November 2018

2018-12-03 Thread Tim Graham
Week ending December 1, 2018 Triaged --- https://code.djangoproject.com/ticket/29992 - Error in admin checking list_display items (needsinfo) Authored -- https://github.com/django/django/pull/10697 - Switched TestCase to SimpleTestCase where possible in Django's tests. Review

Re: Removing Oracle from Django core in 3.0

2018-11-26 Thread Tim Graham
That's the query I would use. The 'oracle' keyword might not be assigned completely but you can scan through all the "Database layers" tickets fairly easily and add it to any that are missing. On Monday, November 26, 2018 at 12:25:06 PM UTC-5, Dan Davis wrote: > > Related question - how would I

Re: Fellow Reports - November 2018

2018-11-26 Thread Tim Graham
Week ending November 24, 2018 Triaged --- https://code.djangoproject.com/ticket/29966 - Add test coverage for BaseHandler's "The view didn't return an HttpResponse object." error (accepted) https://code.djangoproject.com/ticket/29977 - Allow customizing AccessMixin redirect (needsinfo)

Re: Removing Oracle from Django core in 3.0

2018-11-25 Thread Tim Graham
I can't find a past discussion specific to Oracle, but it's not a new proposal. See https://groups.google.com/d/topic/django-developers/O-g06EM6XMM/discussion for "Moving database backends out of the core." I think removing Oracle from core would only increase the maintenance burden. Since Ora

Re: QuerySet.iterator together with prefetch_related because of chunk_size

2018-11-23 Thread Tim Graham
https://code.djangoproject.com/ticket/29984 suggests to support prefetch_related() with QuerySet.iterator(). I accepted the ticket to do something and linked back to this discussion. On Friday, October 26, 2018 at 8:12:02 PM UTC-4, charettes wrote: > > Josh, I agree that silently not working is

Re: Question regarding a possible bug

2018-11-23 Thread Tim Graham
Generally, "is it a bug?" questions should be directed toward our support channels (linked from https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels). Otherwise, Trac becomes a second level support channel which adds a lot of noise. On Thursday, November 22, 2018 at 7:10

Re: Fellow Reports - November 2018

2018-11-17 Thread Tim Graham
Week ending November 17, 2018 Triaged --- https://code.djangoproject.com/ticket/29946 - Weird session behavior after upgrading to Django 1.11.16 (needsinfo) https://code.djangoproject.com/ticket/29947 - Inlines containing a field with default value are considered empty and not saved (wo

Re: Add Python 3.7 support for Django 1.11?

2018-11-17 Thread Tim Graham
Okay, I've merged the PR, https://github.com/django/django/pull/10654. On Saturday, November 17, 2018 at 12:11:17 PM UTC-5, Markus Holtermann wrote: > > Agreed, let's add official 3.7 support. > > /Markus > > On Sat, Nov 17, 2018, at 1:15 PM, Adam Johnson wrote: > > Since it's about 3 lines in

Add Python 3.7 support for Django 1.11?

2018-11-16 Thread Tim Graham
We've received a relatively steady stream of requests to add Python 3.7 support for Django 1.11. Is there support or opposition for that? See comments of https://github.com/django/django/commit/931c60c5216bd71bc11f489e00e063331cf21f40#commitcomment-31328709 for the stream of "please backport t

Re: normalizing newlines in form fields

2018-11-12 Thread Tim Graham
Here's a ticket that was closed as wontfix. If you want it reconsidered, you should explain why you the think the arguments there aren't valid. https://code.djangoproject.com/ticket/19251 On Monday, November 12, 2018 at 9:58:39 AM UTC-5, Jakub Kleň wrote: > > I'm thinking if it wouldn't be nice i

Fellow Reports - November 2018

2018-11-10 Thread Tim Graham
Week ending November 10, 2018 Triaged --- https://code.djangoproject.com/ticket/29921 - Default BooleanField.required different from Django 2.0 when using choices (invalid) https://code.djangoproject.com/ticket/29928 - TestCase doesn't check for foreign key constraints when using sqlite

Re: Requiring sqlparse for sqlite introspection

2018-11-08 Thread Tim Graham
stall_requires even though it won't > be necessary if SQLite isn't used? > > That's my understanding and what I was advocating for. > > Simon > > Le samedi 3 novembre 2018 10:09:55 UTC-4, Tim Graham a écrit : >> >> So you want to add it to Django'

Proposal to remove ModelAdmin's collection of actions from superclasses

2018-11-05 Thread Tim Graham
Hi, A recent bug report [1] brought up the fact that ModelAdmin collects actions from superclasses. For example: class BaseAdmin: actions = ['a'] class SubAdmin(BaseAdmin): actions = ['b'] SubAdmin will have action 'a' and 'b'. The behavior isn't tested and only mentioned in passing i

Re: Fellow Reports - October 2018

2018-11-03 Thread Tim Graham
Week ending November 3, 2018 Triaged --- https://code.djangoproject.com/ticket/29904 - Not Null CharField Doesn't generate DB constraint on Oracle (invalid) https://code.djangoproject.com/ticket/29908 - Foreign key isn't set on object after related set access if ForeignKey uses to_field

Re: Using forms for bulk records

2018-11-03 Thread Tim Graham
This mailing list is for the development of Django itself, not how to solve problems with Django. Please don't cross-post from django-users. On Saturday, November 3, 2018 at 9:57:41 AM UTC-4, Elias Coutinho wrote: > > Good morning people. > > As always my problem is conceptual. I have improved a

Re: Requiring sqlparse for sqlite introspection

2018-11-03 Thread Tim Graham
se are similar to provide a solid experience on SQLite I'd >> be +1 on requiring it from Django 2.2 to a point where the lowest version >> of SQLite we support has better introspection capabilities. >> >> Simon >> >> [0] https://github.com/django/django/pull/

Re: Introspection of querysets

2018-11-02 Thread Tim Graham
Could you explain the use case for the code that needs to handle the different types of iterators? On Friday, November 2, 2018 at 11:18:34 AM UTC-4, Dan Davis wrote: > > I'm wondering two things: > >- Is there any non-internals way to know what sort of iterable a >queryset is set to do?

Re: Python string formatting

2018-11-01 Thread Tim Graham
I fail to see a problem with %. It's the primary format used throughout Django. The Django tutorial assumes some knowledge of Python, so I'd expect most newcomers would be familiar with both string formatting syntaxes. Maybe I'm just an old curmudgeon, but I find the tutorial examples more read

Re: race condition on making directories when multiple files are uploaded to the same folder

2018-11-01 Thread Tim Graham
It's in a regression in Django 2.0 that will be fixed in today's 2.1.3 release. https://code.djangoproject.com/ticket/29890 -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group an

Re: Python string formatting

2018-10-31 Thread Tim Graham
Another discussion is https://groups.google.com/d/topic/django-developers/J9CfWIgrgbY/discussion - % vs {} string formatting for public APIs I haven't seen any practical benefits to prefer format() over %s. I find the latter less verbose. I'm not certain what this argument is (things like htt

Re: need help to get started

2018-10-28 Thread Tim Graham
Hi Harsh, please read https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/. On Sunday, October 28, 2018 at 9:42:07 AM UTC-4, Harsh Sahu wrote: > > Hello There! > This is Harsh. I'm pursuing master's degree in Computer Science. I'm a > intermediate python person and lear

Re: Fellow Reports - October 2018

2018-10-27 Thread Tim Graham
Week ending October 27, 2018 Triaged --- https://code.djangoproject.com/ticket/29881 - Invalid SQL on MySQL with Cast to DecimalField (duplicate) https://code.djangoproject.com/ticket/29890 - FileSystemStorage._save() doesn't catch FileExistsError on concurrent os.mkdirs() (accepted) A

Re: Fellow Reports - October 2018

2018-10-20 Thread Tim Graham
Week ending October 20, 2018 Triaged --- https://code.djangoproject.com/ticket/29852 - Infinite migrations when using SimpleLazyObject in field arguments (wontfix) https://code.djangoproject.com/ticket/29858 - Clarify docs regarding CSRF token header name (fixed) https://code.djangopro

Re: Fellow Reports - October 2018

2018-10-15 Thread Tim Graham
Week ending October 13, 2018 Triaged --- https://code.djangoproject.com/ticket/29790 - Migration that switches a model to a UUID primary key fails with "duplicate column name: id" (accepted) https://code.djangoproject.com/ticket/29834 - Union queryset with ordering breaks on ordering w

Re: django.contrib.auth.views.PasswordResetConfirmView class properties

2018-10-13 Thread Tim Graham
There's an accepted ticket: https://code.djangoproject.com/ticket/28780 On Saturday, October 13, 2018 at 9:26:43 AM UTC-4, Frank van der Pluijm wrote: > > django.contrib.auth.views.PasswordResetConfirmView.dispatch() makes use of > two constant values outside of the class definition, > INTERNAL

Re: Requiring sqlparse for sqlite introspection

2018-10-10 Thread Tim Graham
Django creates database constraints I introduced a >> dependency on sqlparse in the sqlite introspection code. This allows Django >> to correctly read information about constraints on sqlite, particularly the >> name. >> >> When reviewing ( >> https://github.com/dja

Fellow Reports - October 2018

2018-10-10 Thread Tim Graham
Week ending October 6, 2018 Triaged --- https://code.djangoproject.com/ticket/29806 - Add parent_link to ForeignKey (duplicate) https://code.djangoproject.com/ticket/29807 - Custom user model with SlugField username causes `allow_unicode` error in admin (invalid) https://code.djangopr

Re: Fellow Reports - September 2018

2018-10-01 Thread Tim Graham
Week ending September 29, 2018 Triaged --- https://code.djangoproject.com/ticket/29801 - Allow using fixtures in data migrations (accepted) https://code.djangoproject.com/ticket/29804 - Add 'Did you mean' suggestions for unsupported lookup error (accepted) Authored -- https:/

Re: Model creation in autocommit mode.

2018-09-26 Thread Tim Graham
https://code.djangoproject.com/ticket/21171 looks like it should help. On Wednesday, September 26, 2018 at 2:56:34 PM UTC-4, Florian Apolloner wrote: > > Hi there, > > a fun issue came up on IRC today: Even when in autocommit mode, Django > starts a transaction when doing Model.objects.create (

Re: Fellow Reports - September 2018

2018-09-25 Thread Tim Graham
Week ending September 22, 2018 Triaged --- https://code.djangoproject.com/ticket/29762 - Document how database routers are used for related object access (accepted) https://code.djangoproject.com/ticket/29774 - `django-admin shell` hangs if the user starts typing before shell is ready (

Re: non-nullable field

2018-09-25 Thread Tim Graham
This mailing list is for the development of Django itself, not for support. Use the django-users mailing list for that, or IRC #django on freenode, or a site like Stack Overflow. On Tuesday, September 25, 2018 at 8:11:33 AM UTC-4, miyand...@gmail.com wrote: > > Whenever i try to makemigrations

Re: Fellow Reports - September 2018

2018-09-17 Thread Tim Graham
Week ending September 15, 2018 Triaged --- https://code.djangoproject.com/ticket/29747 - UUID in loaddata fixture raise ValidationError on objects having OneToOne relationship (uuid as FK) (invalid) https://code.djangoproject.com/ticket/29756 - Missing information about model field nam

Re: #29752 Adding a ALLOWED_HOSTS_IGNORABLE_URLS setting

2018-09-14 Thread Tim Graham
o AWS and possibly others. Here's the workaround we use in > production to support AWS health checks that may help give some more > context: http://dpaste.com/2BS0C5M > > -Matt > > On Fri, Sep 14, 2018 at 10:44 AM, Tim Graham > wrote: > >> What would be the v

Re: #29752 Adding a ALLOWED_HOSTS_IGNORABLE_URLS setting

2018-09-14 Thread Tim Graham
What would be the value of that setting for your use case? On Friday, September 14, 2018 at 11:52:46 AM UTC-4, Jonas H wrote: > > Hi, > > I've started a discussion on https://code.djangoproject.com/ticket/29752 > to add a new ALLOWED_HOSTS_IGNORABLE_URLS setting. > > The setting can become handy

Re: Adding a bulk_save method to models

2018-09-14 Thread Tim Graham
I wanted to ask about naming of the new method. Currently the proposed name is "QuerySet.bulk_save()" but I think it's a bit confusing since it uses QuerySet.update(), not Model.save(). It works similarly to QuerySet.bulk_update() from https://github.com/aykut/django-bulk-update but the argu

Fellow Reports - September 2018

2018-09-10 Thread Tim Graham
Week ending September 8, 2018 I was on vacation most of the week. Authored -- https://github.com/jazzband/sorl-thumbnail/pull/553 - Fix #554: Fix AdminImageWidget with Django 2.1 (added test) Reviewed/committed -- https://github.com/django/djangopeople/pull/88 - Fi

Re: Adjusting MRO of the CBVs

2018-09-10 Thread Tim Graham
I agree that it's not worthwhile. There are alternatives like http://django-vanilla-views.org/. On Thursday, September 6, 2018 at 3:51:29 AM UTC-4, Carlton Gibson wrote: > > There's a ticket adjusting the MRO of DeleteView. > > https://code.djangoproject.com/ticket/29735 > > I'm closing this as

Re: the design of django group permission should be optimized in django.contrib.auth.ModelBackend

2018-09-10 Thread Tim Graham
I'm not sure. Swappable models still have some rough edges. In particular, switching to a swappable model after beginning a project is difficult and undocumented (https://code.djangoproject.com/ticket/25313). To overcome this, the documentation recommends starting with a custom user model (http

Re: Fellow Reports - August 2018

2018-09-03 Thread Tim Graham
Week ending September 1, 2018 Triaged --- https://code.djangoproject.com/ticket/29718 - Document admin template collision backwards incompatibility in Django 2.1 (fixed) https://code.djangoproject.com/ticket/29717 - Provide a way for tests to run on an existing empty DB (accepted) Auth

Re: Not Creating test DBs with PG backend

2018-08-29 Thread Tim Graham
On 08/28/2018 08:33 PM, Tim Graham wrote: > > Why is a new option needed? Why can't --keepdb be used for this use > case? > > Because that would be different behavior. > > If you can convince me that using --keepdb is a solution, then I will > use your argumen

Re: Django : Change Backend as mysql and create sample example using django ORM

2018-08-29 Thread Tim Graham
This list is dedicated to the discussion of developing Django itself, not answering usage questions. Please continue the discussion on the django-users thread: https://groups.google.com/d/topic/django-users/iuspogePH3k/discussion On Wednesday, August 29, 2018 at 7:15:57 AM UTC-4, Sonali Vighn

Re: Not Creating test DBs with PG backend

2018-08-28 Thread Tim Graham
Why is a new option needed? Why can't --keepdb be used for this use case? On Tuesday, August 28, 2018 at 2:23:52 AM UTC-4, Curtis Maloney wrote: > > Greetings, > > one problem that turns up more and more frequently, it seems, is that > someone is trying to run tests but can't because of the foll

Re: Django : Change Backend as mysql and create sample example using django ORM

2018-08-27 Thread Tim Graham
This list is dedicated to the discussion of developing Django itself, not answering usage questions. You might try the django-users group ( https://groups.google.com/forum/#!forum/django-users), or StackOverflow. On Monday, August 27, 2018 at 9:41:30 AM UTC-4, Raghavendrachari k wrote: > > if you

Re: Fellow Reports - August 2018

2018-08-25 Thread Tim Graham
Week ending August 25, 2018 Triaged --- https://code.djangoproject.com/ticket/29697 - Complex query crashes with "missing FROM-clause entry for table" (accepted) https://code.djangoproject.com/ticket/29701 - has_add_permission in admin.TabularInline gives KeyError exception (duplicate)

Add autocomplete attribute to contrib.auth fields?

2018-08-25 Thread Tim Graham
Browser support looks somewhat limited, so I wanted to ask if there are any concerns or drawbacks with adding autocomplete=username/email/current-password/new-password to contrib.auth's forms? Pull request: ​https://github.com/django/django/pull/9921 >From the ticket [https://code.djangopr

Deprecate PickleSerializer for session serialization?

2018-08-25 Thread Tim Graham
Alex proposed: --- Pickle serializer has long been known to be dangerous. This is mitigated by requiring MAC on pickle in cookies, but nevertheless, RCEs continue to happen: ​ https://blog.scrt.ch/2018/08/24/remote-code-execution-on-a-facebook-server/ To further discourage it's use, we shou

Re: Fellow Reports - August 2018

2018-08-18 Thread Tim Graham
Week ending August 18, 2018 Triaged --- https://code.djangoproject.com/ticket/29676 - has_add_permission() returning False in TabularInline form raises exception in contrib.admin (duplicate) https://code.djangoproject.com/ticket/29678 - inspectdb fails on MySQL 8 with " 'utf8' is curre

Add a setting for customizing the CSRF token name?

2018-08-18 Thread Tim Graham
Do you think it's worth a new setting to allow customizing the CSRF token name ('csrfmiddlewaretoken')? It was proposed 9 years ago in https://code.djangoproject.com/ticket/12738 and closed as wontfix absent some justification. It was again proposed a few days ago in https://github.com/django/

Re: Fellow Reports - August 2018

2018-08-13 Thread Tim Graham
Week ending August 11, 2018 Triaged --- https://code.djangoproject.com/ticket/29647 - "Please correct the error below." when saving edit model form with inline formset and space at the end of primary key value (invalid) https://code.djangoproject.com/ticket/29653 - Using GenericRelatio

Re: HTML5 and XHTML5 documents

2018-08-13 Thread Tim Graham
Another discussion about HTML vs XHTML is https://groups.google.com/d/topic/django-developers/EdwwxxqcKVU/discussion. I think if you want to use XHTML, Django should make is possible, but as it seems the majority of projects use HTML5, I would stick to that as the default. Have you tried creat

Fellow Reports - August 2018

2018-08-04 Thread Tim Graham
Week ending August 4, 2018 Triaged --- https://code.djangoproject.com/ticket/29611 - Reverse and built-in template tag 'url' does not work exactly the same way (needsinfo) https://code.djangoproject.com/ticket/29624 - Django 2.1 incompatible with sqlite 3.6.20 (wontfix) https://code.dja

Django 2.1 released

2018-08-01 Thread Tim Graham
Django 2.1 is now available: https://www.djangoproject.com/weblog/2018/aug/01/django-21-released/ With the release of Django 2.1, Django 2.0 has reached the end of mainstream support. The final minor bug fix release (which is also a security release), 2.0.8, was issued today. Django 2.0 will recei

Django security releases issued: 1.11.15 and 2.0.8

2018-08-01 Thread Tim Graham
Today the Django team issued 1.11.15 and 2.0.8 as part of our security process. These releases address a security issue, and we encourage all users to upgrade as soon as possible: https://www.djangoproject.com/weblog/2018/aug/01/security-releases/ As a reminder, we ask that potential security iss

Re: Installing Channels - bin\\HostX86\\x64\\cl.exe' failed with exit status

2018-07-30 Thread Tim Graham
Hi Ryan, This mailing list is for the development of Django. Please use https://groups.google.com/forum/#!forum/django-users for usage questions. I think you're more likely to get help if you maintain a positive tone and omit sentences like "This is the problem with programming...". On Sunday,

Re: Regression? evaluation of a lazy string in Template

2018-07-30 Thread Tim Graham
It doesn't look like that force_text() was added specifically to handle lazy strings (see django/template/__init__.py in https://github.com/django/django/commit/953badbea5a04159adbfa970f5805c0232b6a401) but Django does have str() calls in various places to handle lazy strings, e.g. https://gi

Re: Fellow Reports - July 2018

2018-07-28 Thread Tim Graham
Week ending July 28, 2018 Triaged --- https://code.djangoproject.com/ticket/29595 - Allow using timedelta in migrations questioner (accepted) https://code.djangoproject.com/ticket/29603 - dumpdata shouldn't use allow_migrate_model (duplicate) https://code.djangoproject.com/ticket/29605

Re: Fellow Reports - July 2018

2018-07-21 Thread Tim Graham
Week ending July 21, 2018 Triaged --- https://code.djangoproject.com/ticket/29575 - MySQL error code 1062 (duplicate entry for key) raises MySQLdb.IntegrityError, not django.db.IntegrityError (worksforme) https://code.djangoproject.com/ticket/29574 - Unable to create model instance aft

Django 2.1 release candidate 1 released

2018-07-18 Thread Tim Graham
We've made the final (hopefully) release on the way to Django's next major release, Django 2.1! Check out the blog post: https://www.djangoproject.com/weblog/2018/jul/18/django-21-rc1/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions

<    1   2   3   4   5   6   7   8   9   10   >