Re: prepopulated_fields javascript error since r14123

2010-10-29 Thread Simon Meers
On 30 October 2010 07:50, Andrew Godwin wrote: > > It's working fine for me on my freshly-updated 1.2.X branch - did you make > sure the caches were clear, etc, etc? > Yes, and I'd experienced it on several different servers/projects/client-machines. Yet I've just tested it on a new project al

Re: prepopulated_fields javascript error since r14123

2010-10-29 Thread Andrew Godwin
On 27/10/10 12:15, Simon Meers wrote: > On 27 October 2010 19:40, Andrew Godwin > wrote: > > On 27/10/10 07:01, Simon Meers wrote: > > Has anyone else found that using prepopulated_fields in > admin.ModelAdmin since r14123 produces a javascript error

Re: contrib.staticfiles app concerns

2010-10-29 Thread Jacob Kaplan-Moss
On Fri, Oct 29, 2010 at 11:26 AM, Waldemar Kornewald wrote: > (see attachment which "implements" method (2) :). OK. For the record, I really don't want to be a dick here, but I think what follows comes across that way. I'm quite sorry for not being able to communicate myself in a less jerk-y way

Re: contrib.staticfiles app concerns

2010-10-29 Thread Waldemar Kornewald
Hi Carl, On Fri, Oct 29, 2010 at 7:41 PM, Carl Meyer wrote: > Hi Waldemar, > > On Oct 29, 3:05 am, Waldemar Kornewald wrote: >> Just to clarify: We are in fact talking about two questions here: >> 1. Do we need a standard for URL handling? >> >> This is the most important question and my answer

Re: Gentle Proposal: add 'render' shortcut in 1.3

2010-10-29 Thread Carl Meyer
On Oct 29, 2:04 pm, Ivan Sagalaev wrote: > Aha, I see the point now. On a second thought I think we can avoid this > problem altogether by not passing actual response object into > middleware. Instead we could pass just those bits that a middleware > should care about: a template name and a contex

Re: Gentle Proposal: add 'render' shortcut in 1.3

2010-10-29 Thread Ivan Sagalaev
On 10/29/2010 09:58 AM, Russell Keith-Magee wrote: I agree that it's important to treat people as grown ups. However, this is something that is trivial to do by accident -- for example, printing response.content would be an obvious debug step -- and it will be a non-trivial thing to identify that

Re: contrib.staticfiles app concerns

2010-10-29 Thread Carl Meyer
Hi Waldemar, On Oct 29, 3:05 am, Waldemar Kornewald wrote: > Just to clarify: We are in fact talking about two questions here: > 1. Do we need a standard for URL handling? > > This is the most important question and my answer is "yes" (I'll > explain this in the rest of this mail). I don't think

Re: contrib.staticfiles app concerns

2010-10-29 Thread Waldemar Kornewald
Hi Jacob, On Fri, Oct 29, 2010 at 4:58 PM, Jacob Kaplan-Moss wrote: > Hi Waldemar -- > > Like a few in this thread, I'm really having trouble understanding > exactly what you're proposing. I think the best thing, then, would be > if you could write some code to do whatever it is you'd like. > > J

Re: contrib.staticfiles app concerns

2010-10-29 Thread Jacob Kaplan-Moss
Hi Waldemar -- Like a few in this thread, I'm really having trouble understanding exactly what you're proposing. I think the best thing, then, would be if you could write some code to do whatever it is you'd like. Just a proof-of-concept is totally fine -- I don't mean to ask you to invest a lot

Re: contrib.staticfiles app concerns

2010-10-29 Thread Harro
I agree, if you want to compress/combine css javascript whatever it's up to the app/tool that does this to fix relative paths and other issues that arrise when compressing/combining files. It has nothing to do with the serving of the files. On Oct 29, 12:04 pm, "burc...@gmail.com" wrote: > Hi Wal

Re: Non-SQL database cache backend

2010-10-29 Thread Russell Keith-Magee
On Fri, Oct 29, 2010 at 9:18 PM, Jonas H. wrote: > Hi folks, > > upon the recommendation on the django-nonrel mailing list, I'll re-post my > original question here: > > -- Begin original message -- > I just tried to use MongoDB as cache backend (only for development ;-) but > it failed because ap

Non-SQL database cache backend

2010-10-29 Thread Jonas H.
Hi folks, upon the recommendation on the django-nonrel mailing list, I'll re-post my original question here: -- Begin original message -- I just tried to use MongoDB as cache backend (only for development ;-) but it failed because apparently the Django guys do hand-written SQL in the databas

Re: Papal module configuration in SATCHMO module

2010-10-29 Thread Gary Bernard
Have you setup a paypal test site? This is required. Satchmo pretty much needs nothing to work with Paypal. Just set it up and activate. But the Paypal account is required and a sandbox account, to test, also needs to be created. Have you done that? Gary Bernard Bernard Design 232 E 33rd Pl

Re: contrib.staticfiles app concerns

2010-10-29 Thread burc...@gmail.com
Hi Waldemar, > A standard for a problem related to Django: How can we have reusable > apps that come with media files? How is that possible if everyone uses > a different asset manager? Ok, this is a problem related to Django, but it shouldn't be solved with scope of Django because nothing in Djan

Re: contrib.staticfiles app concerns

2010-10-29 Thread Waldemar Kornewald
Hi Yuri, On Fri, Oct 29, 2010 at 12:04 PM, burc...@gmail.com wrote: > Hi Waldemar, > > On Fri, Oct 29, 2010 at 4:19 PM, Waldemar Kornewald > wrote: >> Hi Yuri, >> >> On Fri, Oct 29, 2010 at 10:37 AM, burc...@gmail.com >> wrote: >>> Hi Waldemar, >>> >>> On Fri, Oct 29, 2010 at 2:05 PM, Waldemar

Re: New localflavor: Turkey

2010-10-29 Thread Serkan Kenar
Hello Ekrem, Thanks for the review. On Fri, Oct 29, 2010 at 2:39 PM, Ekrem SEREN wrote: > 3) Does the postal code field accurately capture all possible Turkish >> postal codes? >> > > I believe it does. I don't know any condition about postal codes other than > they should be 5 digits. > As I

