Re: I can't start new project

2012-08-22 Thread rafi r
thanks so much this helped me tons!!!
On Tuesday, December 27, 2011 9:27:06 AM UTC-5, Andre Terra (airstrike) wrote:
> My bet is that you're using Windows.
> 
> Open the Registry Editor (hit Winkey+R, "regedit" (no quotes), hit enter)
> 
> ---
> 
> Go to HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command
> 
> 
> and check that it looks somewhat like '"PYDIR\\python.exe" "%1" %*'
>  
> If you're missing the final  %*, it won't work.
> 
> 
> 
> ---
> 
> A different, one-time solution is to type the full paths in your command-line:
> 
> 
> 
> 
> C:\Python27\python.exe
> C:\path\to\django-admin.py startproject foobar
> 
> 
> 
> Also google for virtualenv and start using it!
> 
> 
> Cheers,
> AT
> 
> 
> 
> On Tue, Dec 27, 2011 at 12:01 PM, Varrant  wrote:
> 
> 
> Hello,
> 
> 
> 
> I have installed python 2.7 and Django 1.3.1, but when I type:
> 
> 
> 
> "django-admin.py startproject project"
> 
> 
> 
> I receive only something like 'help' for that command
> 
> 
> 
> How can i fix it?
> 
> 
> 
> I already tried reinstalling Python and Django...
> 
> 
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> 
> To post to this group, send email to django...@googlegroups.com.
> 
> To unsubscribe from this group, send email to 
> django-users...@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 view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/B4K_7Ov9MIoJ.
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: Can't start new project

2012-04-29 Thread Sandra
I have the same problem Jani had and I tried this but it is not
working for me. The window still appears when i run "django-admin.py
startproject ". The window is the django-admin file and the text
it contents is:

#!/usr/bin/env python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()

Thanks.


On 15 abr, 23:07, Jani Tiainen  wrote:
> One more advice so you don't get caught with the problems:
>
> (Well I suggest that you start using virtualenvs as well, they really rock)
>
> After installing TCC/LE create one batch file (I use tcstart.btm) with
> the following contents:
>
> @echo off
> rem Set python binding to handle virtualenvironments
> set .py;.pyc=python.exe
>
> Note, if you're not using virtual environments or not have your python
> in the path use full absolute path instead of just "python.exe".
>
> Create a shortcut on your desktop (or anywhere you like).
>
> Open properties of the shortcut and set "target" to something like
> "C:\Program Files (x86)\JPSoft\TCCLE12\tcc.exe" "c:\mysettings\tcstart.btm"
>
> And of course, "start in" is good to place where ever you have your
> projects, removes need for extra cd.
>
> This should get you up and running smoothly and should get around the
> problem of windows peculiarities in python invocation.
>
> 16.4.2012 1:23, Brandy kirjoitti:
>
>
>
>
>
>
>
> > I certainly will. Thanks for the advice:)
>
> > On Sunday, April 15, 2012 2:42:00 PM UTC-5, Jani Tiainen wrote:
>
> >     It's apparently TCC/LE which saves me about all that command
> >     execution and arg passing hazzle.. :)
>
> >     Never used plain command prompt so I've been immune to peculiarities
> >     of Windows command line utilities.
>
> >     I suggest you give it a try - it's really nice.
>
> >     On Sun, Apr 15, 2012 at 10:04 PM, Brandy  >     > wrote:
>
> >         If you would like to read more about the issue, I found the
> >         error already reported on the Python website:
> >        http://bugs.python.org/issue7936
>
> >         On Saturday, April 14, 2012 1:52:00 PM UTC-5, Jani Tiainen wrote:
>
> >             Sounds very goofy.django-admin.pyjust creates files,
> >             doesn't open any editors so there is somthing really fishy
> >             going on in your machine...
>
> >             On Sat, Apr 14, 2012 at 8:27 PM, Brandy
> >              >             > wrote:
>
> >                 What I mean is, I can create 2 or 3 new projects without
> >                 problems. I play with them and create files, etc. Then,
> >                 for whatever reason, when I rundjango-admin.py
> >                 startproject  again, an editor widow opens
> >                 (emacs in my case, since that is what I was using), and
> >                 django doesn't create any files. All I can do is edit
> >                 the projects I already have created.
>
> >                 On Saturday, April 14, 2012 12:45:32 AM UTC-5, Jani
> >                 Tiainen wrote:
>
> >                     I really suggest you to use virtualenv, it makes
> >                     your life easier in the long run. Also I use a
> >                     TCC/LE instead of powershell / cmd prompt to mimic
> >                     more unix like environment.
>
> >                     Though you mentioned " After a while, if I try to
> >                     start a new project, my editor opens and no files or
> >                     directories are created. " what you exactly mean by
> >                     that?
>
> >                     I feel that I should write short article how to make
> >                     development in win7 slightly less painful...
>
> >                     On Sat, Apr 14, 2012 at 8:19 AM, Brandy
> >                      >                     > wrote:
>
> >                         No, I'm not using virtual environments.
>
> >                         On Friday, April 13, 2012 11:51:33 PM UTC-5,
> >                         Jani Tiainen wrote:
>
> >                             Are you using virtual environments?
>
> >                             Since I've been doing all my django
> >                             development on windows last 3 years without
> >                             any major problems...
>
> >                             On Sat, Apr 14, 2012 at 6:04 AM, Brandy
> >                              >                             > wrote:
>
> >                                 After first installing Django, I am able
> >                                 to use "django-admin.pystartproject
> >                                 " with no problem. After a
> >                                 while, if I try to start a new project,
> >                                 my editor opens and no files or
> >                                 directories are created

