Re: Proposal: Make it so when getting an image's dimensions, EXIF orientation is considered

2022-10-29 Thread Adam Taylor
What about having a setting that is used in the django/core/files/images.py file's get_image_dimensions function? Something like IMAGE_DIMENSIONS_USES_EXIF. It could default to False at first to maintain backwards compatibility and eventually could be True by default. If the setting is set to T

Proposal: Make it so when getting an image's dimensions, EXIF orientation is considered

2022-09-24 Thread Adam Taylor
Following the advice of David Sanders and Mariusz Felisiak, I'm coming here with my proposal rather than continuing on with the ticket system (see ticket #34035 ). I understand the reluctance to make this change. However, things change with web brows

Re: Snowflake db backend

2021-04-20 Thread 'Taylor' via Django developers (Contributions to Django itself)
Sorry, I meant to write Scott, not Tim. I shouldn't write emails late at night. - Taylor On Tuesday, April 20, 2021 at 10:29:46 PM UTC-7 Taylor wrote: > Hey Everyone, > > Sorry to open up an old thread. > > Tim - were you ever able to open source your Snowflake backend?

Re: Snowflake db backend

2021-04-20 Thread 'Taylor' via Django developers (Contributions to Django itself)
own Snowflake backend, but it would be great to not duplicate work here. What are your thoughts? Best, Taylor On Wednesday, January 27, 2021 at 1:08:13 AM UTC-8 f.apo...@gmail.com wrote: > Hi Scott, > > Thank you for your response, this is very helpful. > > On Tuesday, January 26, 2

Re: Paid Contributions for specific feature in Django

