2.6 On Nov 30, 8:54 pm, Rafael Vieira <[email protected]> wrote: > what python's version you are using? > > 2009/11/30 Baba Samu <[email protected]> > > > > > thanks, but i have tried changing the database_name to DATABASE_ENGINE > > = 'sqlite3' and database name to DATABASE_NAME = 'poll.db' > > > and i still get the same message..... > > > maybe i should delete n start again since im just following the > > tutorial and i have this inconsistencies at the very beggining.... ¿? > > > cheers > > samu > > > On Nov 30, 7:27 pm, Rafael Vieira <[email protected]> wrote: > > > Hi, do you have change file settings.py section DATABASE_ENGINE = > > 'sqlite3', > > > I recommend sqlite3 if you are new in django; > > > > and in Section DATABASE_NAME use your name database .db for example > > > > DATABASE_ENGINE = 'sqlite3' > > > DATABASE_NAME = 'mybanco.db' > > > > Sorry about my text but i am brazilian and my english don't is good > > > > 2009/11/30 Baba Samu <[email protected]> > > > > > first of all thank very much. > > > > > the problem was i named the folder 'POLLS', in stead of 'polls' it > > > > seems to be case sensitive.... > > > > > anyway, i changed it and now i get > > > > > Error: Django doesn't know which syntax to use for your SQL > > > > statements, > > > > because you haven't specified the DATABASE_ENGINE setting. > > > > Edit your settings file and change DATABASE_ENGINE to something like > > > > 'postgresql > > > > ' or 'mysql'. > > > > > but when i enter settings.py to edit it i see it.... > > > > > another issue i have is, copy/pasting from or into .py files from the > > > > console doesnt work.... > > > > > sorry im new :_( > > > > > thanks > > > > samu > > > > > On Nov 29, 5:17 pm, Vardhan Varma <[email protected]> wrote: > > > > > did you named your project as 'mysite' and your app as 'polls' ... > > > > > also make sure __init__.py exists inside directory polls (manage.py > > > > should > > > > > create that ). > > > > > > hope that helps, > > > > > > --Vardhan > > > > > > On Sun, Nov 29, 2009 at 7:12 PM, Baba Samu < > > [email protected] > > > > >wrote: > > > > > > > Hi, > > > > > > > Following the tutorial when i have "python manage.py sql polls" i > > get > > > > > > error message "No module named polls" > > > > > > > I have modified settijng.py to..... > > > > > > > INSTALLED_APPS = ( > > > > > > 'django.contrib.auth', > > > > > > 'django.contrib.contenttypes', > > > > > > 'django.contrib.sessions', > > > > > > 'django.contrib.sites', > > > > > > 'mysite.polls' > > > > > > ) > > > > > > > any ideas? > > > > > > > thanks, > > > > > > samu > > > > > > > -- > > > > > > > You received this message because you are subscribed to the Google > > > > Groups > > > > > > "Django users" group. > > > > > > To post to this group, send email to [email protected] > > . > > > > > > To unsubscribe from this group, send email to > > > > > > [email protected]<django-users%[email protected]> > > <django-users%[email protected]<django-users%[email protected]> > > > > > <django-users%[email protected]<django-users%[email protected]> > > <django-users%[email protected]<django-users%[email protected]> > > > > > > > . > > > > > > For more options, visit this group at > > > > > >http://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 [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]<django-users%[email protected]> > > <django-users%[email protected]<django-users%[email protected]> > > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/django-users?hl=en. > > > > -- > > > Rafael Vieira > > > 54-91575031 > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Django users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<django-users%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. > > -- > Rafael Vieira > 54-91575031
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

