Re: Pluggable encryption for django auth (design proposal)

2011-02-13 Thread william ratcliff
Excellent summary! If the core developers agree to this, I'm happy to contribute. William On Mon, Feb 14, 2011 at 1:37 AM, poswald wrote: > Here is an overview of issues on this subject opened over the years. > Some have existing code: > >

Re: Pluggable encryption for django auth (design proposal)

2011-02-13 Thread poswald
Here is an overview of issues on this subject opened over the years. Some have existing code: http://code.djangoproject.com/ticket/3316 (Adding `crypt' to list of password hashes for legacy apps. - closed: fixed) http://code.djangoproject.com/ticket/5600 (Patch to enhance cryptography on

Re: question about django.core.context_processors.PermWrapper

2011-02-13 Thread Shailesh Kumar
Thanx Russ, I have filed a ticket accordingly #15299. http://code.djangoproject.com/ticket/15299 With regards, - Shailesh On Sun, Feb 13, 2011 at 7:45 PM, Russell Keith-Magee wrote: > On Sun, Feb 13, 2011 at 8:55 PM, Shailesh Kumar wrote: >>

Re: Getting Slammed Hard on Foreign Keys in the admin due to __unicode__

2011-02-13 Thread Stephen Burrows
Though it's a little hard to tell from your post, this sounds more like it's definitely a case where your code needs improvement. From what I understand, the database hits are coming from your custom AJAX, not from the admin's default behavior. Also, you already know the solution: use

Getting Slammed Hard on Foreign Keys in the admin due to __unicode__

2011-02-13 Thread Matteius
I have a very small test database on my test development virtualbox environment and so while I've been adding in custom AJAX for dynamic ForeignKey filters (in the case of Enrollment's Assignment list) I noticed that because I'm using the Django Debug Toolbar. Well on these pages with only ~28

Re: ValueQuerySet should be serializable into json but isn't

2011-02-13 Thread Russell Keith-Magee
On Mon, Feb 14, 2011 at 9:55 AM, Matteius wrote: > I want to optimize my json call and protect data by doing something > like: > > >        assignments = Assignment.objects.values('id', > 'name').filter(course=enrollment.course) >        payload = serializers.serialize("json",

ValueQuerySet should be serializable into json but isn't

2011-02-13 Thread Matteius
I want to optimize my json call and protect data by doing something like: assignments = Assignment.objects.values('id', 'name').filter(course=enrollment.course) payload = serializers.serialize("json", assignments, ensure_ascii=False) But

Re: SingleObjectMixin.get_context_object_name and i18n

2011-02-13 Thread Łukasz Rekucki
On 13 February 2011 20:42, Jjdelc wrote: > The SingleObjectMixin.get_context_object_name method currently obtains > its value from the object's verbose name (when context_object_name is > None) : > > smart_str(re.sub('[^a-zA-Z0-9]+', '_', > obj._meta.verbose_name.lower())) > >

Re: SingleObjectMixin.get_context_object_name and i18n

2011-02-13 Thread Karen Tracey
I believe this problem is being tracked here: http://code.djangoproject.com/ticket/15272 Karen -- 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

SingleObjectMixin.get_context_object_name and i18n

2011-02-13 Thread Jjdelc
The SingleObjectMixin.get_context_object_name method currently obtains its value from the object's verbose name (when context_object_name is None) : smart_str(re.sub('[^a-zA-Z0-9]+', '_', obj._meta.verbose_name.lower())) When your object's verbose name is using ugettext, the template context

Re: How to install Django in Windows XP(SP2)

2011-02-13 Thread Karen Tracey
Please post questions about using Django on django-users. This list is for discussion of the development of Django itself. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

How to install Django in Windows XP(SP2)

2011-02-13 Thread Subhabrata
Dear Group, I am a very new entrant in Django. I have downloaded the Django. I am using MS-Windows XP(SP-2). I use Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information with IDLE as GUI. I have

Re: question about django.core.context_processors.PermWrapper

2011-02-13 Thread Russell Keith-Magee
On Sun, Feb 13, 2011 at 8:55 PM, Shailesh Kumar wrote: > Hi, > > I am new to this list. > > Looking at the source code I was curious why > django.core.context_processors.PermWrapper is in django.core. > > Is there any specific reason why it isn't moved to >

question about django.core.context_processors.PermWrapper

2011-02-13 Thread Shailesh Kumar
Hi, I am new to this list. Looking at the source code I was curious why django.core.context_processors.PermWrapper is in django.core. Is there any specific reason why it isn't moved to django.contrib.auth.context_processors? With regards, - Shailesh -- You received this message because you