2021-04-20 Thread 'Taylor Hakes' via Django developers (Contributions to Django itself)
Graham wrote: > Hi Taylor, > > As Adam said, it would be nice not to duplicate work that Disney's already > done, but if I can help, I'm open to consulting and have written backends > for CockroachDB (https://github.com/cockroachdb/django-cockroachdb) and > Google Cloud

Paid Contributions for specific feature in Django

2021-04-20 Thread 'Taylor' via Django developers (Contributions to Django itself)
separate package. Either way, it would be 100% open source after completion. Is there any process for this type of thing? If there isn't, is there anyone on here interested in this type of work? Best, Taylor -- You received this message because you are subscribed to the Google Groups &q

Re: QuerySet.iterator together with prefetch_related because of chunk_size

2020-05-21 Thread 'Taylor Hakes' via Django developers (Contributions to Django itself)
That makes sense to me. It is a little weird, but it’s the best option. I will post a comment on the PR. I am happy to update the code if he’s not available. On Wed, May 20, 2020 at 9:59 PM charettes wrote: > Taylor, I think that 2. is the way forward. > > It looks like the linked P

Re: QuerySet.iterator together with prefetch_related because of chunk_size

2020-05-20 Thread 'Taylor' via Django developers (Contributions to Django itself)
Checking in here. What are the next steps to make a decision? On Wednesday, February 13, 2019 at 2:06:29 PM UTC-5, Taylor wrote: > > I agree that 2 makes sense and isn't a huge usability issue. It looks like > the PR is ready to go whenever this is decided > https://github.

Re: QuerySet.iterator together with prefetch_related because of chunk_size

2019-02-13 Thread Taylor
I agree that 2 makes sense and isn't a huge usability issue. It looks like the PR is ready to go whenever this is decided https://github.com/django/django/pull/10707/files On Monday, January 14, 2019 at 5:29:18 PM UTC-5, Adam Johnson wrote: > > I agree with your reasoning, and also favour option

Re: Any interest in integrating Django Admin Sortable into core?

2017-03-21 Thread Brandon Taylor
his can even discourage contributions. If it was > up to me I'd devolve some of the apps in contrib into separate packages :) > > Adam > > On 20 March 2017 at 20:56, Brandon Taylor > > wrote: > >> Hello Django Developers, >> >> I've been a lo

Any interest in integrating Django Admin Sortable into core?

2017-03-20 Thread Brandon Taylor
thout having to inherit the Mixin. It would be an honor to be able to contribute to Django's core functionality after so many years of using the framework. I'm hopeful you'll consider my proposal. Kindest Regards, Brandon Taylor -- You received this message because

Logging Out with POST by Default?

2012-09-20 Thread Adam Taylor
I recently read the Coding Horror article Cross-Site Request Forgeries and You, which suggests requiring an HTTP POST form submission for logging out. This same suggestion is implied in the Django book (chapter

Re: Development GUI

2012-09-06 Thread Alec Taylor
Hi Timothy, Not sure where you're going with this… but sounds interesting. [watching] -> looking forward to some sample code + whatever in the Readme :) On Fri, Sep 7, 2012 at 11:38 AM, Timothy Clemans wrote: > Hi, > > I'm developing a web-based development GUI for Django. See > https://github.

Re: Multi-tenant Django

2012-05-15 Thread Alec Taylor
lar) and see if I can serve multiple sites+databases from the same > Django instance. > > Not sure if that helps, or even it it'll work, but if it does it might do > what you need. > > Cheers, > > Anthony > > On 9 May 2012 13:02, Alec Taylor wrote: >> >&

Re: Redesign of djangoproject.com?

2012-05-02 Thread Alec Taylor
I quite like that last one (on Google Docs) Only caveat is the way sites that use Django are listed. It seems quite pedestrian... maybe add big image logos or whatnot... advertising that Bitbucket, Instagram and The Washington Post use Django is the easiest way to make people consider Django. On

Re: Redesign of djangoproject.com?

2012-04-30 Thread Alec Taylor
The http://proxart.co/ design on that page is quite a good one On Tue, May 1, 2012 at 2:50 PM, Joe Tennies wrote: > A lot of these mockups are good, but I have a couple comments. > > I'd like to see more "interesting" grid layout. Django comes from the world > of newpapers. I think that should be

Re: Redesign of djangoproject.com?

2012-04-29 Thread Alec Taylor
Here is a design I just pulled up: http://i.imgur.com/wIkel.png Thoughts? On Mon, Apr 30, 2012 at 1:34 AM, Alec Taylor wrote: > Contact me for UX once you have forked the repo, I'll throw something > up and place it on the wiki (or in an issue) of that new repo. > > Email: alec

Re: Redesign of djangoproject.com?

2012-04-29 Thread Alec Taylor
Contact me for UX once you have forked the repo, I'll throw something up and place it on the wiki (or in an issue) of that new repo. Email: alectayl...@gmail.com On Sun, Apr 29, 2012 at 10:33 AM, Dana Woodman wrote: > Great info Russ, thanks! > > My thoughts at this point would be to focus on th

Re: Redesign of djangoproject.com?

2012-04-28 Thread Alec Taylor
I can throw in some UX designing if you want On Sat, Apr 28, 2012 at 11:53 PM, Ned Batchelder wrote: > Will there be any specific discussion about what's wrong with the current > site?  You two seem to agree something needs to be done, but haven't > mentioned anything specific. > > --Ned. > > > O

Re: ANNOUNCE: Django 1.4 released

2012-03-23 Thread Alec Taylor
Awesome! -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more option

Re: Tutorial for dev version not working (Polls app): admin

2012-01-28 Thread Alec Taylor
kk On Sun, Jan 29, 2012 at 4:15 AM, Florian Apolloner wrote: > Hi, > > Please post questions to django-users; once we determined it's not an error > by you django-developers is the correct mailinglist for discussing bugs. > > Cheers, > Florian > > -- > You received this message because you are su

Tutorial for dev version not working (Polls app): admin

2012-01-28 Thread Alec Taylor
). There are no differences in field order/display on any of these pages. I have followed the tutorial exactly, but it isn't rearranging the fields. Is there a different way of rearranging admin fields in Django 1.4? Thanks for helping me get this working, Alec Taylor -- You received this mes

Re: Ad-hoc Django integration for fault-tolerance

2012-01-28 Thread Alec Taylor
t the backlog, in addition my gmail has been buggy and slow for a >> few days, so I'm assuming it's Google having an issue. >> >> On Fri, Jan 27, 2012 at 8:18 PM, Russell Keith-Magee >> wrote: >>> >>> On Sat, Jan 28, 2012 at 3:47 AM, Alec Taylor &g

Re: Ad-hoc Django integration for fault-tolerance

2012-01-27 Thread Alec Taylor
Thanks, hadn't thought to go with NoSQL. :) Quick side-note: I received 14 emails on the django-devel list between 30 and 40 minutes ago. Strange, seeing as this one is dated 10 days ago. Google Groups problem? On Wed, Jan 18, 2012 at 10:07 AM, Kenneth Reitz wrote: > Enjoy: http://guide.couchdb.

Ad-hoc Django integration for fault-tolerance

2012-01-17 Thread Alec Taylor
e wrong direction? Thanks for all suggestions, Alec Taylor -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, s

Implement automatic graceful degradation (to CSS) and progressive enhancement (to JavaScript) in Django

