Mapping SSL certificates to django users

2012-04-02 Thread Tomas Kouba
should go to REMOTE_USER - map REMOTE_USER strings to django users Thank you for any help, -- Tomas Kouba -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubs

Re: High memory consumption when going through all records

2010-08-12 Thread Tomas Kouba
blem. when DEBUG = True Django ORM records every SQL query > made in a request - or in case of script whole lifetime of a script which can > grow quite huge. > > http://docs.djangoproject.com/en/1.2/faq/models/#why-is-django-leaking-memory > Thank you very much. Shame on me fo

High memory consumption when going through all records

2010-08-12 Thread Tomas Kouba
with guppy and I see that the number of str and unicode objects get really high. I don't understand why python garbage collector does not free them. I see this with development server, debug on and mysql as a DB backend. Thank you for any help, -- Tomas Kouba -- You received this message becaus

Re: Aggregation of related tables

2010-06-08 Thread Tomas Kouba
On 06/07/2010 05:46 PM, Ɓukasz Rekucki wrote: > On Jun 6, 10:12 pm, Tomas Kouba <to...@jikos.cz> wrote: >> Hello all, >> >> I am writing an application that often lists objects and some of their >> attributes in tables. >> I get the list in my view

Aggregation of related tables

2010-06-06 Thread Tomas Kouba
). Is there a way how to this in a more effective way? I can get the data with one sql query but it would involve some "low level" python DB access and I am curious if this is possible in a more "djangoish" way. Thank you, -- Tomas Kouba -- You received this message becaus

Archive type of records in separate table?

2010-02-12 Thread Tomas Kouba
e the same for both types. My question is whether: 1) I should put this in one table, create index and hope for database cleverness. 2) Create Abstract model class, let django make two similar tables and work with two models in my code. 3) Any other neat solution in django. Thank you for any hint,