My models.py was in the path, C:/sw1/wkw/models.py

I had to include sw1:

from sw1.wkw1.models import Lawyer

I don't if this is true in your case as well.

On Nov 11, 8:19 pm, neridaj <neri...@gmail.com> wrote:
> I'm working on a standalone app and when I try to add it to the admin
> index it does not show up using:
>
> from django.contrib import admin
> from blog.models import Category
>
> admin.site.register(Category)
>
> Thanks,
>
> J

--

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


Reply via email to