Hi Gerald,

Have you added your new app in 'INSTALLED_APPS' in `settings.py`?

Can you tell more about context of ther error, e.g. this error occurs on
`python manage.py runserver` or when you access a page on django admin?

Also, it would be much easier to find the issue if you can share the
traceback of error.

On Tue, Feb 7, 2017 at 6:19 PM, Gerald Brown <gerbre...@gmail.com> wrote:

> I have just started an app on Ubuntu 16.04 Server using Python 3.5 and
> Django 1.10.5.
>
> When I do "@admin.register(Province)" in my admin.py file I get the error
> that is the subject of this post.
>
> Of course there is NO app with label of 'province' as that is the label of
> a 'Model'.
>
> Why is Django trying to register an app instead of the Model?
>
> Thanks,
>
> Gerald
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/5e94b0d3-c6cd-4b24-b323-544d10e97923%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/5e94b0d3-c6cd-4b24-b323-544d10e97923%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Regards,
Pankaj Kumar Singh

Mobile: +91 9618754327
Skype: psjinx
Emal: psj...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPLvEUa2-%2BDR8LZ1Zr6BwAvkCG%2BGE39K_ucdiBxXkWONkXbj2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to