A couple of weeks ago I submitted a patch to use the model API to
delete expired sessions from the database in the daily_cleanup script
(See http://code.djangoproject.com/ticket/4427).
I just had a thought, the code currently deletes all sessions with an
expire_date < today's date... but as I
Sorry about that, I thought because I was considering editing the
code, I might be better off asking you gentlemen, so I asked in both
places...
On the other hand, of course this is for working on django proper -- I
should've thought of that.
Good work on django tho, .;-]
Jared Nuzzolillo
On
On Wed, Jun 13, 2007 at 09:37:35AM +1000, Malcolm Tredinnick wrote:
> On Tue, 2007-06-12 at 06:16 -0700, Brian Harring wrote:
> > Not yet advocating it (mainly since digging it out would be ugly), but
> > if you take a look at the bits above, having the option to disable
> > verification on read
I have a custom manager and if I have a list of objects and call a
get_next_by_FOO method on one of the objects, it retrieves the next
object from the default manager, not the next object in the custom
manager. Is it possible to use a different manager than the default
manager with the
I just wanted some feedback on ticket 4312--or an alternative for
accomplishing the same thing. See comments in ticket for more
information.
Thanks,
Casey
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Greetings. I am about 75% through creating a django application as a
new section of my company's site, www.etsy.com. It's basically a CMS,
something that I know django is especially well suited to (tho I can
tell it would work for nearly any domain).
Recently, my site ops team started asking me
I think we're in agreement that this is a good idea. I've updated the
ticket to "Accepted", but we'll still need docs/tests before it can be
checked in.
Jacob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
After further staring at the code, I realize that there still is some
problem, if session is modified after the cookie is set, django will revert
the cookie to expire when browser closes. The only solution seems to be to
put the expires_time itself in the session so it can get preserved.
How does
Hi,
This is a gentle reminder/ping for
http://code.djangoproject.com/ticket/2548by Tsume. Its status is
design decision needed, but that is only because of
a query by Adrian, about if the requested use case may also want
configurable cookie name. mtredinnick replied to this saying it is not
On Wed, 2007-06-13 at 09:49 -0400, Waylan Limberg wrote:
> On 6/13/07, Tai Lee <[EMAIL PROTECTED]> wrote:
> >
> > i'd like to see a single generic phone number field, and different
> > methods attached to it that format it to the required formats. usa,
> > international, including or excluding
Thanks a lot - I switched to the unicode branch and it works very
nice! I'll report any bugs I encounter.
Noam
On 13/06/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2007-06-12 at 21:16 +, Noam wrote:
> > Hello,
> >
> > First of all, I apologize if I post this in the wrong
On 6/13/07, Tai Lee <[EMAIL PROTECTED]> wrote:
>
> i'd like to see a single generic phone number field, and different
> methods attached to it that format it to the required formats. usa,
> international, including or excluding country code, using spaces or
> dashes, with or without leading
I'm not sure if this could be easily integrated into django's
translation mecanism ... but I'm pretty convinced a feature is
missing :
The thing is that you want to render a sentence like "go to the page
registration form" with a link on "registration form" ... but you dont
want the translated
On Wed, 2007-06-13 at 05:04 -0700, alain D. wrote:
> Hi,
>
> Thanks a lot for the response.
>
> Actually, I "dare" to reply here because I think what follows might
> be a hint for the developers if they agree that the feature I'm
> talking about is worth a look.
>
> Such a translation
Hi,
Thanks a lot for the response.
Actually, I "dare" to reply here because I think what follows might
be a hint for the developers if they agree that the feature I'm
talking about is worth a look.
Such a translation feature is for instance available in Zope/Plone
translation mecanism :
On Wed, 2007-06-13 at 03:28 -0700, alain D. wrote:
> Hi,
>
> After taking a look at the django translation mecanism, I did not
> find a feature (I think) that is mandatory for what I'm trying to do :
> I'd like to have a translatable message that displays (in a page)
> something like :
>
On Wed, 2007-06-13 at 14:42 +0530, Amit Upadhyay wrote:
[...]
>
>
>
> Utility functions like create_or_update() are just that:
> intentional
> combinations of the two and you need to be able to handle both
> types of
> errors, but you know what you are
Hi,
After taking a look at the django translation mecanism, I did not
find a feature (I think) that is mandatory for what I'm trying to do :
I'd like to have a translatable message that displays (in a page)
something like :
"This has been done by the user xxx" ... and of course, the "xxx" is
Refer
http://groups.google.com/group/django-users/browse_thread/thread/3e7658074bedb6d8/4d8d3fdc63455ca7?#4d8d3fdc63455ca7for
context.
On 6/13/07, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
>
> On 6/12/07, Rob Hudson <[EMAIL PROTECTED]> wrote:
> >
> > One thought I had to counter that would be to
On 6/12/07, Rob Hudson <[EMAIL PROTECTED]> wrote:
>
> One thought I had to counter that would be to group small images
> together, then medium sized images, then large images. Depending on
> how many images your website actually uses, this would need to be
> tuned, but maybe it would help
On 6/13/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
> On Wed, 2007-06-13 at 00:11 +0530, Amit Upadhyay wrote:
> > Hi,
> >
> > Wouldn't it be cool if we can say
> > user.save(email="[EMAIL PROTECTED]"), which will do the equivalent
> > of user.email = "[EMAIL PROTECTED]"; user.save()?
Do other people know about this:
http://www.nabble.com/image-bundle-for-django-t3900874.html [I see 4-5
replies to my post on this page]
vs
http://groups.google.com/group/django-users/msg/4d8d3fdc63455ca7 [here,
there is no reply].
--
Amit Upadhyay
Vakow! www.vakow.com
+91-9820-295-512
I use Any sender a fair bit (in a generic version control app), and
I'd not like to see that disappear without considerable performance
penalties if keeping it / considerable performance gains if removing
it.
--~--~-~--~~~---~--~~
You received this message
i'd like to see a single generic phone number field, and different
methods attached to it that format it to the required formats. usa,
international, including or excluding country code, using spaces or
dashes, with or without leading zeroes, etc.
Noam wrote:
> telephone = CharField(u'טלפון', maxlength=30)
>
> However, it causes the admin app to fail with a nasty
> UnicodeDecodeError.
>
as Malcolm wrote already, the unicode-branch will solve this, but for
now, try to use a bytestring in your application's encoding there.
so, for
25 matches
Mail list logo