On May 31, 8:24 am, vijay shanker <vshanker...@gmail.com> wrote:
> hi
> i defined three models and put them in /appname/models/ a.py, b.py,
> c.py. and a __init__.py in which i import all classes defined inside
> a.py/b.py/c.py.
>
> when i try to do a ./manage.py sqll appname at prompt , it simply
> passes of without any output.
> what could be possibly done to debug it .. i had put the appname in
> installed_apps, other app respond to sqlall printing related mysql
> queries .
You need to set your model's Meta app_label :
https://docs.djangoproject.com/en/1.3/ref/models/options/#app-label
--
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment