On Jun 7, 9:01 am, stanleyxu2005 <sx.a...@googlemail.com> wrote:
> Hi All,
>
> I have two questions:
>
> 1. The default title of adminstration page named "Django site admin".
> I want to remove the prefix "Django" for production use. Is there any
> easy way to change the translatable string, besides editing the
> template in "/usr/lib/python/django/.../admin/base_site.html" or
> recompiling all "django.po" files?

http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#overriding-admin-templates

> 2. In the adminstration page, the model "group" is activated. But for
> my application, this feature should not be visible in adminstration
> page, is it possible to hide the model "group" in my application?

from django.contrib.auth.models import Group
from django.contrib import admin
admin.site.unregister(Group)

--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to