Re: The problem of versioning a large project.

2023-04-03 Thread John Whitlock
plit the code, and give access to some but not others. This is still doing things the hard way! If possible, work with reliable people with contracts to remove those barriers. If not, make the code work for your business constraints, such as an API to give a clean separation between insiders an

Re: [Technical Board?] Project Ideas, and beginning GSoC 2023.

2022-11-28 Thread 'John Whitlock' via Django developers (Contributions to Django itself)
continuous deployment. It is also tricky enough that it would benefit from a full-time effort to implement and refactor. - John On Tue, Nov 15, 2022 at 3:11 AM Carlton Gibson wrote: > Hi all. > > Google Summer of Code (GSoC) for 2023 has just been announced. > > https://opensource.g

Re: Why using django.contrib.sessions as the salt to encode session data? why not secret key?

2022-10-05 Thread 'John Whitlock' via Django developers (Contributions to Django itself)
base64 encoded, and potentially compressed. The second section is the encoded timestamp, used to determine if it was created too long ago on decode The third section is the HMAC signature, base64 encoded. - John On Wed, Oct 5, 2022 at 4:45 PM 'Adam Johnson' via Django develop

git tag missing for django 4.1.1?

2022-09-29 Thread John Speno
Hi folks, According to the Django's release process document[1], there should be a signed tag for 4.1.1 yet I do not see it listed: https://github.com/django/django/tags Thanks. [1] https://docs.djangoproject.com/en/dev/internals/release-process/ -- You received this message because you are su

Re: Improvements to the startproject template

2022-04-20 Thread John M
I do exactly this for every new Django project, so it's +1 from me as well. John On 20/04/2022 12:01, da...@springbourne-tech.com wrote: +1 for me - this would be really useful. On Monday, April 18, 2022 at 9:02:02 PM UTC+1 pyt...@ian.feete.org wrote: Hi Tim, This feels like a

Re: The blacklist / master issue

2020-06-22 Thread John Obelenus
Alex I find the notion that you think changing terms that have bad racial connotations to be "embarrassing" to be entirely without merit. It is not embarrassing to consider the feelings of Black and other minority people when using language. Moreover, racism is not simply a US only phenomenon.

Expand the Scope of Pluggable Secret Keys Ticket

2019-08-07 Thread John Gooding
Would it be possible to expand the scope of the recently accepted secret key rotation ticket to include the ability to live rotate other credentials as well, such as the DB credentials? Or would this be a separate thing all together? https://groups.google.com/forum/#!searchin/django-developers

Re: Make Development More Accessible

2019-08-07 Thread John Gooding
try to get some more concrete numbers about current engagement level by looking at the data. It might be worth it to then compare this projects of a similar nature / size, though I'm not sure how much validity that would have, being apples and oranges. ~John On Wednesday, August 7, 2019 at

Re: Make Development More Accessible

2019-08-07 Thread John Gooding
one of those three could do what is ultimately needed, which is a centralized and consistent development platform. On Wednesday, August 7, 2019 at 12:33:59 AM UTC-7, Aymeric Augustin wrote: > > Hello John, > > This was discussed before, when we moved from self-hosted svn to > Git

Re: Make Development More Accessible

2019-08-07 Thread John Gooding
o-developers/aiyE__qSHBY/discussion https://groups.google.com/d/msg/django-developers/5CVsR9FSqmg/qKD3QCrLCAAJ On Tuesday, August 6, 2019 at 11:24:45 PM UTC-7, John Gooding wrote: > > I'd like to propose moving Django issues to github and make a real > decision on it here in this thread.

Make Development More Accessible

2019-08-06 Thread John Gooding
any of the discussions on this forum into github's issue tracker. I don't see any reason why it wouldn't be wroth the effort, and we only have much to gain as a community from it. But that's just my 2 cents. I'd love to hear what others think, for or against it. John -

CommandTemplate Behavior Is Inconsistent

