> but when i login in my admin page i cant see all of my objects( like
> Publisher, Author, ...)
> http://www.djangobook.com/en/1.0/chapter06/
> i just have groups , users , sites .
> can you help me

  Hi,

    the Django Book 1.0 is slightly outdated, the admin works slightly
differently with current version of Django. It's well documented on
http://docs.djangoproject.com/en/1.2/ref/contrib/admin/

  In a nutshell, you want a file called "admin.py" in the same
directory where you have models.py, containing something like this:


from django.contrib import admin
from models import Publisher, Author

admin.site.register(Publisher)
admin.site.register(Author)

  HTH

    Jirka

-- 
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