Right here:
http://code.djangoproject.com/browser/django/trunk/django/contrib/auth/admin.py
http://code.djangoproject.com/browser/django/trunk/django/contrib/sites/admin.py
On Mon, Dec 29, 2008 at 8:50 PM, raj wrote:
>
> Yes, I've found the way out. Adding these lines to the admin module
> will
Yes, I've found the way out. Adding these lines to the admin module
will help:
from django.contrib.sites.models import Site
from django.contrib.sites.admin import SiteAdmin
from django.contrib.auth.models import User, Group
from django.contrib.auth.admin import UserAdmin, GroupAdmin
## admin_sit
On Dec 29, 6:35 pm, "Alex Koshelev" wrote:
> How have you created custom AdminSite? Have you registered auth and site
> models to it?
I haven't done that. Thought that being built-in apps they would
already be hooked to the parent class AdminSite. I'll try what you
suggested. But where shall th
On Dec 29, 6:35 pm, "Alex Koshelev" wrote:
> How have you created custom AdminSite? Have you registered auth and site
> models to it?
Well, I haven't done that. Just defined the class and hooked all my
apps to that. I thought all such default apps would be taken care of
by the parent class. Ok,
How have you created custom AdminSite? Have you registered auth and site
models to it?
On Mon, Dec 29, 2008 at 1:41 PM, raj wrote:
>
> In the usual admin index at http://host:port/admin/ page, there are
> the auth and sites app visible on top of our custom app list. I'd to
> customize the admin
In the usual admin index at http://host:port/admin/ page, there are
the auth and sites app visible on top of our custom app list. I'd to
customize the admin index page and the AdminSite. After that those
apps are not visible. The only change I made in the custom AdminSite
is to add two key-value p
6 matches
Mail list logo