On Apr 8, 2006, at 11:19 PM, gaghiel wrote: > > Writing your first Django app, part 1 > http://www.djangoproject.com/documentation/tutorial1/ > > Hi, after I run this command: > python manage.py install polls > > I got: > Error: polls couldn't be installed. Possible reasons: > * The database isn't running or isn't configured correctly. > * At least one of the database tables already exists. > * The SQL was invalid. > Hint: Look at the output of 'django-admin.py sqlall polls'. That's the > SQL this command wasn't able to run. > The full error: no such table: packages
Note that the suggestion to run sqlall does not create the tables, it merely dumps the SQL that would be executed, so you can read it and find any possible errors. It is the install command that actually creates the tables for your models. If you read the error message there are other possibilities, such as your database not running or a table that already exists when Django is trying to create it. Go back and check the instructions, this tutorial works, you just have to make sure you read each step carefully and understand what each command does. Don --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---