2019-07-05 Thread John Gooding
To be clear, I am not saying there is a bug. It does what it is programmed to do. I am saying the expected behavior of the API / CLI / whatever you want to call it is inconsistent. I am not going to get into an argument of what a "proper" django structure is, etc. I want to focus purely on the

Re: Django Async DEP

2019-06-07 Thread John Obelenus
I wonder about the end-result payoff of this approach. In general, Django/Python code is not going to be I/O bound, which is where asynchronous approaches are going to get the bang for your buck. Even when it comes to DB access—the DB is a lot faster than the python and django code running agai

Re: 2020 Authentication Initiativ

2019-04-11 Thread John D'Ambrosio
Email and password is pretty well supported out of the box using the configuration options provided on the AbstractUser (USERNAME_FIELD). Slightly more complex cases like username and email both being valid login parameters require very thin wrappers. The greater discussion is about technologi

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

2019-04-03 Thread John D'Ambrosio
I believe this change is merited and I would be happy to help if others are interested in working this. I have actually monkey-patched it a few times now for two reasons: a) I want more data fields on the group itself, or b) I want to implement nested groups MPTT's docs suggest one approach wh

Re: Potential suspension of Channels development

2019-01-22 Thread John Obelenus
Chiming in. As a long-time django user (nearly a decade), websockets is an area that the project on the whole is very, very, far behind the leading edge of the web industry. It's great, often desirable, to not be *on* the leading edge, but in my opinion, the project is too far behind it. There

Re: Django Channels doesn’t conform to Django middleware specifications

2018-08-28 Thread John Obelenus
AM UTC-4, John Obelenus wrote: > > Can I ask a dumb question? Why did you only discover this with adding > Whitenoise, and not the default/common middleware stack that comes in > django? Asking that question in another way: What is specific to whitenoise > that this constant loadin

Re: Django Channels doesn’t conform to Django middleware specifications

2018-08-28 Thread John Obelenus
Can I ask a dumb question? Why did you only discover this with adding Whitenoise, and not the default/common middleware stack that comes in django? Asking that question in another way: What is specific to whitenoise that this constant loading of middleware causes such a perf hit? This question

Re: maximum number of connection using django-channels

2018-03-20 Thread John Carrell
Can I please ask a clarifying question? You examples above ("if you had 1 clients...") spoke to clients sending the messages. I have a use case where the clients are never (at the moment) sending messages but rather listening for messages from the server. When the server has something to sa

Re: DEP pre-proposal for a simpler URLs syntax.

2017-08-04 Thread John Griebel
im's PR is pretty complete. Thanks, John Griebel | Senior Backend Engineer | 3Blades.io | 814-227-4213 -- 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 recei

Re: DEP pre-proposal for a simpler URLs syntax.

2017-08-01 Thread John Griebel
precated immediately? 7.) view_tests - I see Sjoerd already made some small changes here and wanted to confirm that the rest of the URL conf was not left unconverted intentionally before converting them myself. Feedback on 6 and 7, in particular, would be great. Thanks, John Griebel | Senior Bac

Re: DEP pre-proposal for a simpler URLs syntax.

2017-07-29 Thread John Griebel
ironment set up. On Jul 29, 2017 4:49 AM, "Emil Stenström" wrote: John: Awesome! Do you need anything to get started or is Sjoerd's review comments and todolist enough? On Friday, 28 July 2017 15:03:12 UTC+2, John Griebel wrote: > Hi Sjoerd, > I too would love to see this

Re: DEP pre-proposal for a simpler URLs syntax.

2017-07-28 Thread John Griebel
Hi Sjoerd, I too would love to see this feature in Django 2.0; in fact, I've been following its progress quite closely. I would love to help out with it and have the necessary time to do so. John Griebel | Senior Backend Engineer | 3Blades.io | 814-227-4213 On Thu, Jul 27, 2017 at 5:

Re: Allow extra blank rows for adding new records when using list_editable in admin change list view.

2017-06-09 Thread John-Paul Jorissen
I would love to see this change implemented as well. I have a few models that would benefit from having a quick entryline at the bottom of the list_display. Personally, I think that the first possibility, where only the items that are in the 'list_editable' tuple would be editable in the blan

Re: NumericListfilter or similar

2016-04-19 Thread John Griebel
I agree that we need a replacement; the current behaviour isn't all that useful, IMHO. My vote would for choice #2, after all it seems more natural (to me, at least), to think of numbers as a range, especially while searching. Option 1 seems less intuitive for a situation like this. +1 from me, es

Proposal: change to the way list_editable form data is submitted in the admin

2016-03-20 Thread John C
tive, it would solve a rather frustrating problem. Thanks, John Cronan -- 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

Re: Proposal: change to the way list_editable form data is submitted in the admin

2016-03-19 Thread John C
dated by the user, compared to the values originally displayed, and do all these changes independently of one another. From this point of view, it is actually an optimization, to skip the update when there is no change. -John On Wednesday, March 16, 2016 at 8:21:40 PM UTC-5, Josh Smeaton wrote:

context = context.new(context)

2016-02-18 Thread John Bazik
which is what I think they're after. What do you think they should be doing? John -- 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 fro

Re: PostGres 9.5 Upsert

2016-02-01 Thread john . parton
It should be possible to use a "RETURNING" clause to get the new row even in the instance of a get_or_create. I occasionally use an UPDATE ... RETURNING query with Manager.raw to update a table and get modified instances in one shot. On Tuesday, January 12, 2016 at 12:54:03 PM UTC-6, bliy...@re

Re: deadlock risk from using cache a load time

2016-01-25 Thread John Bazik
tuple): if not apps.ready: apps.populate(settings.INSTALLED_APPS) model = apps.get_model(*model_id) Can that test instead be "if not apps.models_ready"? That would prevent the nested call and fix my problem. John -- You received this message because you are su

Re: deadlock risk from using cache a load time

2016-01-13 Thread John Bazik
django-cms developers. John -- 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...@googleg

deadlock risk from using cache a load time

2016-01-13 Thread John Bazik
7;m using are doing reasonable things. I posted the details to django-users, but the only response I've gotten is a suggestion to ask you folks: https://groups.google.com/forum/#!topic/django-users/WiRzQ8EFOdo John -- You received this message because you are subscribed to the Google G

FYI: pip install django is failing

2015-12-25 Thread john . furr
>pip install django --upgrade Collecting django Could not find a version that satisfies the requirement django (from versions: ) No matching distribution found for django This seems to only be an issue with django as all other packages in requirements file are installing fine this morning Looki

Fwd: Static typing for python methods

2015-10-11 Thread John Michael Lafayette
Python now has static type checking. All you do is follow function parameters with ": paramType" and add "-> returnType" before the colon at the end of the function declaration and auto-complete will work on the return value in IntelliJ. Can you add the function parameter types and return types

Static type checking for public API

2015-10-11 Thread John Michael Lafayette
Python now has static type checking. All you do is follow function parameters with ": paramType" and add "-> returnType" before the colon at the end of the function declaration and auto-complete will work on the return value in IntelliJ. Can you add the function parameter types and return type

Re: moving the class-based View base class out of django.views.generic?

2015-09-22 Thread John Paulett
Definitely seems like a good idea to me. Even as a frequent CBV user, it always takes me a few seconds to remember to import from generic. John Paulett On Tue, Sep 22, 2015 at 10:41 AM, Tim Graham wrote: > Class-based view users, does this proposal from > https://code.djangoproject.com/

Re: Request for help: building a docker/vagrant platform for running Django's test suite

2015-04-21 Thread John Giannelos
Hey all, I would also be interested to contribute to this effort. Is there a ticket/github issue to track it? Best, John On Sun, Apr 19, 2015 at 11:18 AM, Kevin Glavin wrote: > Hi Tim, > > I have been using Docker, Vagrant, and Jenkins for a while now > independently. Would love

Re: Pre-DEP: community support of unmaintained versions of Django

2015-04-01 Thread John Paulett
ven't already). Personally, I want to ensure we stay true to the core team's wishes. So as we proceed, please reach out if there is anything we could be doing better, particularly clarification that this is an unofficial community effort and encouraging the transition to the official rele