Re: Can't start new project

2012-04-15 Thread Jani Tiainen

One more advice so you don't get caught with the problems:

(Well I suggest that you start using virtualenvs as well, they really rock)

After installing TCC/LE create one batch file (I use tcstart.btm) with 
the following contents:


@echo off
rem Set python binding to handle virtualenvironments
set .py;.pyc=python.exe


Note, if you're not using virtual environments or not have your python 
in the path use full absolute path instead of just "python.exe".


Create a shortcut on your desktop (or anywhere you like).

Open properties of the shortcut and set "target" to something like
"C:\Program Files (x86)\JPSoft\TCCLE12\tcc.exe" "c:\mysettings\tcstart.btm"

And of course, "start in" is good to place where ever you have your 
projects, removes need for extra cd.


This should get you up and running smoothly and should get around the 
problem of windows peculiarities in python invocation.


16.4.2012 1:23, Brandy kirjoitti:

I certainly will. Thanks for the advice:)

On Sunday, April 15, 2012 2:42:00 PM UTC-5, Jani Tiainen wrote:

It's apparently TCC/LE which saves me about all that command
execution and arg passing hazzle.. :)

Never used plain command prompt so I've been immune to peculiarities
of Windows command line utilities.

I suggest you give it a try - it's really nice.

On Sun, Apr 15, 2012 at 10:04 PM, Brandy mailto:brandy.norri...@yahoo.com>> wrote:

If you would like to read more about the issue, I found the
error already reported on the Python website:
http://bugs.python.org/issue7936 

On Saturday, April 14, 2012 1:52:00 PM UTC-5, Jani Tiainen wrote:

Sounds very goofy. django-admin.py just creates files,
doesn't open any editors so there is somthing really fishy
going on in your machine...

On Sat, Apr 14, 2012 at 8:27 PM, Brandy
mailto:brandy.norri...@yahoo.com>> wrote:

What I mean is, I can create 2 or 3 new projects without
problems. I play with them and create files, etc. Then,
for whatever reason, when I run django-admin.py
startproject  again, an editor widow opens
(emacs in my case, since that is what I was using), and
django doesn't create any files. All I can do is edit
the projects I already have created.

On Saturday, April 14, 2012 12:45:32 AM UTC-5, Jani
Tiainen wrote:

I really suggest you to use virtualenv, it makes
your life easier in the long run. Also I use a
TCC/LE instead of powershell / cmd prompt to mimic
more unix like environment.

Though you mentioned " After a while, if I try to
start a new project, my editor opens and no files or
directories are created. " what you exactly mean by
that?

I feel that I should write short article how to make
development in win7 slightly less painful...

On Sat, Apr 14, 2012 at 8:19 AM, Brandy
mailto:brandy.norri...@yahoo.com>> wrote:

No, I'm not using virtual environments.

On Friday, April 13, 2012 11:51:33 PM UTC-5,
Jani Tiainen wrote:

Are you using virtual environments?

Since I've been doing all my django
development on windows last 3 years without
any major problems...

On Sat, Apr 14, 2012 at 6:04 AM, Brandy
mailto:brandy.norri...@yahoo.com>> wrote:

