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

2010-07-27 Thread Carl Meyer
On Jul 26, 10:02 am, Tobias McNulty wrote: > If such reusable code needs to cache things forever, which sounds perfectly > reasonable to me, I'd still rather not co-opt "0" to mean "forever" in all > cases.  Each backend that supports caching with no timeout could easily > offer a class attribut

Ticket #14007: Automatically discover models within a package without using the app_label Meta attribute

2010-07-27 Thread Mark Sandstrom
Hi, I've added a ticket with a patch for automatically discovering models within a package without using the app_label Meta attribute. An old and somewhat related ticket is: http://code.djangoproject.com/ticket/2289/. This addition is relatively small code-wise, but it does add a new feature to t

[gsoc2010/app-loading] update

2010-07-27 Thread Arthur Koziel
Hey there, sorry for not posting an update in such a long time. The hardest part of the refactoring so far was keeping backwards compatibility. So while the internals of the appcache changed, the functionality remained the same. Ayway, the interesting stuff is still coming up. So there aren't a

Re: firebird backend for django

2010-07-27 Thread David Elias
Hi, I've opened a ticket for months ago - http://code.djangoproject.com/ticket/13159. Only needs a test case. David Elias On Jul 23, 10:30 pm, maxi wrote: > Hi, > > I'm working on django-firebird project and doing some modifications > for work with django 1.2 > Right now, I'm trying to pass

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

2010-07-27 Thread SmileyChris
On Jul 27, 9:22 pm, Carl Meyer wrote: > The common thread, of course, is making it possible to write reusable > caching code without special-casing particular backends. I agree with Carl. We have an abstracted api - having a property with different meanings for different backends makes things a l

How to post data to the admin form by urllib2 ?

2010-07-27 Thread jerry
Hi: I build a website and want to login the admin form by python code. I have disabled the CSRF in my project and use urllib2 to post data. here are my codes: import urllib import urll

Re: How to post data to the admin form by urllib2 ?

2010-07-27 Thread Chuck Harmston
Please do not cross-post to django-developers and django-users. http://groups.google.com/group/django-users/browse_thread/thread/6fb15b60f1e551c0# This group is for discussion about development *of* Django itself, not development *using* Django. On Tue, Jul 27, 2010 at 9:05 PM, jerry wrote: >

Re: How to post data to the admin form by urllib2 ?

2010-07-27 Thread Rory Hart
On Wed, Jul 28, 2010 at 11:05 AM, jerry wrote: > Hi: > I build a website and want to login the admin form by python code. I > have disabled the CSRF in my project and use urllib2 to post data. > here are my codes: > > -