The model is on my python path and I didn't get an import error so I
don't think that's the problem, thanks though.
On Nov 11, 6:01 pm, Zeynel wrote:
> My models.py was in the path, C:/sw1/wkw/models.py
>
> I had to include sw1:
>
> from sw1.wkw1.models import Lawyer
>
> I
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 wrote:
> I'm working on a standalone app and when I try to add it to the admin
> index it
yeah, that's installed and I've added other models to the admin.
On Nov 11, 5:54 pm, Preston Holmes wrote:
> Is the admin in your installed apps in settings.py?
>
> http://docs.djangoproject.com/en/1.1/intro/tutorial02/#activate-the-a...
> Add "django.contrib.admin" to
Is the admin in your installed apps in settings.py?
http://docs.djangoproject.com/en/1.1/intro/tutorial02/#activate-the-admin-site
Add "django.contrib.admin" to your INSTALLED_APPS setting.
-Preston
On Nov 11, 5:19 pm, neridaj wrote:
> I'm working on a standalone app and
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
5 matches
Mail list logo