manage.py runserver" but "python manage.py syncdb". That is the
command that does not create any tables. Sorry.
On Nov 2, 10:44 am, nisa balakrishnan <snisa.balakrish...@gmail.com>
wrote:
> did u do a syncdb ?
> On 02-Nov-2011, at 3:12 PM, angelika wrote:
>
>
>
>
>
>
>
> > I've started the Django tutorial and I get as far as running python
> > manage.py runserver, but when I do, nothing happens. I get no messages
> > and the database connected to the project is still empty. The database
> > exists and I've made no modifications to any of the files created,
> > accept for the info to connect to the database. My settings.py has
> > this snippet in it:
>
> > INSTALLED_APPS = (
> > 'django.contrib.auth',
> > 'django.contrib.contenttypes',
> > 'django.contrib.sessions',
> > 'django.contrib.sites',
> > 'django.contrib.messages',
> > 'django.contrib.staticfiles',
> > # Uncomment the next line to enable the admin:
> > # 'django.contrib.admin',
> > # Uncomment the next line to enable admin documentation:
> > # 'django.contrib.admindocs',
> > )
>
> > If django is not able to find or connect to the database, I would
> > expect there to be at least an error message, right? Is there a
> > command I can run make sure? Any other ideas?
>
> > /Angelika
>
> > --
> > 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 athttp://groups.google.com/group/django-users?hl=en.
--
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