Wednesday, November 2, 2011

Re: "python manage.py runserver" creates not tables (tutorial)

Thanks, Kenneth.

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:

from mysite import *

I did that, but nothing happened. Same as with 'python manage.py
runserver'. No messages, no errors, nothing.

/Angelika

On Nov 2, 11:43 am, kenneth gonsalves <law...@thenilgiris.com> wrote:
> On Wed, 2011-11-02 at 02:47 -0700, angelika wrote:
> > Christ, I totally messed up this post. I did not mean "python
> > manage.py runserver" but "python manage.py syncdb". That is the
> > command that does not create any tables. Sorry.
>
> https://code.djangoproject.com/ticket/11494- it may be due to this. To
> check it out go to the shell and try:
>
> from yourapp import * - if it fails, fix the import error and try syncdb
> again.
>
> --
> 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