Re: The blacklist / master issue

2020-06-15 Thread Jeff Triplett
Agreed. I thought DHH's argument was equally as compelling for making this change for rails: Regardless of origin, allow/deny are simply clearer terms that does not > require tracing the history of black/white as representations of that > meaning. We can simply use the meaning directly. htt

Re: Adding a middleware to match cookies

2017-01-07 Thread Jeff Willette
, Florian Apolloner wrote: > > Hi Jeff, > > On Saturday, January 7, 2017 at 3:50:56 AM UTC+1, Jeff Willette wrote: >> >> What if there was an optional middleware early in the request processing >> that matched cookies based on a regex in settings and then modified the

Re: Adding a middleware to match cookies

2017-01-06 Thread Jeff Willette
, 2017 at 12:02:30 PM UTC+9, Carl Meyer wrote: > > Hi Jeff, > > On 01/06/2017 06:21 PM, Jeff Willette wrote: > > I understand that calling is_authenticated on a user will require the > > session to be accessed and the vary by cookie header to be in the > > res

Adding a middleware to match cookies

2017-01-06 Thread Jeff Willette
I recently proposed a bad fix (https://code.djangoproject.com/ticket/27686) but I think the problem still remains and I might have a way arpund it. I understand that calling is_authenticated on a user will require the session to be accessed and the vary by cookie header to be in the response, bu

optional middleware to eliminate cookies in request header

2017-01-06 Thread Jeff Willette
I just posted this and I didn't see it pop up in the group, so I am sorry if this is a repost. I recently submitted a bad fix (https://code.djangoproject.com/ticket/27686#comment:6). I made a mistake in thinking about how the caching system works but I think I have another solution to the pro

Query against MySQL database much slower than Postgres using ORM

2013-11-22 Thread Jeff Tchang
Hi, Can anyone help with figuring out why basic select queries using the Django ORM against a MySQL database vs a postgres database are 40x as slow? More info here: https://dpaste.de/04xz. I am using Django debug toolbar to measure as well as a management script to just do simple timings. Us

Re: Wrong error message when user having is_staff=False tries to login to admin

2011-03-11 Thread Jeff Hutchins
+1 for this fix. I don't think that security through obscurity is ever a good choice. On Wed, Mar 9, 2011 at 9:42 AM, Sergiy Kuzmenko wrote: > IMO, obscuring the reason for admin site access denial only confuses > the user. If the attacker has user credentials (and knows admin URL!) > the big job

Re: Pluggable encryption for django auth (design proposal)

2011-02-22 Thread Jeff Balogh
On Mon, Feb 21, 2011 at 9:26 AM, Jacob Kaplan-Moss wrote: > On Mon, Feb 21, 2011 at 3:23 PM, poswald wrote: >> Russ, Carl, thanks for your feedback. Russ, I understand what you say >> about not wanting to adopt crypto code because of the additional >> responsibility. Unfortunately, there aren't v

multi-tenant-ized AuthenticationMiddleware?

2010-11-10 Thread Jeff Enderwick
Hi, is anyone working on making the auth middleware friendly for multi-tenent systems? For example, username not being unique, but tenant+username being unique instead? I just thought I would check before diving in... thanks, Jeff -- You received this message because you are subscribed to the

Re: CSRF Middleware/SSL/Firefox 3.6.8 bug

2010-08-26 Thread Jeff Balogh
On Thu, Aug 26, 2010 at 10:23 AM, Mat Clayton wrote: > About to file this as a Bug in Trac but after some opinions first. > We are running django 1.2, and can't personally reproduce this bug, but some > of our users can do. We are using SSL and CSRF to protect our login pages, ( > https://www.mixc

Re: Deprecating cmemcache, adding pylibmc

2010-02-22 Thread Jeff Balogh
On Sun, Feb 21, 2010 at 8:46 PM, Rajiv Makhijani wrote: > I recently implemented a custom caching backend to add support for pylibmc > on a large site due to issues with cmemcache. > > For the most part the 'pylibmc' APIs are the same as 'python-memcached' and > 'cmemcache'. > > One changed behavi

Re: Call for comment: #12624 Class based test runners

2010-01-16 Thread Jeff Balogh
com/en/dev/releases/1.2/#test-runner-exit-status-code says that run_tests should return 0 for success or 1 for failure, but your patch still returns the old `len(errors) + len(failures)`. Other than that, this looks great. I think it'll be easy to update django-nose to the new system. T

Is a partial translation acceptable?

2010-01-08 Thread Jeff Balogh
thing like http://gist.github.com/272594 looked like a good start for them, with the technical strings and form validation parts. I'm inquiring so I can figure out what to do with translations when (if) I get them. Cheers, jeff -- You received this message because you are subscribed to the Go

Re: Thanks for all the hard work

2009-12-29 Thread Jeff Bell
I absolutely agree. I challenge anyone who has profited or benefited Django match my contribution of $100.00 or whatever you can afford. Confirmation number: 8M866720KD7X An email with your donation details has been sent to x...@.comt and you can print your donation receipt

Re: Regularly-scheduled Django sprints, first December 11 - 13

2009-11-10 Thread Jeff Ammons
This is still a little ways out, but Mahalo.com will be hosting a sprint in the next round in February in Santa Monica, CA. We're still looking for core developers in the area, so if you know any or are one, let me know. -Jeff On Tue, Nov 10, 2009 at 9:06 AM, mrts wrote: > > Great

Re: Proposal: Tutorial Refresh

2009-10-19 Thread Jeff Anderson
orial would have been wonderful to fill the gap that I had. It would have saved me quite a bit of *re-learning* things, which is always annoying. Thanks! Jeff Anderson pgpgBniHjlLJD.pgp Description: PGP signature

Re: Adding an option to re-test only failed tests

2009-09-29 Thread Jeff Balogh
On Tue, Sep 29, 2009 at 9:31 PM, Jeff Balogh wrote: > On Tue, Sep 29, 2009 at 8:56 PM, Rob Madole wrote: >> >> I'll see if I can talk Jeff into adding what he's got as a start to >> this.  It looks solid to me. >> >> Ticket and patches forthcoming...

Re: Adding an option to re-test only failed tests

2009-09-29 Thread Jeff Balogh
On Tue, Sep 29, 2009 at 8:56 PM, Rob Madole wrote: > > I'll see if I can talk Jeff into adding what he's got as a start to > this.  It looks solid to me. > > Ticket and patches forthcoming... The nose test-runner that I'm currently using is at http://gist.github.

Re: Posting to the wrong list (was: Re: Need Django Developer urgent)

2009-05-12 Thread Jeff Gentry
> I don't know where you got "the core team" from--django-core: > development on Django itself, and more importantly, it would have been > completely unambiguous to users developing using Django. FWIW, another project that I was a contributer for had '-devel' for the same purpose as this list and

ACL

2009-01-07 Thread Jeff Anderson
ACL functionality I imagine is written in views that go with a specific app. A standard implementation of ACL in contrib one would allow for more pluggable pluggable apps. Let me know what you think! Thanks! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Using domain in urls.py

2008-12-27 Thread Jeff Anderson
phillc wrote: > different domains = different settings.py = different urls.py > Not necessarily. An apache vhost can have a singe instance of a Django site, and multiple ServerAlias entries could mean that several different DNS names are used to access the same instance of Django. signature.a

Re: One suggest for a new Lorem Ipsum

2008-11-26 Thread Jeff Anderson
used to create a site like this with the current lorem ipsum tag. Am I missing something? Confused, Jeff Anderson signature.asc Description: OpenPGP digital signature

Testing LDAP Backend

2008-11-25 Thread Jeff Anderson
r test runner settings.py. Is this too cumbersome for test runners? I really don't know how to make it easier. How do I handle the case where someone tries to run the test, but they have supplied bad LDAP settings, or haven't added any data to ldap? Thanks for any insight! Jeff Anders

Re: Ticket #2507

2008-10-16 Thread Jeff Anderson
Russell Keith-Magee wrote: > On Thu, Oct 16, 2008 at 11:13 PM, Jeff Anderson > <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> #2507 has been accepted, documented, and there is a working patch. It's >> been used in production for some time. >>

Ticket #2507

2008-10-16 Thread Jeff Anderson
e else. It was originally written by a co-worker of mine, and we'd be more than happy to tackle #2. I figured I'd run it by the dev list before I go and close the ticket on my own initiative. (It is marked as "accepted" after all.) Thanks! Jeff Anderson #2507: http:/

Django Book 1.0

2008-09-26 Thread Jeff Anderson
updated after 1.0 was released. I'd be willing to help out with updating the book-- are there plans to make the source code available so the community could contribute? Thanks! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: I want a pony: Distributed RCS

2008-09-13 Thread Jeff Anderson
Ludvig Ericson wrote: > On Sep 11, 2008, at 00:15, Jeff Anderson wrote. > > Honestly, not that my opinion matters in any way, but: > Don't fix it if it ain't broken. > Improving on something doesn't always fall under this saying. While it gives good advice in

Re: LDAP Backend for django.contrib.auth

2008-09-12 Thread Jeff Anderson
7;t be surprised if it did make it in at some point. Hopefully this is helpful and reflects the thinking behind the inclusion of this feature. Let me know if you end up using the one from #2507! Jeff Anderson [0] http://code.djangoproject.com/ticket/2507 signature.asc Description: OpenPGP digital signature

Re: I want a pony: Distributed RCS

2008-09-12 Thread Jeff Anderson
d condescending, and some took offense at it. I agree -- it's a > stupid way to respond to an honest question. I was out of line, and I > apologize. Jeff, I hope you weren't offended! > > By way of explanation, I'm just a bit tired of holy wars in web > development; SCM

Re: Recursive inlines in admin?

2008-09-11 Thread Jeff Forcier
tay open, or if it would be considered a partial duplicate of Justin's #8160. I can't write a short email, can I? :) Thanks again, all, for the discussion. For now I think I may try re-jiggering my existing edit- inline setup and see if that helps my data entry speed, and I'll defin

