Re: Problems with first tutorial

2012-10-02 Thread CG
Hi Russ, Thanks for the warning. I have actually worked a little with django before so am not a starter. I work with Python 3 on a daily basis and am more interested in getting django to work with it. Hence I am using the dev version. Thanks for the input. I will get the latest asap. -- You

Re: Problems with first tutorial

2012-10-02 Thread Russell Keith-Magee
On Wed, Oct 3, 2012 at 6:52 AM, CG wrote: > Sorry for the late reply since I saw this only now. I also have the dev > version of Django installed and ran into this error. > Seems like this is an error in the django code. I was able to bypass this > and fire up the

Re: Problems with first tutorial

2012-10-02 Thread CG
Sorry for the late reply since I saw this only now. I also have the dev version of Django installed and ran into this error. Seems like this is an error in the django code. I was able to bypass this and fire up the shell by just commenting the 'import user' line in shell.py in

Re: Problems with first tutorial

2012-08-28 Thread William Stearns
Latest released version is 1.4.1. So, there is no release of 1.5 at the moment. With the development branch, if and when it breaks, you get to keep the pieces. On Tuesday, August 28, 2012 8:06:28 AM UTC-6, Snorre Edwin wrote: > > I >> >> It makes sense, since my guess is that you have Python

Re: Problems with first tutorial

2012-08-28 Thread Snorre Edwin
I > > It makes sense, since my guess is that you have Python 3.2 installed. > Django 1.4 does not support python 3.x, only 2.5 through 2.7. Django 1.5 > will be the first release supporting Python 3.x. > > -- > Melvyn Sopacua > It doesnt make much sense when i have django version 1.5:

Re: Problems with first tutorial

2012-08-28 Thread Melvyn Sopacua
On 28-8-2012 11:52, Snorre Edwin wrote: > "C:\Python32\lib\site-packages\django\core\management\commands\shell.py", > line 92, in handle_noargs > import user > ImportError: No module named user > ImportError: No module named user > > > Does it make any sense to you? It makes sense, since

Re: Problems with first tutorial

2012-08-28 Thread Snorre Edwin
C:\Prosjekter\Djangotest\testproject>python manage.py shell --traceback Traceback (most recent call last): File "C:\Python32\lib\site-packages\django\core\management\commands\shell.py", line 64, in handle_noargs self.run_shell(shell=interface) File

Re: Problems with first tutorial

2012-08-28 Thread Melvyn Sopacua
On 28-8-2012 11:21, Snorre Edwin wrote: > It didnt seem to work. All i get is the error: > > C:\Prosjekter\Djangotest\testproject>python manage.py shell > ImportError: No module named user The traceback should show where the import error is raised: python manage.py shell --traceback -- Melvyn

Re: Problems with first tutorial

2012-08-28 Thread Snorre Edwin
It didnt seem to work. All i get is the error: C:\Prosjekter\Djangotest\testproject>python manage.py shell ImportError: No module named user Maybe i do it from the wrong directory, this is my buildtree: Djangotest>testproject>testproject(have settings.py and everything created with

Re: Problems with first tutorial

2012-08-27 Thread trebor63
I hope this helps, when working under windows (XP/7) this just works for me. Replace with whatever you have named it. >From the directory above where the project was created create a batch file (ie .bat) containing the following set _HOME=%CD% set DJANGO_SETTINGS_MODULE=.settings set

Problems with first tutorial

2012-08-27 Thread Snorre Edwin
Im on the Playing with the API part and seem to catch some troubles. Everything has gone smoothly until this part. I write this and get the next error. This is with my enviromen_variable: DJANGO_SETTINGS_MODULE set to where I can find the settings.py in my project.