Re: 'retrieve': the missing permission?

2007-06-19 Thread Gábor Farkas
David Larlet wrote: > 2007/6/18, David Larlet <[EMAIL PROTECTED]>: >> Hi, >> >> I've just tried to use the permission_required decorator for my views >> and I realise that there is a missing 'retrieve' permission. It's a >> bit odd because others ones follow the CRUD permissions. >> >> Am I missin

Re: 'retrieve': the missing permission?

2007-06-19 Thread David Larlet
2007/6/18, David Larlet <[EMAIL PROTECTED]>: > Hi, > > I've just tried to use the permission_required decorator for my views > and I realise that there is a missing 'retrieve' permission. It's a > bit odd because others ones follow the CRUD permissions. > > Am I missing something here? > > The pat

Re: linebreaksli template filter

2007-06-19 Thread SmileyChris
On Jun 20, 5:03 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > My code is below. It wouldn't take too much to > convert it to a Django template filter. What does everyone think? Interesting filter. Personally, I'm not sure this is useful enough for core. --~--~-~--~~

linebreaksli template filter

2007-06-19 Thread [EMAIL PROTECTED]
I don't want to attempt to pollute Django's beautiful template library namespace with garbage, but I do see a legitimate value for a linebreaksli template filter. It does just what it says - converts a string with linebreaks into a set of list items. Sometimes, a tag just doesn't do the same th

Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-06-19 Thread Joseph Kocherhans
On 6/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, I've been trying this out as the new inline functionality in > newforms-admin branch but I've found one problem: raw_id_admin fields > aren't rendered correctly in inline fields. They are still rendered as > select widgets. > > Is th

Re: Admin Date/Time Fields in localtime

2007-06-19 Thread Gary Wilson
Craig wrote: > I have noticed that when using the admin site (which is really nice, > by the way), the date and time fields have a nice js widget to fill in > the current date and time, but it uses localtime, not UTC time. Our > database we store all time fields in UTC, and having the web page us

Re: Edit inline in newforms-admin branch (ATTN: Joseph Kocherans)

2007-06-19 Thread [EMAIL PROTECTED]
On Jun 15, 1:58 pm, "Joseph Kocherhans" <[EMAIL PROTECTED]> wrote: > On 6/9/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > > > > On 6/8/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > > I'm most of the way there. Basically just template stuff and a little > > > bit of ModelAdmin code is

Re: lazy-geometries/planning

2007-06-19 Thread Justin Bronn
> For instance, the lazy geometries patch in 4322 is way off > track now we have support for ogr geometries. The lazy geometries patch in 4322 is only a month old, and ten days ago I incorporated portions of your patch in r5448. Not exactly what I would consider "way off track" -- at least from

Re: Message Passing for Anonymous Users

2007-06-19 Thread Marty Alchin
On 6/19/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > Keep in mind how get_and_delete_messages() currently works; it > retrieves the messages and removes them so they won't show up on > subsequent page views. There would need to be some mechanism to > achieve this, so it would have to be something

Re: Any news about MS SQL Server support

2007-06-19 Thread Malcolm Tredinnick
On Tue, 2007-06-19 at 17:35 -0300, Bruno Tikami wrote: > Hi Django folks! > > Does anyone have any news about Django supports to MS SQL Server? I've > already read the hole old bunch of topics and dicussions about this > matter, jsut want to know if there is come news. Nobody appears to be worki

Re: Message Passing for Anonymous Users

2007-06-19 Thread SmileyChris
On Jun 20, 5:27 am, "Amit Upadhyay" <[EMAIL PROTECTED]> wrote: > On 6/19/07, James Bennett <[EMAIL PROTECTED]> wrote: > > I'd be +1 on just switching the whole thing (messages for all users, > > authenticated or not) to using sessions, in which case > > django.contrib.auth.models.Message should be

Re: Message Passing for Anonymous Users

2007-06-19 Thread SmileyChris
On Jun 20, 3:58 am, "Joseph Heck" <[EMAIL PROTECTED]> wrote: > Out of curiousity, what's the reason to try and keep them separate > instead of just layering it over the session mechanism? Mainly due to the limitation of context processors that they can't see or change the current context. The co

Re: contrib.thumbnails approval?

2007-06-19 Thread SmileyChris
On Jun 20, 1:50 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > But coming back to discussion again :D, what does happen if I remove > an image, it does not remove the thumbnail, am I right? Is there any > plan to work on this? Not really... Perhaps there should be a cleanup method you can

KIPS (Keep It Personal, Stupid!) [was: Re: International standard for date and time]

2007-06-19 Thread Nicola Larosa
> Jonas wrote: >> I remember to you that we are to interacting with computers, not with >> persons. James Bennett wrote: > The problem is that we're not really "interacting with computers". > We're using computers as proxies to help us interact with *people*, > and they should be first in our tho

Re: Message Passing for Anonymous Users

2007-06-19 Thread Marty Alchin
On 6/19/07, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > Why is request.session["_messages"] not enough? It can be a list of string > messages. Keep in mind how get_and_delete_messages() currently works; it retrieves the messages and removes them so they won't show up on subsequent page views. Ther

Re: International standard for date and time

2007-06-19 Thread James Bennett
On 6/19/07, Jonas <[EMAIL PROTECTED]> wrote: > It's true that we are around circles, and I understand that you wann't > make that little change. It's more comfortable to have the framework > configured to your localization that: And it's already quite easy to do so, just by changing a couple sett

Re: International standard for date and time

2007-06-19 Thread Tom Tobin
On 6/19/07, Jonas <[EMAIL PROTECTED]> wrote: > > On 18 jun, 23:17, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > I'm going to give this one more pass and then dropout. We're just going > > around in circles now. > It's true that we are around circles, and I understand that you wann't > make tha

Any news about MS SQL Server support

2007-06-19 Thread Bruno Tikami
Hi Django folks! Does anyone have any news about Django supports to MS SQL Server? I've already read the hole old bunch of topics and dicussions about this matter, jsut want to know if there is come news. Best regards my friends! Tkm --~--~-~--~~~---~--~~ You rec

Re: Fix for #4565 caused this code to break, not sure how to fix my code.

2007-06-19 Thread Brian Harring
On Tue, Jun 19, 2007 at 01:12:40PM -0600, Norman Harman wrote: > > This change > > r5482 | mtredinnick | 2007-06-17 00:11:37 -0700 (Sun, 17 Jun 2007) | 4 lines > > Fixed #4565 -- Changed template rendering to use iterators, rather than > creating large strings, as much as possible. This is all b

Re: International standard for date and time

2007-06-19 Thread Jonas
On 18 jun, 23:17, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > I'm going to give this one more pass and then dropout. We're just going > around in circles now. It's true that we are around circles, and I understand that you wann't make that little change. It's more comfortable to have the frame

Re: multidb and trunk

2007-06-19 Thread dimas
Thanks. Awaiting news from Ben... WBR, Dmitry On 17 июн, 02:27, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2007-06-16 at 20:15 +, dimas wrote: > > Hello all, > > > Is it hard to portmultidbfeatures against trunk? > > > Or any info on how ready is it to get merged? > > Perhaps yo

Fix for #4565 caused this code to break, not sure how to fix my code.

2007-06-19 Thread Norman Harman
This change r5482 | mtredinnick | 2007-06-17 00:11:37 -0700 (Sun, 17 Jun 2007) | 4 lines Fixed #4565 -- Changed template rendering to use iterators, rather than creating large strings, as much as possible. This is all backwards compatible. Thanks, Brian Harring. Specifically the isinstance che

Re: Message Passing for Anonymous Users

2007-06-19 Thread Amit Upadhyay
On 6/19/07, James Bennett <[EMAIL PROTECTED]> wrote: > > I'd be +1 on just switching the whole thing (messages for all users, > authenticated or not) to using sessions, in which case > django.contrib.auth.models.Message should be deprecated and replaced > by django.contrib.sessions.models.Message.

Admin Date/Time Fields in localtime

2007-06-19 Thread Craig
I have noticed that when using the admin site (which is really nice, by the way), the date and time fields have a nice js widget to fill in the current date and time, but it uses localtime, not UTC time. Our database we store all time fields in UTC, and having the web page use localtime is a prob

Re: Message Passing for Anonymous Users

2007-06-19 Thread James Bennett
On 6/19/07, Joseph Heck <[EMAIL PROTECTED]> wrote: > Out of curiousity, what's the reason to try and keep them separate > instead of just layering it over the session mechanism? I'd be +1 on just switching the whole thing (messages for all users, authenticated or not) to using sessions, in which

Re: Message Passing for Anonymous Users

2007-06-19 Thread Joseph Heck
Out of curiousity, what's the reason to try and keep them separate instead of just layering it over the session mechanism? -joe On 6/18/07, SmileyChris <[EMAIL PROTECTED]> wrote: > > It's not difficult for someone to implement this themselves, but it > does seem useful enough (imo) for core. > >

Re: textile mysql unicode and newforms

2007-06-19 Thread Matt Davies
Hi Waylan I tried it the uicode branch on my local machine and it didn't make any difference. I'm still keeping it on my local box though. So, I tweaked the code a bit, so it looks like this at the top of the save overide now, not at the bottom and it's working as expected. if self.summary:

Re: contrib.thumbnails approval?

2007-06-19 Thread Michel Thadeu Sabchuk
Very thanks guy! > I was thinking that perhaps this could alternately go in an `images` > contrib package in case there are other related image functions (the > captcha image generator discussed in the users group for example) I agree with you! But coming back to discussion again :D, what does

Re: textile mysql unicode and newforms

2007-06-19 Thread Waylan Limberg
I suspect the Unicode branch [1] addresses the issues you are having. A few weeks back there was a call for testers as it is now feature complete. I'd suggest giving that a try. [1]: http://code.djangoproject.com/wiki/UnicodeBranch On 6/19/07, vanderkerkoff <[EMAIL PROTECTED]> wrote: > > Hello

Re: Volunteering for "Week in Review" postings

2007-06-19 Thread Jeremy Dunck
On 6/18/07, Clint Ecker <[EMAIL PROTECTED]> wrote: > > Everyone: > > *** I sent this to Adrian this afternoon and I just ... > Technica), I think it would be most prudent to publish these before > noon on Mondays when there are likely to be the most eyeballs. Does > this sound reasonable? It so

Re: textile mysql unicode and newforms

2007-06-19 Thread Matt Davies
Here's the add_event in my views which uses the newforms and calls the save. http://pastie.textmate.org/71706 It will probably help :-) On 19/06/07, vanderkerkoff <[EMAIL PROTECTED]> wrote: > > Hello everyone > > I'm running django from the trunk, so using the most up to date > version, python

textile mysql unicode and newforms

2007-06-19 Thread vanderkerkoff
Hello everyone I'm running django from the trunk, so using the most up to date version, python 2.5 with PyTextile 2.0.10. mysql5.0.2 with all settings to utf-8 and django content type is utf-8 I'm overwriting the save command on events using newforms, we're textiling the input for an html field,