I'm following the tutorial on this page: https://docs.djangoproject.com/en/1.3/intro/tutorial01/
In it, the 'python manage.py syncdb' command is supposed to be run to create tables for the apps in the INSTALLED_APPS setting, right? And this bit seems to come before you start creating an app. Or have I misunderstood it? /Angelika On Nov 2, 12:46 pm, kenneth gonsalves <law...@thenilgiris.com> wrote: > On Wed, 2011-11-02 at 04:37 -0700, angelika wrote: > > 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.