Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Where's admin/base.html?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John Munroe  
View profile  
 More options Nov 12 2012, 6:16 pm
From: John Munroe <mun...@gmail.com>
Date: Mon, 12 Nov 2012 15:16:08 -0800 (PST)
Local: Mon, Nov 12 2012 6:16 pm
Subject: Where's admin/base.html?

Hi

I'm looking at the templates in core/templates/admin and in base_site.html,
it extends admin/base.html. I can't seem to find it anywhere. Does anyone
know where it is?

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen McDonald  
View profile  
 More options Nov 12 2012, 6:20 pm
From: Stephen McDonald <st...@jupo.org>
Date: Tue, 13 Nov 2012 10:20:19 +1100
Local: Mon, Nov 12 2012 6:20 pm
Subject: Re: [mezzanine-users] Where's admin/base.html?

Mezzanine doesn't provide it - either django.contrib.admin or
grappelli-safe (if installed, which is by default) will provide it.

https://github.com/stephenmcd/grappelli-safe/blob/master/grappelli_sa...

On Tue, Nov 13, 2012 at 10:16 AM, John Munroe <mun...@gmail.com> wrote:
> Hi

> I'm looking at the templates in core/templates/admin and in
> base_site.html, it extends admin/base.html. I can't seem to find it
> anywhere. Does anyone know where it is?

> Thanks!

--
Stephen McDonald
http://jupo.org

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Munroe  
View profile  
 More options Nov 13 2012, 9:24 am
From: John Munroe <mun...@gmail.com>
Date: Tue, 13 Nov 2012 06:24:59 -0800 (PST)
Local: Tues, Nov 13 2012 9:24 am
Subject: Re: [mezzanine-users] Where's admin/base.html?

I see. So how does django know that admin/base.html refers to the one in
django.contrib.admin or grappelli-safe rather than one provided by
Mezzanine?

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Josh Cartmell  
View profile  
 More options Nov 13 2012, 1:44 pm
From: Josh Cartmell <joshcar...@gmail.com>
Date: Tue, 13 Nov 2012 10:43:58 -0800
Local: Tues, Nov 13 2012 1:43 pm
Subject: Re: [mezzanine-users] Where's admin/base.html?

Assuming that you have a standard setup, my understanding is that first it
will look in your project's templates directory.  From their it will look
through the template directories of any app in INSTALLED_APPS, starting
with the first one.  At any point that it finds a matching template it will
use it and stop looking.  For a more thorough discussion of that look here:
https://docs.djangoproject.com/en/dev/ref/templates/api/#loader-types,
specifically at the section about the app_directories loader.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »