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

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, 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 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 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: > > (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
(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 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 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

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