Re: I want a pony: Distributed RCS

2008-09-10 Thread Jeff Anderson
Malcolm Tredinnick wrote: > On Wed, 2008-09-10 at 16:15 -0600, Jeff Anderson wrote: > >> Jacob's git repo is great. Trac has at least a couple plugins that can >> handle git repos. >> >> There are enough people who are willing to contribute to the development

I want a pony: Distributed RCS

2008-09-10 Thread Jeff Anderson
ge healthy discussion. I forbid holy wars and flaming. Has making a move to a distributed model already been discussed for Django? The closest I've seen is Jacob announcing his git repo, and that's about it. I haven't seen any serious discussion among core devs about the idea.

Re: Recursive inlines in admin?

2008-09-09 Thread Jeff Forcier
Hi all, Looks like my below post fell through the cracks; I'm hoping it's because everyone was busy preparing for DjangoCon, although I wouldn't blame people for skipping past my wall of text :) Does anyone have an opinion on recursive inline editing, one way or the other? Regard

Recursive inlines in admin?

2008-09-04 Thread Jeff Forcier
willing to take a closer look at what would be required to implement this, and put a patch together at some point if it appears feasible. Just want to make sure I don't need a reality check first :) Regards, Jeff --~--~-~--~~~---~--~~ You received this message b

Re: Beef with Django; admin and auth

2008-08-26 Thread Jeff
I'm quite new to django, so I'm not sure where to put that patch. I tried it in settings.py and urls.py but it didn't affect anything. Where's the correct place to put it? Thanks On Aug 15, 1:14 am, Julien Phalip <[EMAIL PROTECTED]> wrote: > Hi, > > So far I haven't had too much trouble customi

Re: [OT] '"%s/" % var' preferred to 'var + "/"'?

2008-08-21 Thread Jeff Anderson
o see if string formatting ever performs better in certain situations, but for the very simple test case I used, string formatting appears to be slower. Hopefully this answers your question! Jeff Anderson concattest.py: s1 = "Hello" i=0 while i<999000: greeting="Engli

Doc Refactor

2008-07-19 Thread Jeff Anderson
Hello, I'm curious about the status of the documentation refactor. I see that it is on the 'maybe' list, and that the hg repo hasn't been touched in a couple months. What's the best way to get up to speed and help get this ready for checkin? Thanks! Jeff

Re: Buildbots [was: Test Suite on a mac]

2008-07-12 Thread Jeff Anderson
he tool. I don't really have access to a windows server that could handle an instance, but I'm sure someone does. Jeff Anderson signature.asc Description: OpenPGP digital signature

Test Suite on a mac

2008-07-10 Thread Jeff Anderson
ting the config file for running one here. If this would be useful to the developers, I'll go ahead and proceed. If not, I won't. Let me know! Jeff Anderson signature.asc Description: OpenPGP digital signature

