Sunday, March 13, 2011

app/model not showing in admin interface?

Hello folks! I'm trying to get some of my apps/models to display in
mysite:8000/admin/ and am not having any luck.

I have my app's admin.py setup like so:

>> from app.models import Task
>> from django.contrib import admin
>>
>> admin.site.register(App)

django.contrib.admin is enabled in my INSTALLED_APPS. And, I've taken
care to restart my development Django instance since I made these
changes.

"App" (just an example for the purposes of this e-mail) is not showing
up in the admin interface.

I'm sort of at a loss as to what to look for or try next.

Any help is appreciated!

Thanks,
~Mark

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate