Re: "view" permission in the administration as well as add/change/delete

2010-01-03 Thread Natim
On 4 jan, 13:27, Natim wrote: > On 4 jan, 12:57, Russell Keith-Magee wrote: > > > On Mon, Jan 4, 2010 at 12:05 PM, Natim wrote: > > > > The real question is:  Is it possible to implements the view > > > permission in Django admin? > > > Why isn't it implemented yet since it seems to be useful fo

Re: "view" permission in the administration as well as add/change/delete

2010-01-03 Thread Natim
On 4 jan, 12:57, Russell Keith-Magee wrote: > On Mon, Jan 4, 2010 at 12:05 PM, Natim wrote: > > > The real question is:  Is it possible to implements the view > > permission in Django admin? > > Why isn't it implemented yet since it seems to be useful for numbers > > of users and that there is no

Re: "view" permission in the administration as well as add/change/delete

2010-01-03 Thread Russell Keith-Magee
On Mon, Jan 4, 2010 at 12:05 PM, Natim wrote: > > The real question is:  Is it possible to implements the view > permission in Django admin? > Why isn't it implemented yet since it seems to be useful for numbers > of users and that there is no direct security issues with that? I don't want to see

Re: Oracle backend TextField unique=True error

2010-01-03 Thread Mario Briggs
thanks Peter for the use-case writeup. Not having to overrun the max length seems to make the choice for text for most folks. I had a look at the indexing capabilities of a some db's on text. I couldnt find Postgres documenting limits but according to this its 2713 - http://joseph.randomnetworks.c

Re: "view" permission in the administration as well as add/change/delete

2010-01-03 Thread Natim
On 4 jan, 11:23, Russell Keith-Magee wrote: > On Mon, Jan 4, 2010 at 11:20 AM, Natim wrote: > > Hello everyone, > > > We are working on a project where some people (which are member of the > > staff) need to see one of the administration page (And be able to use > > the search, sort, .. process

Re: Thanks for all the hard work

2010-01-03 Thread Natim
Hello, I just see this message and I also want to express my gratitude. Django surprise me every day when I use it. I love it and I rather love to program using it. Thank you very much to every one who helps to improve this beautiful peace of software. Happy new year, Rémy -- You received thi

Re: "view" permission in the administration as well as add/change/delete

2010-01-03 Thread Russell Keith-Magee
On Mon, Jan 4, 2010 at 11:20 AM, Natim wrote: > Hello everyone, > > We are working on a project where some people (which are member of the > staff) need to see one of the administration page (And be able to use > the search, sort, .. process) without having any right to the data but > be able to r

"view" permission in the administration as well as add/change/delete

2010-01-03 Thread Natim
Hello everyone, We are working on a project where some people (which are member of the staff) need to see one of the administration page (And be able to use the search, sort, .. process) without having any right to the data but be able to read them, sort, and search. It is the first time that I n

Re: Finalizing model-validation: ComplexValidator

2010-01-03 Thread Alex Gaynor
On Sun, Jan 3, 2010 at 7:50 PM, Joseph Kocherhans wrote: > On Sun, Jan 3, 2010 at 7:34 PM, Alex Gaynor wrote: >> >> What if we had some sort of wrapper class for objs, it could overide >> __getattribute__ to return either an attr if it's an obj, or a >> subscript if it's a datadict.  it seems to

Re: Finalizing model-validation: ComplexValidator

2010-01-03 Thread Joseph Kocherhans
On Sun, Jan 3, 2010 at 7:34 PM, Alex Gaynor wrote: > > What if we had some sort of wrapper class for objs, it could overide > __getattribute__ to return either an attr if it's an obj, or a > subscript if it's a datadict.  it seems to me this would solve both > concerns? I was thinking along simil

Re: Finalizing model-validation: ComplexValidator

2010-01-03 Thread Alex Gaynor
On Sun, Jan 3, 2010 at 7:31 PM, Honza Král wrote: > Hi everybody, > > > On Fri, Jan 1, 2010 at 10:30 PM, Joseph Kocherhans > wrote: > >> The ComplexValidator doesn't know in advance if it's going to be used >> for model validation or form validation. ComplexValidator's get_value >> method is mea

Re: Finalizing model-validation: ComplexValidator

2010-01-03 Thread Honza Král
Hi everybody, On Fri, Jan 1, 2010 at 10:30 PM, Joseph Kocherhans wrote: > The ComplexValidator doesn't know in advance if it's going to be used > for model validation or form validation. ComplexValidator's get_value > method is meant to help with this situation, but it needs to take > *both* th

Re: Finalizing model-validation: ComplexValidator

2010-01-03 Thread Joseph Kocherhans
On Sat, Jan 2, 2010 at 4:34 PM, Sean Bleier wrote: > > As for the timeline, I think that if complex validators are left as-is > then of course it isn't a deal breaker for inclusion to trunk before > the major feature freeze on January 5th.  However, If complex > validators need to be reworked a li

Re: idea for using RequestContext by default

2010-01-03 Thread Yuri Baburov
Hi Simon, Readability is all about lots of tiny details. I suppose you meant this: def my_view(request, param): return render('my/template.html', {'data': 'some_data'}, request) This decorator intercepts `request` argument. When you have 2 or more ways to return anything from function, it lo