Status of #6621

2008-07-05 Thread Jeff Anderson
he current SVN. Is there anything else that needs to be done before merging this? Thanks! Jeff [0] http://code.djangoproject.com/ticket/6621 signature.asc Description: OpenPGP digital signature

DDN 1.0 alpha tickets

2008-06-25 Thread Jeff Anderson
These are tickets that don't have an owner, are DDN, and are in the 1.0 alpha milestone. http://code.djangoproject.com/ticket/6406 - discusses hooks for form saving http://code.djangoproject.com/ticket/7268 - The only thing left here is changing script names in django to a consistent naming sch

Re: more DDN Tickets

2008-06-25 Thread Jeff Anderson
[EMAIL PROTECTED] wrote: That one looks like it should have been #4148: http://code.djangoproject.com/ticket/4148 On Jun 25, 1:25 am, Collin Grady <[EMAIL PROTECTED]> wrote: Jeff Anderson said the following: #4118 Do you have the wrong # here? That ticket is

more DDN Tickets

2008-06-24 Thread Jeff Anderson
as good as rebasing the patch against current trunk. I'm a +/- 0. http://code.djangoproject.com/ticket/4118 That's all for tonight. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: nfa-blocker #6004

2008-06-24 Thread Jeff Anderson
Jeff Anderson wrote: This ticket was marked as Design Decision Needed because the patch was old. I've updated the patch to work with the current SVN. Is there anything else holding it back from being checked in? Jeff Anderson ::bump:: This ticket is about 3% of the first mile

Re: Changeset [7735]: newforms-admin: Fixed #6905 - allow custom form class to be used for …

2008-06-24 Thread Jeff Anderson
Unfortunately, this wasn't my idea. I just triaged it three months after anonymous came up with said patch. http://code.djangoproject.com/changeset/7735/1214331065 signature.asc Description: OpenPGP digital signature

nfa-blocker #6004

2008-06-21 Thread Jeff Anderson
This ticket was marked as Design Decision Needed because the patch was old. I've updated the patch to work with the current SVN. Is there anything else holding it back from being checked in? Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: List of DDN Tickets

2008-06-18 Thread Jeff Anderson
uture mails like this one. It really doesn't take me that long to do, and if it is helpful, I'm happy to do it. Jeff Anderson signature.asc Description: OpenPGP digital signature

List of DDN Tickets

2008-06-18 Thread Jeff Anderson
atpages would be good. I am in favor of making them available to the templates; either in the RequestContext or a templatetag. Either way would probably be beneficial. Hopefully this type of message is helpful. If things like this don't belong on the dev list, let me know. Thanks! Jeff A

Re: Django 1.0 roadmap

2008-06-16 Thread Jeff Anderson
s of tickets "Boogs" that should be squished for 1.0, or are they just trivial annoyances? Hopefully my question makes sense (it is a Monday after all) Thanks! Jeff Anderson ps: Some examples: http://code.djangoproject.com/ticket/7179 http://code.djangoproject.com/ticket/7361 htt

learning triage

2008-06-14 Thread Jeff Anderson
be accepted for the next 0.96.x release? Thanks! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Django community aggregator and non-English posts

2008-06-13 Thread Jeff Anderson
least amount of errors is likely the right candidate. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Django community aggregator and non-English posts

2008-06-13 Thread Jeff Anderson
bscribe to. That's in harmony with one of the major philosophies of open source... freedom. :) Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: RFC: Django 1.0 roadmap and timeline

2008-06-11 Thread Jeff Anderson
rs, and I am doing what I can to push along 1.0, although I'm still getting up to speed on the development process. :) Cheers! Jeff Anderson signature.asc Description: OpenPGP digital signature

django-updates

2008-06-11 Thread Jeff Anderson
I went to subscribe to django-updates so I can do what I can with furthering django, but it seems that whatever script posts to the list hasn't been working since March. Is this accurate? Has the django-updates information moved to another medium? Thanks! Jeff Anderson signatur

Re: #5731

2008-06-11 Thread Jeff Anderson
g-- I had the ticket loaded in my browser since last night. Since you say yank the old code, it looks like the only thing left is to make an up-to-date unified patch, and commit. I'll hop onto IRC and see if brosner is there. Thanks! Jeff Anderson signature.asc Description: OpenP

