Hi,
Put python (Location of install python directory. mainly C:\Python26\) in
your windows environment variable path also with django-admin.py path.
Thanks,
Mitesh Patel
Senior OpenSource Executive,
Mobile: +91-97110-99601
Email: mitesh.patel1...@gmail.com
LinkedIn : http://in.linkedin.com/in/m
Maybe you have Python installed somewhere that's not described in the
shebang line?
Don't know, don't know your environment. Glad that your stuff works now :)
.
On Tue, Aug 30, 2011 at 4:22 PM, Phil wrote:
> I opened my "manage.py" file to insert the line, but it was already there
> on the fir
On 08/30/2011 04:18 PM, Yves S. Garret wrote:
I don't know about Windows (if anyone does, please say so), but in a
*nix OS putting this (don't remember its official name) at the top of
your file can help:
#!/usr/bin/env python
It's called a 'shebang line,' and it's ignored in Windows.
It's i
I opened my "manage.py" file to insert the line, but it was already there on
the first line.
--
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/-/uXSA23Fl7iEJ.
I don't know about Windows (if anyone does, please say so), but in a *nix OS
putting this (don't remember its official name) at the top of your file can
help:
#!/usr/bin/env python
On Tue, Aug 30, 2011 at 4:11 PM, Phil wrote:
> The permissions were OK, but putting python in front of it seems to
The permissions were OK, but putting python in front of it seems to have
worked(I have database connection issue now, but once I fix that I reckon it
will be work)!
Thanks Yves, big help!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To vie
gt; command and pull down my code onto my server. But when I go into my project
> folder and run the command...
>
> "./manage.py runfcgi method=threaded host=127.0.0.1 port=8080"
>
> I get the following error...
>
> "manage.py: command not found"
>
> If
method=threaded host=127.0.0.1 port=8080"
I get the following error...
"manage.py: command not found"
If I start a project directly on my server running the "startproject"
command it works fine, it's only when I clone a project onto my server I get
this.
Is there anyth
essage,
> so I execute the same command, this time with sudo, so sudo ./manage.py ,
> but it tells me that
> ./manage.py command not found
>
> can anyone explain me what's wrong?
>
> thanks
>
>
> --
> You received this message because you are subsc
If you're talking about the line that imports your app, that usually
means you have an error in your application code (the views or the
models). Try starting the shell and run "import x" manually and
see what errors you get.
-Eddie
On Mar 30, 11:57 am, "jay K." wrote:
> hi, Shawn
>
> I finall
On Wed, Mar 30, 2011 at 11:57 AM, jay K. wrote:
>
> hi, Shawn
>
> I finally managed to get python manage.py shell to work, by commenting
> out those INSTALLED_APPS that had an issue with 'import x'
>
> it turns out that 'import x' was the problem.
>
> do you have any suggestions to fix 'im
hi, Shawn
I finally managed to get python manage.py shell to work, by commenting
out those INSTALLED_APPS that had an issue with 'import x'
it turns out that 'import x' was the problem.
do you have any suggestions to fix 'import x'?
thanks
On Wed, Mar 30, 2011 at 12:25 PM, jay K.
Hello, Shawn
I type python manage.py shell in my project directory and get the following
error
Error: No module named xx
regards
On Wed, Mar 30, 2011 at 11:52 AM, Shawn Milochik wrote:
> Check the permissions on manage.py. I'm guessing it's not executable.
>
> Either use chmod +x on manag
Hi,
Try it: python manage.py
On Wed, Mar 30, 2011 at 9:52 AM, Shawn Milochik wrote:
> Check the permissions on manage.py. I'm guessing it's not executable.
>
> Either use chmod +x on manage.py or execute it with Python: python
> manage.py.
>
> --
> You received this message because you are subs
Check the permissions on manage.py. I'm guessing it's not executable.
Either use chmod +x on manage.py or execute it with Python: python manage.py.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-user
shell inside my current project, but
get a "permission denied" message,
so I execute the same command, this time with sudo, so sudo ./manage.py ,
but it tells me that
./manage.py command not found
can anyone explain me what's wrong?
thanks
--
You received this message because yo
16 matches
Mail list logo