problem about "You appear not to have the 'sqlite3' program installed or on your path."

2009-02-26 Thread jason zones
hello, all.
i have a problem when i type "python manage.py dbshell" in the commandline
within the mysite folder. i used sqlite3 as the db.
when i typed the command, it showed the error "You appear not to have the
'sqlite3' program installed or on your path."
my installed python version is 2.6 and it is said the sqlite3 being a
module in the python, so i tried "import sqlite3", and it worked. so it
seemed sqlite3 module was there in the python, but it just cannot go into
the dbshell with "python manage.py dbshell" as the djangobook told. i also
tried to append the dir"c:\python26\Lib\sqlite3" to the sys path, but it
seemed not work.  my operating system is windows xp, anyone knows what's
wrong?
many thanks.

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: 'AdminSite' object has no attribute 'urls' issue

2009-02-04 Thread jason zones
got it,:-)

On Thu, Feb 5, 2009 at 12:37 PM, Alex Gaynor  wrote:

>
>
> On Wed, Feb 4, 2009 at 11:33 PM, ethan zou  wrote:
>
>> i also feel confused about the django version. it develops so fast that i
>> cannot catch up. different versions have so many changes. Could it be
>> possible to find the the exact version of the tutorial in the official
>> djangoproject website?
>> i think the differences of the version of django may confuse greener a
>> lot.
>>
>>   On Thu, Feb 5, 2009 at 12:14 PM, ethan zou  wrote:
>>
>>> now it works.
>>> thanks a lot.
>>>
>>>   On Thu, Feb 5, 2009 at 12:10 PM, Alex Gaynor wrote:
>>>


 On Wed, Feb 4, 2009 at 11:05 PM, jason  wrote:

>
> hello all.
> i followed the django tutorial, to the second part ,when activate the
> admin site, typing url 'http://localhost:8000/admin/' in the browser's
> address bar, this error showed up.
> my django version is 1.0.2, and python version is 2.6, using sqlite3.
> are there any configurations wrong with the tutorial? or a django
> version problem? thanks.
>
>
>
 Unfortunately the docs you are reading are for the development version
 :( .  The correct way to wire up your admin in 1.0.2 is:

 (r'^admin/(.*)', admin.site.root)

 Alex

 --
 "I disapprove of what you say, but I will defend to the death your right
 to say it." --Voltaire
 "The people's good is the highest law."--Cicero


> In general there will be no backwards incompatible changes after 1.0 to
> those APIs deemed stable(most of them), and the admin is no exception the
> old APIs continue to exist for this.  This is unfortunately an artifact of
> the fact that the 1.0 docs don't have their own home online yet, although
> they are available locally in the docs dir of any version of Django, which
> you can use if you have sphinx installed.
>
>
> Alex
>
> --
> "I disapprove of what you say, but I will defend to the death your right to
> say it." --Voltaire
> "The people's good is the highest law."--Cicero
>
> >
>

--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---