Startproject failing on Django 1.6

2013-11-12 Thread Steve Sawyer


Django 1.6
Python 3.3
Windows 7 pro

I've been anxiously awaiting Django 1.6 as I've been learning Python 3 for the 
last year. 

I tried unsuccessfully to go through the tutorial using Django 1.5.5, and 
figured I should wait 
for 1.6 to be released so I could avoid having to research and resolve version 
incompatibility issues.

However, today I removed my prior Django installation, successfully installed 
Django 1.6, and 
started into the tutorial, but am again failing on this step:

django-admin.py startproject mysite

I'm getting an ImportError: No module named 'http.cookies'

Note that I've verified that I have a folder named 'http', that this folder is 
in my PYTHONPATH, that it
contains a module named cookies.py and that the folder contains an __init__.py 
file.

Any suggestions as to what I need to do to resolve this? I'm not making much 
progress with the tutorial! :-)


Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3611ff1b-c2a6-4270-b888-1234b91d1d09%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Startproject failing on Django 1.6

2013-11-12 Thread Steve Sawyer
Sorry for the typeface - it was the default that the page gave me and 
didn't bother to change it (it also wouldn't word-wrap, so my apologies 
also for the ragged layout).

In any case, 1.6 is out now, and I'm trying to get started with Django but 
can't get to 1st base here. I did use pip to install it and it installed 
successfully.

On Tuesday, November 12, 2013 1:15:17 PM UTC-5, Avraham Serour wrote:
>
> why are you using this font/size? it hurts my eyes trying to read and 
> makes understanding difficult
>
> in any case, you didn't need to wait for 1.6 to be released, if your 
> objective is to learn and you are not deploying production systems yet you 
> could use the RC, or if before that you could use the beta or before that 
> the dev trunk or even use python 2.7 in the meantime, nothing wrong with 
> that.
>
> how did you install django? I recommend using pip to install python 
> packages
>
> success
> avraham
>
>
> On Tue, Nov 12, 2013 at 7:14 PM, Steve Sawyer 
> > wrote:
>
>> Django 1.6
>> Python 3.3
>> Windows 7 pro
>>
>> I've been anxiously awaiting Django 1.6 as I've been learning Python 3 for 
>> the last year. 
>>
>>
>> I tried unsuccessfully to go through the tutorial using Django 1.5.5, and 
>> figured I should wait 
>> for 1.6 to be released so I could avoid having to research and resolve 
>> version incompatibility issues.
>>
>> However, today I removed my prior Django installation, successfully 
>> installed Django 1.6, and 
>>
>>
>> started into the tutorial, but am again failing on this step:
>>
>> django-admin.py startproject mysite
>>
>> I'm getting an ImportError: No module named 'http.cookies'
>>
>> Note that I've verified that I have a folder named 'http', that this folder 
>> is in my PYTHONPATH, that it
>>
>>
>> contains a module named cookies.py and that the folder contains an 
>> __init__.py file.
>>
>> Any suggestions as to what I need to do to resolve this? I'm not making much 
>> progress with the tutorial! :-)
>>
>>
>> Thanks.
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/3611ff1b-c2a6-4270-b888-1234b91d1d09%40googlegroups.com
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6354da2a-a769-4e39-90c1-23bb79bdb7ac%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Startproject failing on Django 1.6

2013-11-13 Thread Steve Sawyer
Thanks, Tom - however, I completely removed the Django 1.5 folders prior to 
installing Django 1.6, so unless there are Django components installed 
outside of those folders, I should be good.

It seems that I might have something mis-configured. I have the 
http.cookies module and I've done everything I can think of to ensure that 
it can be found by Python, but so far I'm not having any luck. I think this 
is the issue, and it may not be specific to Django at all.

On Wednesday, November 13, 2013 8:51:05 AM UTC-5, Tom Evans wrote:
>
> On Tue, Nov 12, 2013 at 6:35 PM, Steve Sawyer 
> > 
> wrote: 
> > Sorry for the typeface - it was the default that the page gave me and 
> didn't 
> > bother to change it (it also wouldn't word-wrap, so my apologies also 
> for 
> > the ragged layout). 
> > 
> > In any case, 1.6 is out now, and I'm trying to get started with Django 
> but 
> > can't get to 1st base here. I did use pip to install it and it installed 
> > successfully. 
> > 
>
> You almost certainly have remnants of your previous installation of 
> django hanging around, which is causing your problems. You will need 
> to completely remove the previous installation first, especially 
> django-admin.py. 
>
> Cheers 
>
> Tom 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6e8a34d2-2670-46f8-ad16-4f38521fb917%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Startproject failing on Django 1.6