After first installing Django, I am able
to use "django-admin.py startproject
" with no problem. After a
while, if I try to start a new project,
my editor opens and no files or
directories are created. After doing
LOTS of research, it turns out this is a
rather common problem/bug. I have tried
what feels like everything. I have
edited the PATH, checked that all
appropriate registry entries are
"python.exe" "%1" %* (I even tried %%),
I've tried variations of "django-admin
startproject" and "python django-admin
startproject". The only thing that has
worked so far is reinstalling Django.
H

Re: Can't start new project

2012-04-15 Thread Brandy
I certainly will. Thanks for the advice:)

On Sunday, April 15, 2012 2:42:00 PM UTC-5, Jani Tiainen wrote:

> It's apparently TCC/LE which saves me about all that command execution and 
> arg passing hazzle.. :)
>
> Never used plain command prompt so I've been immune to peculiarities of 
> Windows command line utilities. 
>
> I suggest you give it a try - it's really nice.
>
> On Sun, Apr 15, 2012 at 10:04 PM, Brandy wrote:
>
>> If you would like to read more about the issue, I found the error already 
>> reported on the Python website: http://bugs.python.org/issue7936
>>  
>>
>> On Saturday, April 14, 2012 1:52:00 PM UTC-5, Jani Tiainen wrote:
>>
>>> Sounds very goofy. django-admin.py just creates files, doesn't open any 
>>> editors so there is somthing really fishy going on in your machine...
>>>
>>> On Sat, Apr 14, 2012 at 8:27 PM, Brandy wrote:
>>>
 What I mean is, I can create 2 or 3 new projects without problems. I 
 play with them and create files, etc. Then, for whatever reason, when I 
 run 
 django-admin.py startproject  again, an editor widow opens 
 (emacs in my case, since that is what I was using), and django doesn't 
 create any files. All I can do is edit the projects I already have created.
  

 On Saturday, April 14, 2012 12:45:32 AM UTC-5, Jani Tiainen wrote:

> I really suggest you to use virtualenv, it makes your life easier in 
> the long run. Also I use a TCC/LE instead of powershell / cmd prompt to 
> mimic more unix like environment. 
>
> Though you mentioned " After a while, if I try to start a new project, 
> my editor opens and no files or directories are created. "  what you 
> exactly mean by that?
>
> I feel that I should write short article how to make development in 
> win7 slightly less painful...
>
> On Sat, Apr 14, 2012 at 8:19 AM, Brandy wrote:
>
>> No, I'm not using virtual environments.
>>  
>>
>> On Friday, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote:
>>
>>> Are you using virtual environments?
>>>
>>> Since I've been doing all my django development on windows last 3 
>>> years without any major problems...
>>>
>>> On Sat, Apr 14, 2012 at 6:04 AM, Brandy 
>>> wrote:
>>>
 After first installing Django, I am able to use "django-admin.py 
 startproject " with no problem. After a while, if I try 
 to 
 start a new project, my editor opens and no files or directories are 
 created. After doing LOTS of research, it turns out this is a rather 
 common 
 problem/bug. I have tried what feels like everything. I have edited 
 the 
 PATH, checked that all appropriate registry entries are "python.exe" 
 "%1" 
 %* (I even tried %%), I've tried variations of "django-admin 
 startproject" 
 and "python django-admin startproject". The only thing that has worked 
 so 
 far is reinstalling Django. However, I wind up encountering the same 
 problem eventually. Does anyone have a permanent fix not listed here? 
 I am 
 running Python27, Django 1.4, and Windows 7. Thanks in advance. 

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Django users" group.
 To view this discussion on the web visit 
 https://groups.google.com/d/**msg/django-users/-/**G4kncIixzIAJ
 .
 To post to this group, send email to django-users@googlegroups.com.
 To unsubscribe from this group, send email to 
 django-users+unsubscribe@**googlegroups.com
 .
 For more options, visit this group at http://groups.google.com/**
 group/django-users?hl=en
 .

>>>
>>>
>>>
>>> -- 
>>> Jani Tiainen
>>>
>>> - Well planned is half done, and a half done has been sufficient 
>>> before...
>>>
>>>   -- 
>> You received this message because you are subscribed to the Google 
>> Groups "Django users" group.
>> To view this discussion on the web visit https://groups.google.com/d/
>> **ms**g/django-users/-/**MFfD9AEjNQUJ
>> .
>>
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscribe@**googl**egroups.com
>> .
>> For more options, visit this group at http://groups.google.com/**
>> group**/django-users?hl=en
>> .
>>
>
>
>
> -- 
> Jani Tiainen
>
> - Well planned is half done, and a half done has been sufficient 
> before...
>
>   -- 
 You rec