2011-12-17 Thread Alec Taylor
ied in an abstracted format, then based on the browser capabilities of the requester; CSS+HTML xor JS+HTML is sent. Is there already a technique for doing this in Python? Do you think Django would benefit from this feature being implemented? Thanks for your consideration, Alec Taylor -- You r

Re: Cleaning up manage.py and import paths

2011-10-12 Thread Alec Taylor
Hmm, well maybe we need to survey current structures, I'd expect some constant (i.e. the settings.py file) On Wed, Oct 12, 2011 at 11:53 PM, Carl Meyer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Alec, > > On 10/12/2011 06:38 AM, Alec Taylor wrote: >

Re: Cleaning up manage.py and import paths

2011-10-12 Thread Alec Taylor
On Tue, Oct 11, 2011 at 9:05 AM, Carl Meyer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi all, > > In the spirit of making Django behave better as a Python library (c.f. > Glyph's keynote at djangocon.us), I'd like to finally tackle removing > the sys.path hacks in django.core.ma

Re: Removing pickle from cookie-based session storage

2011-10-02 Thread Alec Taylor
Remove the pickle from the cookie jar! Only cookies are meant to be there :P On Sun, Oct 2, 2011 at 3:26 PM, Paul McMillan wrote: > We recently committed changes to 1.4 that added signed cookie based > session storage. Session data is pickled, signed, and sent to the > client as a cookie. On rec

Re: We're a group of students at UC Berkeley looking to contribute to Django

2011-09-26 Thread Alec Taylor
ject + run readme I'm currently too distracted by the actual project I want to distribute to do this on my own. If a few of you are interested though, I can give you tips+guidance to get started. :] All the best, Alec Taylor On Tue, Sep 27, 2011 at 1:10 PM, jaminw wrote: > Hi all, &g

Re: DJango doesn't work with Oracle 11g on Windows 8

2011-09-21 Thread Alec Taylor
is in any case). Hope some of that helps! > > Anthony > > On Wed, Sep 21, 2011 at 9:58 PM, Alec Taylor wrote: >> Thanks Anthony, unfortunately although I made progress, I am still >> unable to proceed due to an error. >> >> manage.py syncdb error: http://

Re: DJango doesn't work with Oracle 11g on Windows 8

2011-09-21 Thread Alec Taylor
es > the compilers and set the environment variable > > DISTUTILS_USE_SDK=1 > > Without that you need a copy of Visual Studio installed on your machine. > > Hope that helps. > > Anthony > > On Wed, Sep 21, 2011 at 9:25 AM, Alec Taylor wrote: >> Good morning, >&

DJango doesn't work with Oracle 11g on Windows 8

2011-09-21 Thread Alec Taylor
in.com/rCsY63RS Summary: "Unable to find vcvarsall.bat" How can I make DJango work with my Oracle 11g Express database? Thanks for all suggestions, Alec Taylor -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: PHP-inspired user-friendly in-browser DJango install

2011-09-13 Thread Alec Taylor
Agreed On Wed, Sep 14, 2011 at 1:00 AM, h3 wrote: >> Beyond that, what I am wondering is how much users will be able understand >> how Django work if they can't do the installation. > > Each year I accept foreign students for internship in my company and > most of then either never heard of Dja

Re: PHP-inspired user-friendly in-browser DJango install

2011-09-12 Thread Alec Taylor
ings. Of course, a more "newbie-friendly" may be "nice-to-have", but > imho the "core" of a framework should not provide such thing. > > Romain. > > On 12/09/2011 18:39, Tom Evans wrote: >> >> On Fri, Sep 9, 2011 at 4:56 PM, Alec Taylor >>

Re: PHP-inspired user-friendly in-browser DJango install