2013-11-14 Thread Steve Sawyer
Ramiro - I only have a single version of Python installed (I have the 
luxury of being able to keep things simple).

I just tried this again though, using the explicit pathing you recommend. I 
note that I have two copies of django-admin.py, but they're identical - one 
in C:\Python33\Scripts, and the other in site-packages. In any case, I'm 
still getting the ImportError.

I can see that there is an http package that apparently belongs to the 
python standard library, contains a cookies.py module and is located here:

C:\Python33\Lib\http

However, Django installs another http package

C:\Python33\Lib\site-packages\django\http

And this folder contains a file "cookie.py" (singular).

In any case, I'm not sure what module is expected to be imported. However, 
I note that if I try to import http from an interactive session, the 
__init__.py in the Django http package is executed, and I end up getting 
the same ImportError.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4f86f8b9-90e4-437c-a8fd-783063a63325%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: manage.py deprecation message for model/sql arguments

2013-11-21 Thread Steve Sawyer
Thanks, tim, but it looks like the message says "is deprecated" rather than 
"will be deprecated" - unless this is just how these warnings are worded.

On Thursday, November 21, 2013 11:54:36 AM UTC-5, tim wrote:
>
> It looks like an issue with pywintypes, not Django. A deprecation warning 
> means some code needs to update itself in order to work with future 
> versions of some other code. In this case, it looks to me like pywintypes 
> is using some functionality that will probably be removed in a future 
> version of Python.
>
> On Thursday, November 21, 2013 10:56:57 AM UTC-5, Steve Sawyer wrote:
>>
>> Working my way through the Django tutorial (running Python 3.3 and Django 
>> 1.6), and when I run manage.py with any of the model arguments 
>> (validate/sqlcustom/sqlclear/sqlall etc.) the output seems to be what the 
>> tutorial leads me to expect, but I'm getting this message:
>>
>> *C:\Python33\lib\site-packages\win32\lib\pywintypes.py:39: 
>> DeprecationWarning: imp.get_suffixes() is deprecated; use the constants 
>> defined on importlib.machinery instead*
>>
>> Is this something that requires some corrective action on my part? Is 
>> this an indicator that something is NOT working properly, or MAY NOT work 
>> properly in some of these processes?
>>
>> Thanks.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/af791030-1e16-41a3-87c2-ee4eaad6fc6b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


manage.py deprecation message for model/sql arguments

2013-11-21 Thread Steve Sawyer
Working my way through the Django tutorial (running Python 3.3 and Django 
1.6), and when I run manage.py with any of the model arguments 
(validate/sqlcustom/sqlclear/sqlall etc.) the output seems to be what the 
tutorial leads me to expect, but I'm getting this message:

*C:\Python33\lib\site-packages\win32\lib\pywintypes.py:39: 
DeprecationWarning: imp.get_suffixes() is deprecated; use the constants 
defined on importlib.machinery instead*

Is this something that requires some corrective action on my part? Is this 
an indicator that something is NOT working properly, or MAY NOT work 
properly in some of these processes?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f68c0891-893f-4575-9cb4-3cb7d483988f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Group subscription management

2013-11-30 Thread Steve Sawyer
I am drowning in emails, and I can't seem to figure out how to un-subscribe 
from everything that gets posted to this group.

I tried to subscribe just to a daily digest so I only get one email a day, 
but now I can't even find that setting to turn it off, as it appears to 
also turn on an echo of every individual post into my mailbox.

Can anyone help me out here??


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3ad39a03-806b-4bbd-bc0d-a3bdbd249d38%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Group subscription management

2013-11-30 Thread Steve Sawyer
Thanks, Felipe.

For anyone else who might have trouble with this, go to the My Groups item 
on the left nav bar which displays the groups of which you're a member. 
Then click the "Edit Memberships" tab at the top. This will give you a 
drop-down to manage the subscription for all of your groups.

 

On Saturday, November 30, 2013 12:02:23 PM UTC-5, Steve Sawyer wrote:
>
> I am drowning in emails, and I can't seem to figure out how to 
> un-subscribe from everything that gets posted to this group.
>
> I tried to subscribe just to a daily digest so I only get one email a day, 
> but now I can't even find that setting to turn it off, as it appears to 
> also turn on an echo of every individual post into my mailbox.
>
> Can anyone help me out here??
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b502f846-60a5-4221-9065-3e70d15fb5b8%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.