Re: Start project not working

2010-10-29 Thread David P. Novakovic
Hello, this mailing list is to discuss the development of django itself. Please use django-users for questions like yours :) David On Fri, Oct 29, 2010 at 4:03 PM, aravind wrote: > I installed python2.5 and django official > > version and also copied admin.py in > > scripts but when i use djang

Start project not working

2010-10-29 Thread aravind
I installed python2.5 and django official version and also copied admin.py in scripts but when i use django admin-py startproject myproject is not working it s showing the following message Usage: django-admin.py subcommand [options] [args] Options: -v VERBOSITY, --verbosity=VERBOSITY

Re: New localflavor: Turkey

2010-10-29 Thread Ekrem SEREN
2010/10/29 Russell Keith-Magee > python runtests.py --settings=test_sqlite forms > This test run without error. 1) Is the list of provinces complete and correct? > The list is complete and correct. > 2) Is the use of integers the best key for this list? i.e., is there > a better natural ke

Re: New localflavor: Turkey

2010-10-29 Thread Serkan Kenar
Hello Russel, He has already contacted me in private for tests. I wanted to add my comments here as well for the issues you raised so that Ekrem and others in the Turkish community can also read them. On Fri, Oct 29, 2010 at 4:58 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > 1)

Re: More efficient negative lookups

2010-10-29 Thread andybak
One small related point. The admin could benefit from a way of doing negative lookups within the lookup syntax itself. Currently there is no way to construct an exclude filter change list views in the URL. i.e. If I am writing a custom filterspec or anything else that results in a URL for a chan

Re: contrib.staticfiles app concerns

2010-10-29 Thread burc...@gmail.com
Hi Waldemar, On Fri, Oct 29, 2010 at 4:19 PM, Waldemar Kornewald wrote: > Hi Yuri, > > On Fri, Oct 29, 2010 at 10:37 AM, burc...@gmail.com wrote: >> Hi Waldemar, >> >> On Fri, Oct 29, 2010 at 2:05 PM, Waldemar Kornewald >> wrote: >>> Hi Carl, >>> As I read it, your option 4 means putting U

Re: Gentle Proposal: add 'render' shortcut in 1.3

2010-10-29 Thread Mikhail Korobov
On 29 окт, 10:09, Russell Keith-Magee wrote: > > Ah - I wasn't aware there was a working implementation of this idea -- > did I miss a link somewhere? > No, there is no full working implementation. I'm talking about Ivan's code snippet: response = get_response(...) if hastattr(response

Re: Ticket #7817: Extending "with" and "include" tags.

2010-10-29 Thread Harro
I would suggest also adding a way to exclude all context except items specified with the with syntax. (nocontext keyword or something like that). Because sometimes I have certainly named items in my context which can also be used in the included template but I don't want there. Sure you can overwr

Re: contrib.staticfiles app concerns

2010-10-29 Thread Waldemar Kornewald
Hi Yuri, On Fri, Oct 29, 2010 at 10:37 AM, burc...@gmail.com wrote: > Hi Waldemar, > > On Fri, Oct 29, 2010 at 2:05 PM, Waldemar Kornewald > wrote: >> Hi Carl, >> >>> As I read it, your option 4 means putting URLs into CSS files that >>> will not resolve correctly if static files are served dire

Re: contrib.staticfiles app concerns

2010-10-29 Thread burc...@gmail.com
Hi Waldemar, On Fri, Oct 29, 2010 at 2:05 PM, Waldemar Kornewald wrote: > Hi Carl, > >> As I read it, your option 4 means putting URLs into CSS files that >> will not resolve correctly if static files are served directly, >> unmodified, from their source locations (after being collected from >> a

Re: RFC: issue 13617

2010-10-29 Thread Russell Keith-Magee
On Tue, Oct 26, 2010 at 8:00 AM, Benjamin Wohlwend wrote: > Hi, > > Russell, thanks for having a look at this. Much appreciated! > > On Mon, Oct 25, 2010 at 4:04 PM, Russell Keith-Magee > wrote: >> Responding so that >> >> "localize off" is a much better approach to localize >> >>  1) I think the

Re: contrib.staticfiles app concerns

2010-10-29 Thread Waldemar Kornewald
Hi Carl, On Fri, Oct 29, 2010 at 5:18 AM, Carl Meyer wrote: > Hi Waldemar, > > Thanks for putting so much thought into this issue, and outlining > these options in detail. However, I am not convinced that this > something Django core should be concerned with. I think we need to > maintain a clear