2011-09-09 Thread Alec Taylor
Looks useable. Anyone interested in working with me to port this to DJango? (the reason I'm not doing it myself is that I am very new to Python and DJango) On Fri, Sep 9, 2011 at 5:38 PM, Jens Diemer wrote: > Am 09.09.2011 08:23, schrieb Aymeric Augustin: >> >> Nothing prevents you from alterin

PHP-inspired user-friendly in-browser DJango install

2011-09-07 Thread Alec Taylor
does this? Thanks for all suggestions, Alec Taylor -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-

Re: High Level Discussion about the Future of Django

2010-04-16 Thread Taylor Marshall
On Fri, Apr 16, 2010 at 12:23 PM, Tom X. Tobin wrote: > None of this means that I think the core development process should > change.  (Well, besides my fervent desire that they officially adopted > git — and yes, I do believe it *would* make a difference, centralized > "official" branch and all —

Re: GSoC10 Idea: Additional queryset methods

2010-03-19 Thread Taylor Marshall
aybe just dicts) in place of plain tuples? You'd get all the flexibility that you want, but more readable code (accessing field names rather than sequence indices). Taylor -- You received this message because you are subscribed to the Google Groups "Django developers" gr

Re: proposal: ask a queryset to not raise exceptions

2010-03-07 Thread Taylor Marshall
> PS: Can people *please* use 'cls' and not 'klass'. =/ Yes you are right, my fault. Although I did just rip the code from the patch at http://code.djangoproject.com/ticket/2659 and modify it. Additionally, looking at that issue will likely give some insight into the response this change will li

Re: proposal: ask a queryset to not raise exceptions

2010-03-07 Thread Taylor Marshall
Seems like it'd be pretty simple for the developer to make a little helper method like so... >>> def latest_or_none(klass, *args, **kwargs): >>> try: >>> return klass.objects.filter(*args, **kwargs).latest() >>> except klass.DoesNotExist: >>> return None I guess I don't se

Re: Ticket #5025 - truncate filter, why hasn't it been accepted?

2009-12-30 Thread Taylor Marshall
I think umovi makes a great point here when he mentions that templates are often used for things that are not HTML. "Be decoupled from HTML" is one of the core design philosophies listed in the docs. I'm not really advocating for or against adding a truncate filter, but I do think that "you shou

Re: Decision for ticket #6362 - Remove blank spaces with strip when validating the data

2009-10-10 Thread Taylor Marshall
I'd love to see this change get put in. I think the most common case for forms is to trim whitespace, not the other way around. I'd rather have the extra work come in for the rare case (when you wanted to preserve leading/trailing spaces). -Taylor On Oct 10, 11:37 am, Barry Peder

Re: Url resolver issues

2009-09-26 Thread Lewis Taylor
l pattern for use in the templates. However, as there seems to be no option to resolve the URL i have no choice. On Sep 25, 4:37 pm, Michael wrote: > On Fri, Sep 25, 2009 at 11:22 AM, Lewis Taylor > wrote: > > > > > > > I should have also noted all url resolves fail, not ju

Re: Url resolver issues

2009-09-25 Thread Lewis Taylor
I should have also noted all url resolves fail, not just with no arguments. On Sep 25, 4:11 pm, Lewis Taylor wrote: > Here it goes: > > I wanted a clean url structure so i tried to abstract as much as i > could in one url pattern. it looks something like this: > > url(r

Url resolver issues

2009-09-25 Thread Lewis Taylor
Here it goes: I wanted a clean url structure so i tried to abstract as much as i could in one url pattern. it looks something like this: url(r'^approved/((?P[a-zA-Z ,-]+)?)(/?)((?P[0-9]+)?)(/?) $', get_approved_images, name='approved_images') this in theory should allow the return of 1) all ima

Translation problem in from django.utils.translation.trans_real : get_language_from_request()

2009-09-22 Thread Lewis Taylor
I'm not sure if this has been discussed before, my guess is yes, however i can't find anything about it. I noticed that the get_language_from_request method in trans_real only checks whether the django.mo file for a given locale is available in the django locale directory, and not an app or proje

Re: Integrating Django with Tornado's web server

2009-09-13 Thread Bret Taylor
On Sep 13, 3:05 pm, Russell Keith-Magee wrote: > > I chose the WSGI approach because it is generic and applies to all > > frameworks, but Django is obviously the most widely used. I am curious > > if there is any benefit to implementing more "native" support in > > django.core.handlers or if WSGI

Integrating Django with Tornado's web server

2009-09-13 Thread Bret Taylor
I am one of the authors of Tornado (http://www.tornadoweb.org/), the web server/framework we built at FriendFeed that we open sourced last week (see http://bret.appspot.com/entry/tornado-web-server). I just checked in change to Tornado that enables you to run any WSGI- compatible framework on Tor

Re: append_slash alternative: remove_slash

2009-06-15 Thread Patrick Taylor
On 15-Jun-09, at 6:50 PM, donquixote wrote: > > @Adys: > As I understand, Justin's "remove all slashes" was just a hypothetical > example. > > @Justin: > I agree that it's not about avoiding an illusion. It's just ugly and > unhandy, that's it. And yes, most non-django systems out there that I >

Re: ForeignKey

2009-01-12 Thread Patrick Taylor
Por favor, disculpame por mi Español, msmtotti. Esta lista es dedicada a el developmento de Django mismo, la lista que tu quieres usar es Django-users donde te pueden ayudar con este tipo de problemas. On 12-Jan-09, at 4:04 PM, msmtotti wrote: > > Hola: > > Tengo una duda en mis models.py,