#5731

2008-06-11 Thread Jeff Anderson
l to remove the legacy radio_admin code. I'm guessing it is appropriate to include discussion of development on the list instead of contacting him directly. Joseph, are you out there? Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Improving the truncatewords filter (and a +1 vote for filters with multiple arguments)

2008-06-04 Thread Jeff Anderson
erent browser!) and attempting to post a ticket. Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: Rethinking silent failures in templates

2008-05-14 Thread Jeff Anderson
DEBUG=True), etc... Thanks! Jeff Anderson signature.asc Description: OpenPGP digital signature

#2507 LDAP Auth

2008-01-19 Thread Jeff Anderson
live somewhere else, or is it happy there? *The ticket is marked as patch needing improvement, but unless I'm missing something, I believe it had all the modifications made to it that were requested. What else did it need? Thank you! Jeff Anderson signature.asc Description: OpenPGP di

Re: ticket open fails

2007-12-22 Thread Jeff Anderson
noticed someone say that both places used the same accounts, so I knew that would be the case. Thanks! Jeff Anderson signature.asc Description: OpenPGP digital signature

Re: ticket open fails

2007-12-22 Thread Jeff Anderson
Thank You! I have successfully opened a ticket. Jeff Anderson Adrian Holovaty wrote: > On Dec 22, 2007 11:36 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote: > >> I have a patch to submit, but my ticket is rejected as possible spam. >> What does your spam detector look fo

ticket open fails

2007-12-22 Thread Jeff Anderson
I have a patch to submit, but my ticket is rejected as possible spam. What does your spam detector look for? What does one need to do to get an account? I am guessing that it is easier to open tickets if I have an account? Thanks! Jeff Anderson signature.asc Description: OpenPGP digital

Re: ForeignKeys and friends interface

2007-04-06 Thread Jeff Forcier
27;d be interested to see how the quoted poster's code differs (or not) from my patch, too :) Regards, Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To pos

Re: newforms with auto_now

2007-02-19 Thread Jeff Triplett
One of my co-workers found this ticket which a few patches to fix the issue: http://code.djangoproject.com/ticket/3247 On Feb 19, 10:52 am, "Jeff Triplett" <[EMAIL PROTECTED]> wrote: > Are the auto_now / auto_now_add fields going to be supported in > newforms?

newforms with auto_now

2007-02-19 Thread Jeff Triplett
discussion in the past, I thought I'd just ask the question. Thanks, Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to dj

Re: ANN: Please welcome Django's new release manager!

2007-01-20 Thread Jeff Forcier
Congrats, James! Nobody better for the job, says I :) --~--~-~--~~~---~--~~ 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

Re: ANN: Upgrading code.djangoproject.com

2007-01-18 Thread Jeff Forcier
Anyway, don't know if the current blank-ness is because someone wanted to vandalize, or someone just wanted to edit it and hit the same error I got (depends on whether that error checks for *new links added* or simply *total number of links*), but either wa

Re: Hosting ISPs

2006-09-18 Thread Jeff Forcier
last ~6-8 months have I had any downtime, and it was network-related and not their fault). Their site has a form you can fill out detailing your needs, and they'll get in touch with you quickly and take it from there. So, yea--highly recommended :)

Re: Automatic-manipulator, very slow..... design-decision/bug/misunderstanding?

2006-09-01 Thread Jeff Forcier
Yea, 'follow' was a new feature of sorts put into the new-admin branch way back when, by (sadly absent these days) Robert Wittams. I don't believe it was ever fully documented even after new-admin was merged to trunk (which was around or before 0.91, I believe). Regards, Jeff Ga

Re: How to change foreign key deletion behaviour?

2006-07-12 Thread Jeff Forcier
It's too early in the morning for me to read this thread in detail, but I'd like to mention that I ran into a similar problem a while back and wrote a small patch for it. It's against a pre-MR trunk and I haven't had time to update it for post-MR, but it's pretty simple and should be easy to modif

Re: .delete() a little too eager?

2006-05-29 Thread Jeff Forcier
I found this a few months ago and created a patch for it: http://code.djangoproject.com/ticket/1007 I'm not at all sure that it will patch correctly against anything recent, but it should be pretty obvious what I did, so you should be able to tweak it for whatever version you have checked ou