Re: slow function

2011-12-05 Thread Håkon Erichsen
passes_test, why not just use @login_required? - Check out render: https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#render Best regards, Håkon Erichsen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

Re: slow function

2011-12-05 Thread Håkon Erichsen
way).The currently best method is probably the one with a _models directory, or defining the app_label. but this might be fixed soon, the tickets have som recent activity :) Best regards, Håkon Erichsen -- You received this message because you are subscribed to the Google Groups "

Re: slow function

2011-12-06 Thread Håkon Erichsen
as permanent as a hack that works ;) will do - thanks to all for taking the trouble of reading the code and > making suggestions. It was just some thoughts after a quick scan, not really any trouble. Actually, I should be sorry for the unsolicited advice, I'm glad you took it the right way