Re: Finalizing descriptor implementation

2006-03-09 Thread Russell Keith-Magee
On 3/9/06, Luke Plant <[EMAIL PROTECTED]> wrote: > > On Tuesday 07 March 2006 14:49, Russell Keith-Magee wrote: > > > > > 3) What is to become of the _id fields for ForeignKeys? > > Isn't this covered by descriptor caching? One initial DB hit to get > > the related object, and then all subsequent

Re: Finalizing descriptor implementation

2006-03-09 Thread Russell Keith-Magee
On 3/9/06, Max Battcher <[EMAIL PROTECTED]> wrote: > > Speaking of which: right now the Template engine isn't swallowing the > Descriptor's DoesNotExist. I mentioned this and posted a patch: Thanks, Max - I'll add this one to my todo list for this pass at descriptor work. Russ Magee %-) --~--~

Start of week in Admin's calendar

2006-03-09 Thread Ivan Sagalaev
Hello! I was porting javascript calendar from Admin into my application and enhanced it a bit with new boolean pref switching start of week to Monday. To submit this to Django I want to hook this pref somehow to i18n settings but have no idea where it should be and how it's better done in Dja

Re: Character set support for MySQL et al

2006-03-09 Thread Ivan Sagalaev
Geert Vanderkelen wrote: >Since this is probably going to be needed for all DBMS out there, >what about a DATABASE_ENCODING setting which will set the character >set for the connection? > > There is already a ticket with such thing: http://code.djangoproject.com/ticket/952 (even with a pta

Re: Finalizing descriptor implementation

2006-03-09 Thread Luke Plant
Russell Keith-Magee wrote: > On 3/9/06, Luke Plant <[EMAIL PROTECTED]> wrote: > > > > On Tuesday 07 March 2006 14:49, Russell Keith-Magee wrote: > > > > > > > 3) What is to become of the _id fields for ForeignKeys? > > > > Isn't this covered by descriptor caching? One initial DB hit to get > > >

Re: Proposal: Move all auth code to django.contrib.auth

2006-03-09 Thread Ivan Sagalaev
Joseph Kocherhans wrote: >Authentication pieces are currently spread out through a bunch of >different modules. I propose that they all move to >django.contrib.auth. I think this will make it easier to understand >where the essential pieces are. > I'm just 1 day after lurking among all these :-)

strange behaviour in mysql / postgresql session_data

2006-03-09 Thread Simon de Haan
Hello django-developers, I'm running into some very strange behaviour when using MySQL as the DB. This is the first time i'm using MySQL for Django, other projects have been Postgres based. Right after I log into the admin I get a strange error in django.models.core.get_decoded(), for some re

Re: Proposal: edit_inline=meta.EXTERNAL

2006-03-09 Thread Wilson Miner
I added my two cents to the ticket. I'm assuming you were getting my confused with Simon (everybody does). Simon's the brilliant programmer, I just make things look shiny. On 3/7/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > > I'd especially appreciate Simon's feedback on this one as it's mo

Re: Proposal: edit_inline=meta.EXTERNAL

2006-03-09 Thread Jacob Kaplan-Moss
On Mar 9, 2006, at 10:49 AM, Wilson Miner wrote: > I added my two cents to the ticket. I'm assuming you were getting my > confused with Simon (everybody does). Simon's the brilliant > programmer, I just make things look shiny. ... which is good, since most programmers have ADD anyway :) Oooh, sh

Re: Proposal: edit_inline=meta.EXTERNAL

2006-03-09 Thread Joseph Kocherhans
On 3/9/06, Wilson Miner <[EMAIL PROTECTED]> wrote: > > I added my two cents to the ticket. I'm assuming you were getting my > confused with Simon (everybody does). Simon's the brilliant > programmer, I just make things look shiny. Yeah, I heard Willson and must have somehow translated that into W

Template overriding and magic-removal

2006-03-09 Thread pbx
I came across a subtle gotcha with template overriding in magic-removal today. It stems from these two facts: 1. loaders stop at the first match 2. the admin is now just another app in INSTALLED_APPS The resulting gotcha: to override admin templates your app must appear *before* django.contrib.a

Re: Template overriding and magic-removal

2006-03-09 Thread limodou
On 3/10/06, pbx <[EMAIL PROTECTED]> wrote: > > I came across a subtle gotcha with template overriding in magic-removal > today. It stems from these two facts: > > 1. loaders stop at the first match > 2. the admin is now just another app in INSTALLED_APPS > > The resulting gotcha: to override admin

Re: Template overriding and magic-removal

2006-03-09 Thread pbx
> So you can see, there are several ways to customize admin template, > fullly according to your template directory. So if you want to custom > admin template, you can create template directory according to above > code, and set the root directory in TEMPLATE_DIRS , and the order I > think it's no

Re: Template overriding and magic-removal

2006-03-09 Thread pbx
(Sorry, the example path from my project should have been project/templates/admin/base_site.html) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to djang

Re: Template overriding and magic-removal

2006-03-09 Thread limodou
On 3/10/06, pbx <[EMAIL PROTECTED]> wrote: > > (Sorry, the example path from my project should have been > project/templates/admin/base_site.html) > I'm not test yet. I fount that in the source code. And how did you set your template directory? I think it should be set as 'project/templates' acc

Re: Template overriding and magic-removal

2006-03-09 Thread pbx
> I'm not test yet. I fount that in the source code. I recommend testing it before commenting further. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Re: Template overriding and magic-removal

2006-03-09 Thread limodou
On 3/10/06, pbx <[EMAIL PROTECTED]> wrote: > > > I'm not test yet. I fount that in the source code. > > I recommend testing it before commenting further. > As my first post said, maybe I'm wrong. What I'v done just suply some advices including source code. If you don't want to look at that, just

Re: Template overriding and magic-removal

2006-03-09 Thread limodou
On 3/10/06, limodou <[EMAIL PROTECTED]> wrote: > On 3/10/06, pbx <[EMAIL PROTECTED]> wrote: > > > > > I'm not test yet. I fount that in the source code. > > > > I recommend testing it before commenting further. > > > > As my first post said, maybe I'm wrong. What I'v done just suply some > advices

Re: Template overriding and magic-removal

2006-03-09 Thread pbx
> So I just want to say maybe I'm not testing for this before, but I > only want to tell you some clues, and hope these clues can help you, > why not try it yourself and just complain to me? Sorry -- I should have clarified in the first post that this is about default behavior in the absence of a

Re: Template overriding and magic-removal

2006-03-09 Thread limodou
On 3/10/06, pbx <[EMAIL PROTECTED]> wrote: > > > So I just want to say maybe I'm not testing for this before, but I > > only want to tell you some clues, and hope these clues can help you, > > why not try it yourself and just complain to me? > > Sorry -- I should have clarified in the first post th

Forum in Django

2006-03-09 Thread PythonistL
Does exist any forum application developed in Django already? Regards, L. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegrou

Re: Forum in Django

2006-03-09 Thread limodou
On 3/10/06, PythonistL <[EMAIL PROTECTED]> wrote: > > Does exist any forum application developed in Django already? > Ian Holsman is doing this thing. http://feh.holsman.net/articles/2006/02/15/starting-a-new-django-project-need-volunteers -- I like python! My Blog: http://www.donews.net/limodou