Re: Methods on related Managers

2006-03-24 Thread Russell Keith-Magee
On 3/24/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: I'm really asking about something more abstract, though -- is there(should there be) the ability to define manager methods availableonly in a related context?+1 to this idea. The managers used by object descriptors already have this problem,

Re: magic-removal: plans/estimates for the trunk-merge?

2006-03-24 Thread ChaosKCW
This is a common thread :-) and one I am interested in, but you can search the forumn for the results. Bascially it will be done when its done it seems :-) S --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

MR: Bug with Class Meta verbose name

2006-03-24 Thread ChaosKCW
Hi I think I have found a bug in the MR branch with verbose name. According the (out of date) documentation verbose_name_plural will use verbose_name + 's'. However when I just set verbose_name, Admin still shows the wrong name. If I set the verbose_name_plural, it works. Example: Class TelDir

Re: magic-removal: plans/estimates for the trunk-merge?

2006-03-24 Thread Gábor Farkas
ChaosKCW wrote: > This is a common thread :-) and one I am interested in, but you can > search the forumn for the results. Bascially it will be done when its > done it seems :-) > i'm following the forums, and i knew that probably the answer would be when-its-done :-( just wanted to make sure,

Re: Client-side hashing of passwords before logging in

2006-03-24 Thread Julio Nobrega
I like these kind of solutions. Helps when you don't have SSL. Yahoo does something similar... On 3/24/06, SmileyChris <[EMAIL PROTECTED]> wrote: > > Oh what the heck, here's the patch: > http://code.djangoproject.com/ticket/1534. > > I'd still like to hear some comments. :) > -- Julio Nobreg

Re: Methods on related Managers

2006-03-24 Thread Luke Plant
Jacob Kaplan-Moss wrote: > I can buy that... but it doesn't just return useless data, it returns > a potentially HUGE dataset -- every single EventTime in the system! > -- which an unwary template author might stumble across and bring the > site to its knees. Surely a template author couldn't do

Re: magic-removal: plans/estimates for the trunk-merge?

2006-03-24 Thread ChaosKCW
Hi I am very interested in starting aproject at my company in Django, but am not keen on starting one of 0.91. So I am hoping the MR will be merged soon too :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan

Re: magic-removal: plans/estimates for the trunk-merge?

2006-03-24 Thread gabor
ChaosKCW wrote: > Hi > > I am very interested in starting aproject at my company in Django, but > am not keen on starting one of 0.91. So I am hoping the MR will be > merged soon too :-) > > actually, i'm in a similar situation. we have already developed something, which is for now quite simp

dojo implementation

2006-03-24 Thread David S .
I have been using Dojo with Django and plan to do quite a bit more in the next little while. I am wondering if it is still planned to release some Dojo integration soon and if there is any idea what that will look like. I have not found any hint of if in the magic-removal branch. Some insight w

Re: dojo implementation

2006-03-24 Thread David S .
David S. <[EMAIL PROTECTED]> writes: > [snip] I am wondering if it is still planned to release some Dojo > integration soon and if there is any idea what that will look like. I have > not > found any hint of if in the magic-removal branch. Terribly sorry. I meant to post to django.user. Bu

Re: dojo implementation

2006-03-24 Thread James Bennett
On 3/24/06, David S. <[EMAIL PROTECTED]> wrote: > I am wondering if it is still planned to release some Dojo integration soon > and if there is any idea what that will look like. I've been working on the Dojo/Django integration, and I'm pretty close to having something that works and that I can

Re: dojo implementation

2006-03-24 Thread David S .
James Bennett <[EMAIL PROTECTED]> writes: > Thoughts? Arguments? Tell me I'm on crack? Sounds thorough. Are there plans for templates to support this, ala Rails helpers? It would be nice to use the events system to full effect so perhaps that sort of helper/template tag idea would not work ver

Re: additional Admin option for fieldsets

2006-03-24 Thread Luke Plant
On Thursday 23 March 2006 21:48, Wilson Miner wrote: > Too crufty to wrap it in a div class="description" so I can set it > off somehow in the styles? I'm not quite sure what you mean - I had already wrapped it in and added some padding - were you saying that was crufty? I've committed my chan

Re: dojo implementation

2006-03-24 Thread James Bennett
On 3/24/06, David S. <[EMAIL PROTECTED]> wrote: > Sounds thorough. Are there plans for templates to support this, ala Rails > helpers? It would be nice to use the events system to full effect so perhaps > that sort of helper/template tag idea would not work very well. I'm not planning to implem

Re: magic-removal: plans/estimates for the trunk-merge?

2006-03-24 Thread Ian Holsman
Have you guys tried the MR branch yet? for me, it seems quite stable since the pycon sprint. There is nothing saying you need to wait until somone 'blesses' it for you to use it. I've been using it on my open source forum app (http://zyons.com) which is doing some tricky things and I haven't run

Re: Client-side hashing of passwords before logging in

2006-03-24 Thread SmileyChris
Meh. It's a "wontfix". --~--~-~--~~~---~--~~ 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

Proposal: add context_processors args to admin views

2006-03-24 Thread Joseph Kocherhans
I'd like to add a context_processor argument to the five admin views: add_stage, change_stage, delete_stage, history, and change_list This may seem pretty useless to most people, but I think the admin system would be a lot more useful if you could override default options like you can in the gene

Broken Filters in Template Conditional

2006-03-24 Thread bradford
when i try the following: {% ifequal bar foo.id|stringformat:"d" %} I get an error saying that: VariableDoesNotExist at /foobars/ Failed lookup for key [id|stringformat:"d"] in foo it's as if it strips anything that's before the '.' please correct me if this is not a bug. --~--~-~--~

results_per_page does not work properly

2006-03-24 Thread bradford
I have added a few extra_lookup_kwargs to my generic object_list and when in {{ results_per_page }} in my template it always displays what I paginate_by. I'm using 0.91. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: Broken Filters in Template Conditional

2006-03-24 Thread limodou
On 3/25/06, bradford <[EMAIL PROTECTED]> wrote: > > when i try the following: > > {% ifequal bar foo.id|stringformat:"d" %} > > I get an error saying that: > VariableDoesNotExist at /foobars/ > Failed lookup for key [id|stringformat:"d"] in foo > > it's as if it strips anything that's before the '

Re: results_per_page does not work properly

2006-03-24 Thread limodou
On 3/25/06, bradford <[EMAIL PROTECTED]> wrote: > > I have added a few extra_lookup_kwargs to my generic object_list and > when in {{ results_per_page }} in my template it always displays what I > paginate_by. I'm using 0.91. > what do you want. I'v checked the source code about object_list, and

Re: results_per_page does not work properly

2006-03-24 Thread bradford
i want the number of objects returned for that particular page. i guess what i want is results_on_page. when i go to page 2 (of my results), which only has 1 object listed it says that results_per_page is 2, i would like it to say 1. what would be even better is if there was a displaying_result

Re: results_per_page does not work properly

2006-03-24 Thread limodou
On 3/25/06, bradford <[EMAIL PROTECTED]> wrote: > > i want the number of objects returned for that particular page. i > guess what i want is results_on_page. when i go to page 2 (of my > results), which only has 1 object listed it says that results_per_page > is 2, i would like it to say 1. wha

Re: results_per_page does not work properly

2006-03-24 Thread bradford
thanks. that seemed to do the trick. it would be nice to see the displaying_results_from/displaying_result_to feature implemented. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: results_per_page does not work properly

2006-03-24 Thread limodou
On 3/25/06, bradford <[EMAIL PROTECTED]> wrote: > > thanks. that seemed to do the trick. > > it would be nice to see the > displaying_results_from/displaying_result_to feature implemented. > I think you can write your own pagination process. I create one for me according to the core/paginator.py