> I'm new to both Python and Django. I'm doing the tutorial and I named
> the site mysite, to keep it simple. Does that mean mysite is the name
> of the app? And the command should be:
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
--
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.
No comments:
Post a Comment