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 <samuelbarcel...@gmail.com>

> 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 <vardhanva...@gmail.com> 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 <samuelbarcel...@gmail.com
> >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 django-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> <django-users%2bunsubscr...@googlegroups.com<django-users%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > 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 django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> 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 django-us...@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.


Reply via email to