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

2010-06-29 Thread Łukasz Rekucki
Hi, I was wondering if I could get some feedback on this ticket. It was recently briefly discussed here: http://groups.google.com/group/django-developers/browse_thread/thread/fb8a4a0eb4e1d35e. It has a patch with tests and probably not-so-good docs, but still needs a decision. I'll gladly reviews

Re: contrib.admin:list_editable - ForeignKey Performance is O(m*n)?

2010-06-29 Thread Jeremy Dunck
On Wed, Jun 30, 2010 at 2:04 AM, chadc wrote: ... > 3. Overriding the ForeignKey widget with a custom CachedSelect widget. > ... > > PS: For the sake of posterity, I have included the code for my > CachedSelect widget. Yes, I am aware that using regular expressions to > parse the key is a nasty ha

Re: Proposal: modular django configuration

2010-06-29 Thread dffdgsdfgsdfhjhtre
I think this is how it should go when settings are loaded: 1. goes through all installed apps, and tried to load settings.py. 2. then it loads the django defaults. This way, if an app settings file tries to override DATABASES or something, it will get reverted to the django defaults 3. then it loa

Re: Feedback for #13849 (csrf referer checking)

2010-06-29 Thread Paul McLanahan
On Tue, Jun 29, 2010 at 11:40 AM, TiNo wrote: > This is supposedly potentially insecure, see: > http://samsclass.info/defcon.html (bottom of the page) > or http://vimeo.com/7618090 from 2:45' > Just my 2 cents, > Tino Thanks for the reply. I realize that this attack is an outside possibility. Wer

contrib.admin:list_editable - ForeignKey Performance is O(m*n)?

2010-06-29 Thread chadc
Hi there, I have been experiencing poor performance with django-admin when list_editable includes ForeignKey fields. In particular, rendering the changelist requires O(m*n) database queries where m is the number of ForeignKey fields included in list_editable and n is the number of rows in the chan

Re: Feedback for #13849 (csrf referer checking)

2010-06-29 Thread TiNo
Hi, On Tue, Jun 29, 2010 at 16:54, Paul McLanahan wrote: > We'd like to be able to display a form on an insecure page, but have > the form post occur over an SSL protected connection. > This is supposedly potentially insecure, see: http://samsclass.info/defcon.html (bottom of the page) or http

Feedback for #13849 (csrf referer checking)

2010-06-29 Thread Paul McLanahan
Hi, We ran into an issue with the django.middleware.csrf.CsrfViewMiddleware handling of secure posts. We'd like to be able to display a form on an insecure page, but have the form post occur over an SSL protected connection. This is currently impossible with the CSRF middleware enabled due to stri

Re: starting a new cms project

2010-06-29 Thread Russell Keith-Magee
On Tue, Jun 29, 2010 at 6:20 PM, samie wrote: > sir i am a beginner in python and django.. > > i want develop a content management system using django.. > > plz help me wht shld i do from where shld i start.. > > i am learning python from google videos and develop a application > which is availabl

starting a new cms project

2010-06-29 Thread samie
sir i am a beginner in python and django.. i want develop a content management system using django.. plz help me wht shld i do from where shld i start.. i am learning python from google videos and develop a application which is available on django home website.. -- You received this message be

struct_time

2010-06-29 Thread Alper Çuğun
Would it be very hard for the template filters that currently accept datetime instances to also accept struct_time tuples as here: http://docs.python.org/library/time.html#time.struct_time ? It would be exceedingly nice if these would Just Work whatever well known time structure you throw in the

Re: django.contrib.admin.ModelAdmin.formfield_for_manytomanyfield

2010-06-29 Thread Gregor Müllegger
2010/6/28 Massimiliano della Rovere : > I'd modify http://docs.djangoproject.com/en/dev/ref/contrib/admin/ > page by myself but I do not know how to. You can provide documentation patches the same as you would create a source patch: * Download django's current trunk: svn co http://code.djangopro

Re: search_fields (engine) backend call: where is it?

2010-06-29 Thread Sergej dergatsjev eecho
This question is more for django users. But http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-views-to-admin-sites In-Depth django-sphinx Tutorial http://www.davidcramer.net/code/79/in-depth-django-sphinx-tutorial.html Customizing The Django Admin Euro Django Con09 http://www.slid

search_fields (engine) backend call: where is it?

2010-06-29 Thread Massimiliano della Rovere
I do not know if this request is too userish for this mailing list, if so please take my apologises :) I'm trying to modify the default search engine in the django admin interface so that is can search metadata too like values depending on sql COUNT() using google style prefixes in these cases or