Re: Can't start new project

2012-04-15 Thread Jani Tiainen
It's apparently TCC/LE which saves me about all that command execution and
arg passing hazzle.. :)

Never used plain command prompt so I've been immune to peculiarities of
Windows command line utilities.

I suggest you give it a try - it's really nice.

On Sun, Apr 15, 2012 at 10:04 PM, Brandy  wrote:

> If you would like to read more about the issue, I found the error already
> reported on the Python website: http://bugs.python.org/issue7936
>
>
> On Saturday, April 14, 2012 1:52:00 PM UTC-5, Jani Tiainen wrote:
>
>> Sounds very goofy. django-admin.py just creates files, doesn't open any
>> editors so there is somthing really fishy going on in your machine...
>>
>> On Sat, Apr 14, 2012 at 8:27 PM, Brandy wrote:
>>
>>> What I mean is, I can create 2 or 3 new projects without problems. I
>>> play with them and create files, etc. Then, for whatever reason, when I run
>>> django-admin.py startproject  again, an editor widow opens
>>> (emacs in my case, since that is what I was using), and django doesn't
>>> create any files. All I can do is edit the projects I already have created.
>>>
>>>
>>> On Saturday, April 14, 2012 12:45:32 AM UTC-5, Jani Tiainen wrote:
>>>
 I really suggest you to use virtualenv, it makes your life easier in
 the long run. Also I use a TCC/LE instead of powershell / cmd prompt to
 mimic more unix like environment.

 Though you mentioned " After a while, if I try to start a new project,
 my editor opens and no files or directories are created. "  what you
 exactly mean by that?

 I feel that I should write short article how to make development in
 win7 slightly less painful...

 On Sat, Apr 14, 2012 at 8:19 AM, Brandy wrote:

> No, I'm not using virtual environments.
>
>
> On Friday, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote:
>
>> Are you using virtual environments?
>>
>> Since I've been doing all my django development on windows last 3
>> years without any major problems...
>>
>> On Sat, Apr 14, 2012 at 6:04 AM, Brandy wrote:
>>
>>> After first installing Django, I am able to use "django-admin.py
>>> startproject " with no problem. After a while, if I try to
>>> start a new project, my editor opens and no files or directories are
>>> created. After doing LOTS of research, it turns out this is a rather 
>>> common
>>> problem/bug. I have tried what feels like everything. I have edited the
>>> PATH, checked that all appropriate registry entries are "python.exe" 
>>> "%1"
>>> %* (I even tried %%), I've tried variations of "django-admin 
>>> startproject"
>>> and "python django-admin startproject". The only thing that has worked 
>>> so
>>> far is reinstalling Django. However, I wind up encountering the same
>>> problem eventually. Does anyone have a permanent fix not listed here? I 
>>> am
>>> running Python27, Django 1.4, and Windows 7. Thanks in advance.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/**msg/django-users/-/**G4kncIixzIAJ
>>> .
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> django-users+unsubscribe@**googlegroups.com
>>> .
>>> For more options, visit this group at http://groups.google.com/**
>>> group/django-users?hl=en
>>> .
>>>
>>
>>
>>
>> --
>> Jani Tiainen
>>
>> - Well planned is half done, and a half done has been sufficient
>> before...
>>
>>   --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To view this discussion on the web visit https://groups.google.com/d/*
> *ms**g/django-users/-/**MFfD9AEjNQUJ
> .
>
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@**googl**egroups.com
> .
> For more options, visit this group at http://groups.google.com/**group
> **/django-users?hl=en
> .
>



 --
 Jani Tiainen

 - Well planned is half done, and a half done has been sufficient
 before...

   --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/django-users/-/**wTBEfVJGr6AJ
>>> .
>>>
>>> To post to this group, send emai

Re: Can't start new project

2012-04-15 Thread Brandy
If you would like to read more about the issue, I found the error already 
reported on the Python website: http://bugs.python.org/issue7936
 

On Saturday, April 14, 2012 1:52:00 PM UTC-5, Jani Tiainen wrote:

> Sounds very goofy. django-admin.py just creates files, doesn't open any 
> editors so there is somthing really fishy going on in your machine...
>
> On Sat, Apr 14, 2012 at 8:27 PM, Brandy  wrote:
>
>> What I mean is, I can create 2 or 3 new projects without problems. I play 
>> with them and create files, etc. Then, for whatever reason, when I run 
>> django-admin.py startproject  again, an editor widow opens 
>> (emacs in my case, since that is what I was using), and django doesn't 
>> create any files. All I can do is edit the projects I already have created.
>>  
>>
>> On Saturday, April 14, 2012 12:45:32 AM UTC-5, Jani Tiainen wrote:
>>
>>> I really suggest you to use virtualenv, it makes your life easier in the 
>>> long run. Also I use a TCC/LE instead of powershell / cmd prompt to mimic 
>>> more unix like environment. 
>>>
>>> Though you mentioned " After a while, if I try to start a new project, 
>>> my editor opens and no files or directories are created. "  what you 
>>> exactly mean by that?
>>>
>>> I feel that I should write short article how to make development in win7 
>>> slightly less painful...
>>>
>>> On Sat, Apr 14, 2012 at 8:19 AM, Brandy wrote:
>>>
 No, I'm not using virtual environments.
  

 On Friday, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote:

> Are you using virtual environments?
>
> Since I've been doing all my django development on windows last 3 
> years without any major problems...
>
> On Sat, Apr 14, 2012 at 6:04 AM, Brandy wrote:
>
>> After first installing Django, I am able to use "django-admin.py 
>> startproject " with no problem. After a while, if I try to 
>> start a new project, my editor opens and no files or directories are 
>> created. After doing LOTS of research, it turns out this is a rather 
>> common 
>> problem/bug. I have tried what feels like everything. I have edited the 
>> PATH, checked that all appropriate registry entries are "python.exe" 
>> "%1" 
>> %* (I even tried %%), I've tried variations of "django-admin 
>> startproject" 
>> and "python django-admin startproject". The only thing that has worked 
>> so 
>> far is reinstalling Django. However, I wind up encountering the same 
>> problem eventually. Does anyone have a permanent fix not listed here? I 
>> am 
>> running Python27, Django 1.4, and Windows 7. Thanks in advance. 
>>
>> -- 
>> You received this message because you are subscribed to the Google 
>> Groups "Django users" group.
>> To view this discussion on the web visit https://groups.google.com/d/
>> **ms**g/django-users/-/**G4kncIixzIAJ
>> .
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> django-users+unsubscribe@**googl**egroups.com
>> .
>> For more options, visit this group at http://groups.google.com/**
>> group**/django-users?hl=en
>> .
>>
>
>
>
> -- 
> Jani Tiainen
>
> - Well planned is half done, and a half done has been sufficient 
> before...
>
>   -- 
 You received this message because you are subscribed to the Google 
 Groups "Django users" group.
 To view this discussion on the web visit https://groups.google.com/d/**
 msg/django-users/-/**MFfD9AEjNQUJ
 .

 To post to this group, send email to django-users@googlegroups.com.
 To unsubscribe from this group, send email to django-users+unsubscribe@
 **googlegroups.com .
 For more options, visit this group at http://groups.google.com/**
 group/django-users?hl=en
 .

>>>
>>>
>>>
>>> -- 
>>> Jani Tiainen
>>>
>>> - Well planned is half done, and a half done has been sufficient 
>>> before...
>>>
>>>   -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/wTBEfVJGr6AJ.
>>
>> 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.
>>
>
>
>
> -- 
> Jani Tiainen
>
> - Well planned is half done, and a half done has been sufficient before...
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion 

Re: Can't start new project

2012-04-14 Thread Jani Tiainen
Sounds very goofy. django-admin.py just creates files, doesn't open any
editors so there is somthing really fishy going on in your machine...

On Sat, Apr 14, 2012 at 8:27 PM, Brandy  wrote:

> What I mean is, I can create 2 or 3 new projects without problems. I play
> with them and create files, etc. Then, for whatever reason, when I run
> django-admin.py startproject  again, an editor widow opens
> (emacs in my case, since that is what I was using), and django doesn't
> create any files. All I can do is edit the projects I already have created.
>
>
> On Saturday, April 14, 2012 12:45:32 AM UTC-5, Jani Tiainen wrote:
>
>> I really suggest you to use virtualenv, it makes your life easier in the
>> long run. Also I use a TCC/LE instead of powershell / cmd prompt to mimic
>> more unix like environment.
>>
>> Though you mentioned " After a while, if I try to start a new project, my
>> editor opens and no files or directories are created. "  what you exactly
>> mean by that?
>>
>> I feel that I should write short article how to make development in win7
>> slightly less painful...
>>
>> On Sat, Apr 14, 2012 at 8:19 AM, Brandy wrote:
>>
>>> No, I'm not using virtual environments.
>>>
>>>
>>> On Friday, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote:
>>>
 Are you using virtual environments?

 Since I've been doing all my django development on windows last 3 years
 without any major problems...

 On Sat, Apr 14, 2012 at 6:04 AM, Brandy wrote:

> After first installing Django, I am able to use "django-admin.py
> startproject " with no problem. After a while, if I try to
> start a new project, my editor opens and no files or directories are
> created. After doing LOTS of research, it turns out this is a rather 
> common
> problem/bug. I have tried what feels like everything. I have edited the
> PATH, checked that all appropriate registry entries are "python.exe" "%1"
> %* (I even tried %%), I've tried variations of "django-admin startproject"
> and "python django-admin startproject". The only thing that has worked so
> far is reinstalling Django. However, I wind up encountering the same
> problem eventually. Does anyone have a permanent fix not listed here? I am
> running Python27, Django 1.4, and Windows 7. Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To view this discussion on the web visit https://groups.google.com/d/*
> *ms**g/django-users/-/**G4kncIixzIAJ
> .
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscribe@**googl**egroups.com
> .
> For more options, visit this group at http://groups.google.com/**group
> **/django-users?hl=en
> .
>



 --
 Jani Tiainen

 - Well planned is half done, and a half done has been sufficient
 before...

   --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/django-users/-/**MFfD9AEjNQUJ
>>> .
>>>
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to django-users+unsubscribe@*
>>> *googlegroups.com .
>>> For more options, visit this group at http://groups.google.com/**
>>> group/django-users?hl=en
>>> .
>>>
>>
>>
>>
>> --
>> Jani Tiainen
>>
>> - Well planned is half done, and a half done has been sufficient before...
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/wTBEfVJGr6AJ.
>
> 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.
>



-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
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: Can't start new project

2012-04-14 Thread Brandy
What I mean is, I can create 2 or 3 new projects without problems. I play 
with them and create files, etc. Then, for whatever reason, when I run 
django-admin.py startproject  again, an editor widow opens 
(emacs in my case, since that is what I was using), and django doesn't 
create any files. All I can do is edit the projects I already have created.
 

On Saturday, April 14, 2012 12:45:32 AM UTC-5, Jani Tiainen wrote:

> I really suggest you to use virtualenv, it makes your life easier in the 
> long run. Also I use a TCC/LE instead of powershell / cmd prompt to mimic 
> more unix like environment. 
>
> Though you mentioned " After a while, if I try to start a new project, my 
> editor opens and no files or directories are created. "  what you exactly 
> mean by that?
>
> I feel that I should write short article how to make development in win7 
> slightly less painful...
>
> On Sat, Apr 14, 2012 at 8:19 AM, Brandy  wrote:
>
>> No, I'm not using virtual environments.
>>  
>>
>> On Friday, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote:
>>
>>> Are you using virtual environments?
>>>
>>> Since I've been doing all my django development on windows last 3 years 
>>> without any major problems...
>>>
>>> On Sat, Apr 14, 2012 at 6:04 AM, Brandy wrote:
>>>
 After first installing Django, I am able to use "django-admin.py 
 startproject " with no problem. After a while, if I try to 
 start a new project, my editor opens and no files or directories are 
 created. After doing LOTS of research, it turns out this is a rather 
 common 
 problem/bug. I have tried what feels like everything. I have edited the 
 PATH, checked that all appropriate registry entries are "python.exe" "%1" 
 %* (I even tried %%), I've tried variations of "django-admin startproject" 
 and "python django-admin startproject". The only thing that has worked so 
 far is reinstalling Django. However, I wind up encountering the same 
 problem eventually. Does anyone have a permanent fix not listed here? I am 
 running Python27, Django 1.4, and Windows 7. Thanks in advance. 

 -- 
 You received this message because you are subscribed to the Google 
 Groups "Django users" group.
 To view this discussion on the web visit https://groups.google.com/d/**
 msg/django-users/-/**G4kncIixzIAJ
 .
 To post to this group, send email to django-users@googlegroups.com.
 To unsubscribe from this group, send email to django-users+unsubscribe@
 **googlegroups.com .
 For more options, visit this group at http://groups.google.com/**
 group/django-users?hl=en
 .

>>>
>>>
>>>
>>> -- 
>>> Jani Tiainen
>>>
>>> - Well planned is half done, and a half done has been sufficient 
>>> before...
>>>
>>>   -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/MFfD9AEjNQUJ.
>>
>> 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.
>>
>
>
>
> -- 
> Jani Tiainen
>
> - Well planned is half done, and a half done has been sufficient before...
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/wTBEfVJGr6AJ.
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: Can't start new project

2012-04-13 Thread Jani Tiainen
I really suggest you to use virtualenv, it makes your life easier in the
long run. Also I use a TCC/LE instead of powershell / cmd prompt to mimic
more unix like environment.

Though you mentioned " After a while, if I try to start a new project, my
editor opens and no files or directories are created. "  what you exactly
mean by that?

I feel that I should write short article how to make development in win7
slightly less painful...

On Sat, Apr 14, 2012 at 8:19 AM, Brandy  wrote:

> No, I'm not using virtual environments.
>
>
> On Friday, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote:
>
>> Are you using virtual environments?
>>
>> Since I've been doing all my django development on windows last 3 years
>> without any major problems...
>>
>> On Sat, Apr 14, 2012 at 6:04 AM, Brandy wrote:
>>
>>> After first installing Django, I am able to use "django-admin.py
>>> startproject " with no problem. After a while, if I try to
>>> start a new project, my editor opens and no files or directories are
>>> created. After doing LOTS of research, it turns out this is a rather common
>>> problem/bug. I have tried what feels like everything. I have edited the
>>> PATH, checked that all appropriate registry entries are "python.exe" "%1"
>>> %* (I even tried %%), I've tried variations of "django-admin startproject"
>>> and "python django-admin startproject". The only thing that has worked so
>>> far is reinstalling Django. However, I wind up encountering the same
>>> problem eventually. Does anyone have a permanent fix not listed here? I am
>>> running Python27, Django 1.4, and Windows 7. Thanks in advance.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To view this discussion on the web visit https://groups.google.com/d/**
>>> msg/django-users/-/**G4kncIixzIAJ
>>> .
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to django-users+unsubscribe@*
>>> *googlegroups.com .
>>> For more options, visit this group at http://groups.google.com/**
>>> group/django-users?hl=en
>>> .
>>>
>>
>>
>>
>> --
>> Jani Tiainen
>>
>> - Well planned is half done, and a half done has been sufficient before...
>>
>>   --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/MFfD9AEjNQUJ.
>
> 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.
>



-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
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: Can't start new project

2012-04-13 Thread Brandy
No, I'm not using virtual environments.
 

On Friday, April 13, 2012 11:51:33 PM UTC-5, Jani Tiainen wrote:

> Are you using virtual environments?
>
> Since I've been doing all my django development on windows last 3 years 
> without any major problems...
>
> On Sat, Apr 14, 2012 at 6:04 AM, Brandy  wrote:
>
>> After first installing Django, I am able to use "django-admin.py 
>> startproject " with no problem. After a while, if I try to 
>> start a new project, my editor opens and no files or directories are 
>> created. After doing LOTS of research, it turns out this is a rather common 
>> problem/bug. I have tried what feels like everything. I have edited the 
>> PATH, checked that all appropriate registry entries are "python.exe" "%1" 
>> %* (I even tried %%), I've tried variations of "django-admin startproject" 
>> and "python django-admin startproject". The only thing that has worked so 
>> far is reinstalling Django. However, I wind up encountering the same 
>> problem eventually. Does anyone have a permanent fix not listed here? I am 
>> running Python27, Django 1.4, and Windows 7. Thanks in advance. 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/django-users/-/G4kncIixzIAJ.
>> 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.
>>
>
>
>
> -- 
> Jani Tiainen
>
> - Well planned is half done, and a half done has been sufficient before...
>
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/MFfD9AEjNQUJ.
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: Can't start new project

2012-04-13 Thread Jani Tiainen
Are you using virtual environments?

Since I've been doing all my django development on windows last 3 years
without any major problems...

On Sat, Apr 14, 2012 at 6:04 AM, Brandy  wrote:

> After first installing Django, I am able to use "django-admin.py
> startproject " with no problem. After a while, if I try to
> start a new project, my editor opens and no files or directories are
> created. After doing LOTS of research, it turns out this is a rather common
> problem/bug. I have tried what feels like everything. I have edited the
> PATH, checked that all appropriate registry entries are "python.exe" "%1"
> %* (I even tried %%), I've tried variations of "django-admin startproject"
> and "python django-admin startproject". The only thing that has worked so
> far is reinstalling Django. However, I wind up encountering the same
> problem eventually. Does anyone have a permanent fix not listed here? I am
> running Python27, Django 1.4, and Windows 7. Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/G4kncIixzIAJ.
> 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.
>



-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
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.



Can't start new project

2012-04-13 Thread Brandy
After first installing Django, I am able to use "django-admin.py 
startproject " with no problem. After a while, if I try to 
start a new project, my editor opens and no files or directories are 
created. After doing LOTS of research, it turns out this is a rather common 
problem/bug. I have tried what feels like everything. I have edited the 
PATH, checked that all appropriate registry entries are "python.exe" "%1" 
%* (I even tried %%), I've tried variations of "django-admin startproject" 
and "python django-admin startproject". The only thing that has worked so 
far is reinstalling Django. However, I wind up encountering the same 
problem eventually. Does anyone have a permanent fix not listed here? I am 
running Python27, Django 1.4, and Windows 7. Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/G4kncIixzIAJ.
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: I can't start new project

2011-12-27 Thread yati sagade
AT,
and they say hackers belong only to Linux :P Good job!

On Tue, Dec 27, 2011 at 8:37 PM, Andre Terra  wrote:

> It's not just %, it's %* (notice the asterisk).
>
> I just tried changing the value back and forth here and it worked as
> expected.
>
>
> Cheers,
> AT
>
>
> On Tue, Dec 27, 2011 at 12:44 PM, Varrant wrote:
>
>> In registry % was missing, but nothing changed.
>>
>> "One time solution work's nice :D
>>
>> I'll lookfor virtualenv
>>
>> Thanks for help :)
>>
>> --
>> 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.
>>
>>
>  --
> 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.
>

-- 
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: I can't start new project

2011-12-27 Thread Andre Terra
It's not just %, it's %* (notice the asterisk).

I just tried changing the value back and forth here and it worked as
expected.


Cheers,
AT

On Tue, Dec 27, 2011 at 12:44 PM, Varrant  wrote:

> In registry % was missing, but nothing changed.
>
> "One time solution work's nice :D
>
> I'll lookfor virtualenv
>
> Thanks for help :)
>
> --
> 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.
>
>

-- 
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: I can't start new project

2011-12-27 Thread Varrant
In registry % was missing, but nothing changed.

"One time solution work's nice :D

I'll lookfor virtualenv

Thanks for help :)

-- 
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: I can't start new project

2011-12-27 Thread Varrant
Windows 7 64

-- 
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: I can't start new project

2011-12-27 Thread Andre Terra
My bet is that you're using Windows.

Open the Registry Editor (hit Winkey+R, "regedit" (no quotes), hit enter)

---

Go to *HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command*
and check that it looks somewhat like '"PYDIR\\python.exe" "%1" %*'

If you're missing the final * %**, it won't work.

---

A different, one-time solution is to type the full paths in your
command-line:

C:\Python27\python.exe C:\path\to\django-admin.py startproject foobar


Also google for virtualenv and start using it!


Cheers,
AT


On Tue, Dec 27, 2011 at 12:01 PM, Varrant  wrote:

> Hello,
>
> I have installed python 2.7 and Django 1.3.1, but when I type:
>
> "django-admin.py startproject project"
>
> I receive only something like 'help' for that command
>
> How can i fix it?
>
> I already tried reinstalling Python and Django...
>
> --
> 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.
>
>

-- 
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: I can't start new project

2011-12-27 Thread Hassan
What is your Operating System ?

-- 
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.



I can't start new project

2011-12-27 Thread Varrant
Hello,

I have installed python 2.7 and Django 1.3.1, but when I type:

"django-admin.py startproject project"

I receive only something like 'help' for that command

How can i fix it?

I already tried reinstalling Python and Django...

-- 
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.