when i added the Admin class to Poll class as inner class,

Guess you mean when you register your poll app with django admin?

Check a few things of the list.

You have added your poll app to 'installed apps' in your projects
settings.py file and ran 'python manage.py syncdb'

You have created a new file named admin,py in your poll app folder
that looks like this?

//admin.py//
from polls.models import Poll
from django.contrib import admin

admin.site.register(Poll)


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