Re: django.contrib.views.login errors

2010-08-25 Thread Sergej dergatsjev eecho
I think, much less such emails will appear if this group will be renamed. **contributors* for example...* * * 2010/8/25 Karen Tracey > Please ask questions about using Django on django-users, not here. The > topic of this list is discussion of the development of Django itself. > Thanks, > Karen

Re: Memory usage depends on number of fields in model, in a strange way

2010-07-31 Thread Sergej dergatsjev eecho
Why are you testing? Have you seen memory leak somewhere? I ask it because. I had problems with memory leaks in configuration (Mysql, Apache, mod_python) but it was bad configuration of Mysql server and Apache. If you send information about your test environment. We can better reproduce you pro

Re: Security Review

2010-07-26 Thread Sergej dergatsjev eecho
2010/7/26 Craig Younkins : >> "As far I can determine, only badly-written user code could result in >> SQL injection." > > And with that statement you define the world of application security. Nearly > all the exploits and vulnerabilities we see are not because the security > controls don't exist -

Re: filtering aggregation without filtering objects

2010-07-21 Thread Sergej dergatsjev eecho
I like screwing these counters to model try something like that. class RegistrationProfile(models.Model): """ A simple profile which stores an activation key for use during user account registration. Generally, you will not want to interact directly with instances of this mode

Re: memcached-based-cache - timeout=0 does not work as intended by memcached

2010-07-16 Thread Sergej dergatsjev eecho
+1 2010/7/16 Tobias McNulty : > +1 > > Sent from my mobile device. > > On Jul 16, 2010 6:54 AM, "Carsten Reimer" > wrote: > > Hello, > > I am not quite sure if this is the right mailinglist but as long as my > remarks are about a core-component of django I hopefully chose the right > list. > > De

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

Re: Suggestion of exception Http301 add as new feature

2010-06-28 Thread Sergej dergatsjev eecho
-1 2010/6/28 kernel1983 : > There is exception Http404 in the system. > > During django programming, we often need to do some data valid: > > def A(request): >    valid() >    return render_to_response(...) > > def B(request): >    valid() >    return render_to_response(...) > ... > > def valid():

Re: An idea for a serialization framework

2010-06-23 Thread Sergej dergatsjev eecho
2010/6/23 Andy Kelley : > I posted this in django-users but someone said I should post it in > django developers, so here we are. > > I am coming up with a framework that helps serialization of models. My > idea is for each field to have a view permissions level: PUBLIC, > OWNER, or ADMIN. I want t

Re: 1.3: Start deprecating mod_python?

2010-06-22 Thread Sergej dergatsjev eecho
+ 1 2010/6/22 Robert Coup : > Hey folks, > > While people are throwing around 1.3 ideas... I think we should start > the process of deprecating and removing support for mod_python. Why? > >  * mod_wsgi is better in every way. >  * mod_python hasn't had a release since 2007, or a commit since 2008;

Re: [GSOC] Query Refactor Update

2010-06-22 Thread Sergej dergatsjev eecho
+ 1 emulation 2010/6/22 Alex Gaynor : > Hey all, > > This past week was mostly spent getting lookup's working (and > negation), that's gone fairly well.  Well enough, in fact, that I > spent most of today getting some low hanging fruit working: namely > ordering, slicing, and values.  In slicing w

Re: FK Autocomplete Widget [GSoC '09 Admin UI Improvements]

2010-06-02 Thread Sergej dergatsjev eecho
Current Admin Extensions ForeignKeyAutocompleteAdmin - ForeignKeyAutocompleteAdmin will enable the admin app to show ForeignKey fields with an search input field. The search field is rendered by the ForeignKeySearchInput form widget and uses jQuery to do configureable autocompletion. http://code.