call admin.site.register(ModelClass, ModelClassAdmin) for that model?
Brett
On 10/5/11 6:09 AM, "Haffi" <haffi67@gmail.com> wrote:
>Hi, I'm registering a new model in the admin but it just won't show
>up. I'm doing this in production, I added the model to models.py and
>mirrored the changes in the DB. I registered it in admin.py just as
>all the other models and restarted Apache but it won't show up and if
>I try the URL it's supposed to be in I just get a permission denied
>error. Any ideas?
>
>--
>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.
>
--
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.
No comments:
Post a Comment