On Dec 3, 8:47 am, Logan Chow <[EMAIL PROTECTED]> wrote:
> Hi Rajesh,
> That's the way I did.
> But I am wondering how I can hide the Users in admin site?
You can unregister the default User model from the admin:
from django.contrib import admin
from django.contrib.admin.sites import NotRegistered
from django.contrib.auth.models import User
try:
admin.site.unregister(User)
except NotRegistered:
pass
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---