Re: Pre-DEP: community support of unmaintained versions of Django

2015-03-27 Thread John Paulett
shing unofficial distributable under Django's PyPI project is advisable. John On Fri, Mar 27, 2015 at 10:06 AM, Tim Graham wrote: > Instructions for requesting to be added to the security prenotification > list are here: > https://docs.djangoproject.com/en/dev/internals/s

Django cross reference: www.xrefs.info

2014-02-24 Thread John Smith
hello, I added Django in www.xrefs.info to provide cross reference search for Django development. http://www.xrefs.info is made for open source community in the hope of making open source developers more productive. The site hosts many open source code projects' cross references based on OpenGro

ForeignKey in Inline generates lots of queries

2014-02-20 Thread john . parton
y Django? Is that expected behavior? Is there a way to force Django to use the cache for subsequent inlines? I'm also experiencing a similar problem with a ManyToMany field. (But it seems to generate even more queries that the ForeignKey) Any help on this issue would be most appreciated

Re: #18659 -- Deprecating request.REQUEST

2013-10-16 Thread John Paulett
or request.GET". If request.REQUEST ends up being removed, I would not be upset, but I did want to state that I use it. John On Wed, Oct 16, 2013 at 8:04 AM, Marc Tamlyn wrote: > +1 to deprecating this. In the rare cases where it is useful (mainly > 'next' for redirects) i

Re: Regarding 3D model in Django

2013-07-09 Thread John
again in django-users. I've not seen any so far. John [1] This is unlikely to ever happen. Please don't ask for schedule updates. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and sto

Splicing Geometry by bounding box

2013-03-04 Thread John Baker
Hey I am currently working on a geolocation based game that utilizes a geodjango application to manage querying, parsing, and server geographical data to our client. We are currently using PostGIS to store our OSM data. We are using the OSM tilename system throughout our project and some of our

Re: call_command; add *.pyc and *.pyo files to commands list

2012-02-29 Thread John Paulett
xcept for management commands. https://code.djangoproject.com/ticket/14952 https://code.djangoproject.com/ticket/12206 John On Wed, Feb 29, 2012 at 3:38 PM, KACAH wrote: > Hi, django developers, > > I think it would be useful to add *.pyc and *.pyo files into commands > list (not onl

Re: End-user defined fields, how would you approach it?

2012-01-30 Thread John Hensley
On Jan 30, 2012, at 6:22 AM, Etienne Robillard wrote: > John, even with your reply your putting politics on the topic. Yes, apparently I did prolong this, even by replying off list. I won't again. Apologies, everyone. -- You received this message because you are subscribed to th

Re: Attach a technincal html response to email on server error

2011-11-13 Thread John Paulett
Sounds similar to what django-sentry already provides: http://blog.disqus.com/post/1178923988/django-sentry (we may want to move this discussion to django-users) On Sun, Nov 13, 2011 at 7:51 AM, Ric wrote: > oh fantastic... but i read about security issue... > > and what about create a model, sa

filter_horizontal back button issue under webkit

2011-09-09 Thread John
Hi All, This is in regards to ticket #13614 (Back button breaks many to many widget). I'm hoping that bringing this up might bring some attention to it. This is a rather nasty bug affecting the filter horizontal widget's use with webkit browsers. It causes data loss and incorrect data to be sav

Re: Default project layout / directory structure

2011-03-13 Thread John Debs
I like the idea too, since I've run into a lot of situations where some more convention here would make a decision much easier to make. However, it isn't clear what exactly should be better defined and I think the first step to a serious proposal would be to figure that out. The only example that

Re: Dropping support for old Python versions in Django 1.4

2011-02-04 Thread John Anderson
On Feb 4, 2011, at 12:23 PM, Łukasz Rekucki wrote: > With Django 1.3 almost out, I would like to ask, what's the current > deprecation plan of old Python versions (namely 2.4 and 2.5). The > major argument against dropping 2.4 was RHEL support. RHEL6 seems to > support Python 2.6 (dunno about Cen

