> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to django-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
>
from yourapp import * - if it fails, fix the import error and try syncdb
again.
--
regards
Kenneth Gonsalves
you must have created an app under mysite - probably named 'polls' under
which you have your models.py and views.py etc
>
> from mysite import *
go to the mysite directory and type
python manage.py shell
the python shell will appear. Then type:
from polls import *
(this assumes that you have an app named polls, and that you have
populated your models.py)
>
>
--
regards
Kenneth Gonsalves
*after* creating the app and adding at least *one* model.
--
regards
Kenneth Gonsalves
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
python manage.py sqlall
From the settings file, I do not see any of your apps added in the
list of installed apps, like
INSTALLED_APPS = (
'django.contrib.auth',
'mysite.news',
.....,
)
Martin.