Django POST Broken

2010-11-10 Thread john
Hello, I'm working on a Django project. I'm running on cloudservers hosting, with nginx/uwsgi as the server. I'm trying to get an image upload form working with POST, but I'm running into some problems. Basically, it comes down to this: if I comment out this line: uwsgi_param CONTENT_TYPE

Re: A setting that skips tests for thirdparty applications

2010-07-02 Thread John-Scott Atlakson
rested in seeing these results every time buildbot ran the full test suite. So we just wrote a test runner that skipped any app in installed apps that started with 'django.'. As long as you're willing to trust that Django and the third party apps only release code that passes th

Re: HttpResponse objects with iterators broken by various middleware (#6027, #6527, #7518, #10627, etc)

2010-06-27 Thread John
Sounds good to me I'll try to get a wiki page up with the content you described by next weekend so that we can get this discussion going. On Jun 21, 5:15 pm, Russell Keith-Magee wrote: > On Mon, Jun 21, 2010 at 10:41 PM, John Williams wrote: > > There is a known issue with

HttpResponse objects with iterators broken by various middleware (#6027, #6527, #7518, #10627, etc)

2010-06-21 Thread John Williams
There is a known issue with using various middlewares that check content-length consuming the content of iterators. There are many tickets up regarding the various incarnations of this behavior all of which appear to be stuck at about the same problem: what is the right way to fix this. I think

Re: Looking for Django vs. Joomla comparison

2010-06-15 Thread John
On Jun 14, 10:59 am, Hooshyar wrote: > Hello all, > > I am new to this group, although I am 4 years old with Django. I have > a question. If this is not the right place, I apologize in advance. > Please refer me to a proper mailing list. Please reply here or you can > e-mail me directly, if you wi

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

2009-12-30 Thread John Debs
On Dec 30, 7:06 am, Russell Keith-Magee wrote: > Secondly, IMHO raw truncation based on characters is bad practice for > human readable text. A sentence is composed of words, not characters. > Truncating a sentence mid-word isn't a typographical practice that I > particularly want to encourage.

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

2009-12-29 Thread John Debs
truncatewords. It's especially unclear to new developers that they should accomplish this with slice (and an if statement checking the length of the string) - and it's not very DRY. The convenience of having slice is undermined by the fact that many aren't clever enough to use it this

Inline Formsets Again

2009-10-28 Thread John Debs
ut after seeing this thread I'm going to take a shot at implementing FormSetField (or something like it) myself. If anyone has any code - or more arguments for or against that haven't been covered - I'd love to hear them before diving in. John Debs --~--~-~--~~~--

Re: 1.2 Proposal: Extra template tags and filters

2009-08-14 Thread John
On Aug 11, 7:50 am, Richard Davies wrote: > Hi all, > > With 1.1 out of the door (great!), here's a thought for 1.2... > > I often end up writing the same couple of template tags and filters. I > think some of these are general enough and useful enough that they > should be considered for basic D

Re: 1.1rc1 - KeyError in debug.py in technical_404_response

2009-07-27 Thread John P. Speno
On Jul 27, 9:08 am, Russell Keith-Magee wrote: > That's certainly one possible solution. However, I suspect a better > solution would be to find the place that is raising an 404 exception > that isn't populating the 'tried' attribute. Can you help out by > telling us the conditions that lead to y

1.1rc1 - KeyError in debug.py in technical_404_response

2009-07-27 Thread John P. Speno
Hi, Running Django 1.1rc1 via wsgi. Here's the stdout including the request that raised the exception: 125.65.165.139 - - [26/Jul/2009 23:02:46] "GET http://pv.wantsfly.com/prx.php?hash=65B15474B46964654834EDB41F4020883D0D9A08F7F9 HTTP/1.0" 500 59 Traceback (most recent call last): File "/usr/

Re: Additional Function to Admin

2009-06-19 Thread John D Giotta
I found the Actions feature soon after my posting, I was a little hesitant to update to a beta version though. The feature works well and with the filter search I can at least narrow down what could possibly be a very large list. Thanks --~--~-~--~~~---~--~~ You re

Additional Function to Admin

2009-06-19 Thread John D Giotta
My first django application is a very basic tool for modifying data. I have no need to a public interface since its all administration stuff. The application will allow the user to create/edit/save data into a database. One feature I'd like to add is the ability to "publish". What publish will do

Re: login_required

2008-11-10 Thread John-Scott Atlakson
x27; behavior doesn't seem to jive with the code and previous documentation. I understand the worries about backwards compatibility, but the behavior and documentation seems to be inconsistent in its current state. It's not my call whether to make the documentation consistent with the cod

What `User.is_active` really means

2008-10-07 Thread John-Scott Atlakson
g users. Clearly, I'm missing why this is a 'good thing'. But since Malcolm usually knows what he's talking about, I'll assume I'm the one missing something here. Clue-stick me, please and thank you. Cheers, John-Scott [1] http://code.djangoproject.com/changeset/9176

Re: Nested Inlines in admin!!

2008-09-19 Thread John
Thanks Karen! On Sep 19, 10:24 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Sep 19, 2008 at 9:42 AM, John <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I was wondering if nested inlines' will be supported in the admin in > > any p

Nested Inlines in admin!!

2008-09-19 Thread John
Hi, I was wondering if nested inlines' will be supported in the admin in any post 1.0 release. I remember seeing it mentioned in the road map for the 1.0 release but I guess it was dropped due to time issues. Thanks! --~--~-~--~~~---~--~~ You received this messag

Re: Proposal: app objects

2008-09-16 Thread John D'Agostino
I started working on a patch 6 months ago to implement App objects, but unfortunately never got to finish it because at the time I was swamped at work. Because of the all the work which has happened on trunk the code is pretty much useless. > The following can be addressed with app objects. > > 1

Re: DjangoCon meetup Friday Sept 5

2008-08-28 Thread John-Scott Atlakson
On Mon, Aug 25, 2008 at 8:38 PM, Jonathan Nelson <[EMAIL PROTECTED]>wrote: > > I tried to contact the TWID gusy through their website, but I haven't > heard back from them. Anyone know if they're still planning a get > together? Kevin Fricovsky (one of the co-founders of django-nyc) helps out w

Re: Django-updates should be working again.

2008-07-07 Thread John-Scott Atlakson
As one of the original whiners about this issue, I salute you! And a shout out to Karen for being persistent. I give up too easily sometimes ;) John-Scott On Mon, Jul 7, 2008 at 6:19 PM, Jacob Kaplan-Moss < [EMAIL PROTECTED]> wrote: > > Hi folks -- > > OK, I finally figured

Re: Newforms Admin - Overriding the Save Method of a ModelForm

2008-07-02 Thread John Boxall
Thanks Brian, Reposted: http://groups.google.com/group/django-users/t/2ccf2bb1dc06058e On Jul 2, 8:47 am, Brian Rosner <[EMAIL PROTECTED]> wrote: > On Jul 2, 2008, at 9:08 AM, John Boxall wrote: > > > > > But in NFA - it seems the save method isn't called! >

Re: Newforms Admin - Overriding the Save Method of a ModelForm

2008-07-02 Thread John Boxall
to return > > super(YourModelForm, self).save(commit) > > in it. > > On Jul 2, 9:10 am, John Boxall <[EMAIL PROTECTED]> wrote: > > > Hi everyone! > > > I'm just trying out newforms admin - it's fantastic. I can't wait > > until this make

Newforms Admin - Overriding the Save Method of a ModelForm

2008-07-02 Thread John Boxall
method of a model form in NFA? Cheers, John --~--~-~--~~~---~--~~ 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 unsubscri

Re: Django releases

2008-06-07 Thread John D'Agostino
> * Start a "train release" schedule: schedule a couple of 1.0 betas, a > rc or two, and then a final release. Features that are done by the > dates get released, those that aren't, don't. Make these dates > aggressive but not crazy. And -- here's the controversial part -- make > newforms-admin a

Re: Rethinking silent failures in templates

2008-05-14 Thread John Lenton
;s a problem > at all. > > Thus I'm hugely +1 on this no-silent-failures bit, whether optional or > not. I'm very much on the +1 to no silent failures ever side, but one thing that makes it work in ZPT is the |nothing thingie, that allows you to explicitly ask for silence when need

Re: SVN Milestones

2008-04-23 Thread John Szakmeister
g and patch writing. INSTALLED_APPS is Adrian's baby and I don't > know what his current thinking is there; maybe he can offer some > guidance about whether help is needed. Thanks for the guidance. It looks like there might be a couple of other things to poke around at, so perhap

Re: SVN Milestones

2008-04-23 Thread john
roject closer to release. And in this particular case, I want to help Django get to 1.0. And yes, I know trunk is pretty darn stable... but the thing I'm after is no more painful API changes. :-) -John --~--~-~--~~~---~--~~ You received this message because y

Re: Maybe DEBUG=True should only record the last N SQL queries?

2008-04-21 Thread John-Scott Atlakson
oproject.com/documentation/faq/#how-can-i-see-the-raw-sql-queries-django-is-running Cheers, John-Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send emai

Re: Resetting ticket system password?

2008-03-06 Thread John DeRosa
Jeremy Dunck wrote: > DId this ever get fixed for you? :-/ > Yep, Jacob helped me out. John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send

Resetting ticket system password?

2008-02-01 Thread John DeRosa
idea. :-) ) My problem is, I've forgotten my username and password. How can I find out what they are? John http://seeknuance.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" gr

Re: Unicode usernames?

2008-01-31 Thread John Hensley
Add to that list: http://en.wikipedia.org/wiki/Internationalized_domain_name#ASCII_Spoofing_and_squatting_concerns It's not too hard to imagine other sorts of mischief that lookalike characters could cause. Thanks for the feedback, guys. On Jan 29, 2008, at 9:09 AM, Ivan Illarionov wrote: >

Unicode usernames?

2008-01-28 Thread John Hensley
Usernames in django.contrib.auth are restricted to ASCII alphanumerics. Allowing Unicode seems fairly simple: compile the validator's regular expression with the re.UNICODE flag. To a Midwesterner with hardly any language competency beyond English, it seems like an obvious improvement -- su

Re: S3 file storage

2008-01-16 Thread John-Scott Atlakson
the part > I don't have the time or energy for at the moment. Coding the backend > itself should be very straightforward. After all, that's the whole > point of #5361! > > -Gul > Thanks for your work, I'll try to take a look at it thi

Re: Undocumented admin feature for filtering rows?

2007-12-26 Thread John-Scott Atlakson
first_name, etc.). However, fields without values still get added to the GET request (e.g. /?user__first_name='John-Scott'&hometown='') so the problem with this is that the Django ORM then tries to filter results where the User object's first_name is 'John-Scott&

Re: Debugging Django

2007-11-09 Thread John M. Anderson
> You cannot debug a single Django file in isolation. Instead, insert this > line: > >import pdb; pdb.set_trace() > > in sql.py, at the point you're interested in. Then run Django normally, > and > go to a db-based URL: you'll get a debugger prompt. > ok, thanks. I was just trying to debug wit

Debugging Django

2007-11-09 Thread John M. Anderson
I'm trying to debug sql.py the steps I've taken so far: python /usr/lib/python2.5/pdb.py manage.py sql polls (python manage.py polls works just fine) (Pdb) b django/core/management/sql.py:271 (Pdb) c Traceback (most recent call last): File "/usr/lib/python2.5/pdb.py", line 1213, in main p

Re: Autenticate Django via JA-SIG CAS

2007-09-26 Thread John
Hi Jose, I know of one preexisting CAS authentication backend which is available on Google Code [1]. For some background on that project you might also check out the author's blog posts [2] [3]. /John/ [1] http://code.google.com/p/django-cas/ [2] http://blog.case.edu/bmb12/20

Re: svn:ignore for new management package

2007-08-23 Thread John Shaffer
On 8/23/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > Thanks. I've added a few missing svn:ignore properties, including the > ones you mentioned, in [5993]. Thank you. There's one other directory that should be changed - tests/regressiontests/test_client_regress has an svn:ignore of "__ini

Re: Amazon S3 Integration

2007-08-10 Thread John-Scott
On Aug 8, 8:12 pm, "Jay Parlar" <[EMAIL PROTECTED]> wrote: > On 8/8/07, John-Scott <[EMAIL PROTECTED]> wrote: > > > > > > > Hello all, > > > I'm trying to integrate S3 support into my Django app using > >http://code.djangopro

Amazon S3 Integration

2007-08-08 Thread John-Scott
or to S3, plus additional options specific to S3 storage (bucket and key values, etc.). Obviousy this would involve tinkering with Django's models code directly so I want to solicit feedback from the Python/Django pros before I go down this path.

Re: forms and designers

2007-07-08 Thread John Shaffer
We use this in Satchmo: Discounts Discount code {{ form.discount }} {% if form.discount.errors %}*** {{ form.discount.errors|join:", " }}{% endif %} Does that give you enough control? --~--~-~--~~~---~--~~ You received this message be

Re: Error message: The Python markdown library isn't installed. - Help needed please.

2007-06-21 Thread john-f
Thanks for the quick response and help! I'll be sure to post in the right group moving forward. Regards, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To pos

Error message: The Python markdown library isn't installed. - Help needed please.

2007-06-21 Thread john-f
ngo_0.95/trunk/django/ -I HAVE included 'django.contrib.markup' in INSTALLED_APPS in the settings file. -I HAVE set PYTHONPATH="/home/python/django_0.95/trunk:/var/devel" in my fastcgi startup script for that site. I'd be very appreciative for any help. Thanks! John --~--~-

Re: Proposal: Let session support backends

2007-06-10 Thread John D'Agostino
I started implementing this a few months ago. I've factored out SessionWrapper as SessionObject, as a base class and (re)implemented the database session store on top. I've also got a working implementation of a FileSession class. Summary of changes: Added a SESSION_ENGINE to settings.py Added

Re: Newforms media (#4418)

2007-06-02 Thread John D'Agostino
On Jun 2, 12:02 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > Hi All, > > I recently raised ticket #4418 to add media descriptors to newforms. > It was discussed on the following thread: > > http://groups.google.com/group/django-developers/browse_thread/thread... > > To my reading, Jaco

Re: newforms issues

2007-05-21 Thread John Shaffer
On 5/21/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > #3896 - pass value to field specific clean function [2] > > Grr...don't put two issues in one ticket! > > I'm -1 on the first part because it's an unnecessary backwards > incompatibility change for the most part. It's not like it's a ma

Re: Resize images on demand

2007-05-16 Thread John Sutherland
mented, but it was handy when we found it. Cheers, John. [1] <http://mercurytide.com/> -- john sutherland <http://sneeu.com/> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers"

Re: Changeset [5231] -- do_clean_*() is awkward naming

2007-05-14 Thread John Shaffer
On 5/14/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > That was exactly why I didn't change clean_data (my initial "fix" was > just to name it cleaned_data). It's already used in lots of code, so the > impact of change it is larger. Changing the undocumented feature is less > disruptive. Unne

RESTful API

2007-04-24 Thread John Sutherland
Evening, I've put the RESTful API code that I mentioned in ticket 2553[1]. A few people have requested the code and so it's now in a Google code project: <http://code.google.com/p/django-crudapi/> Ideas? Suggestions? Requests? Cheers, John. [1] <http://code.djangoproj

Re: Automatically applying migrations to a Django application's schema

2007-04-22 Thread John Calixto
w I would use this with my team. I presume, if developer A had already applied the first couple migrations to their testdb, they'd do something like: migration_list = [ # 'migration1', # 'migration2', 'migration3', 'migration4'

  1   2   >