Muhammad,
Use the command ifconfig (Linux, Mac) or ipconfig (Windows) to
see your local IP address.
--Fred
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- G
0.0.0.0 is not an actual IP address. You can’t put it in your browser.
Instead, you need to find your computer’s IP address and use that. How you
find it depends on your OS, but once you do, then you can visit
http://192.168.0.5:8000/ (for example).
> On Nov 4, 2015, at 5:50 PM, Muhammad As
Start your site with python manage.py runserver 0.0.0.0:8000
On Thu, 5 Nov 2015 at 11:35 Muhammad Asamov wrote:
> HI
> I was wodering whether someone can hepl me with startproject
>
> The thing is when I am running startproject from the server ip
> 127.0.0.1:8000
> which was created automaticly
HI
I was wodering whether someone can hepl me with startproject
The thing is when I am running startproject from the server ip
127.0.0.1:8000
which was created automaticly i can see the result but if i give different
address:
0.0.0.0:8000 I can see nothing it is not showing anything
Actuall
virtualenv seems to work well and I can get django tamed.
On Saturday, July 20, 2013 5:55:21 PM UTC-4, Jay Lozier wrote:
>
> Using openSUSE 12.3
> python 2.7.3
> django 1.5.1 installed manually and verified
>
> When I enter "django-admin.py startproject mysite" at the command prompt I
> get the f
beside gods of olympo say that env var PYTHONPATH handle this,
please verify what your PATH and PYTHONPATH (command echo $PATH; echo
$PYTHONPATH) (where this is setting depends of what shell (sh, bash, etc)
set and use export;
when i use a shared host i have this same problems.
i solve this exp
I get this
note: I have completely deleted any django packages on the my system and
could get any version but the dev version to even get past the first step.
the dev 1.7 version would run django-admin.py startproject myfirstsite but
now python manage.py runserver does not work
error in line 10
please what appear when you run this code:
python
import sys
for locals in sys.path:
print locals
Em sábado, 20 de julho de 2013 18h55min21s UTC-3, Jay Lozier escreveu:
>
> Using openSUSE 12.3
> python 2.7.3
> django 1.5.1 installed manually and verified
>
> When I enter "django-admin.py
It looks like the path to django-admin.py is not in your system path.
You can try using the absolute path. ie:
/usr/lb/python2.7/dist-packages/django/bin/django-admin.py startproject
mysite
The tutorial also gives the following advice:
“command not found: django-admin.py”
*django-admin.py*
The tutorial mentions the most common issues:
* django-admin.py not on your path
* django-admin.py lacking executable permission
* django-admin.py was renamed by your operating system distributor
It also explains how to solve each of those issues.
Have you tried the suggested solutions the tutor
On Mon, Jul 23, 2012 at 4:58 PM, boxxtcy wrote:
> I tried without the .py, still doesn't do anything. django-admin.py lives
> in my C:\Python27\Scripts just as it is supposed to. I don't really see
> what the issue is :/
Don't rely on the association of .py files with the Python interpeter
and
I tried without the .py, still doesn't do anything. django-admin.py lives
in my C:\Python27\Scripts just as it is supposed to. I don't really see
what the issue is :/
On Monday, July 23, 2012 2:59:18 PM UTC-4, Joel Goldstick wrote:
>
> On Mon, Jul 23, 2012 at 12:38 PM, boxxtcy wrote:
> > Wh
On Mon, Jul 23, 2012 at 12:38 PM, boxxtcy wrote:
> When trying to follow this tutorial, I get stuck after django-admin.py
> startproject mysite because no directory is created. I doubt the command is
> even being executed, all it brings up is the code in a notepad++ window. I
> have django insta
http://stackoverflow.com/questions/2870262/django-admin-py-startproject-mysite-not-working-well-on-windows-7
solved
my problem.
2012/6/19 Seyfullah Tıkıç
> Yes, I use an admin account. Python.exe is in my path as "c:\Python27". Ok
> I will try python way.
>
> Thank you.
>
>
> 2012/6/19 Dennis
Yes, I use an admin account. Python.exe is in my path as "c:\Python27". Ok
I will try python way.
Thank you.
2012/6/19 Dennis Lee Bieber
> On Tue, 19 Jun 2012 08:41:55 +0300, Seyfullah Tıkıç
> declaimed the following in gmane.comp.python.django.user:
>
> > Ok, now I did it as you said. It i
Ok, now I did it as you said. It is the same :
C:\Python27\MyFiles>assoc .py=py_auto_file
.py=py_auto_file
C:\Python27\MyFiles>ftype py_auto_file="C:\Python27\python.exe" "%1" %*
py_auto_file="C:\Python27\python.exe" "%1" %*
C:\Python27\MyFiles>t.py a s d
Argument 0 is C:\Python27\MyFiles\t.py
Th
Thank you for suggestions. What I have done is as follows : The problem
still exists, what can I do next?
C:\Users\syftkc>assoc .py .py=py_auto_file
.py .py=py_auto_file
C:\Users\syftkc>ftype py_auto_file py_auto_file="C:\Python27\python.exe"
"%1" %
py_auto_file py_auto_file="C:\Python27\python.
Any suggestions please?
2012/6/18 Seyfullah Tıkıç
> Yes, I restarted my computer.
>
>
> 2012/6/18 şahin mersin
>
>> Did you restart your computer?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email
Yes, I restarted my computer.
2012/6/18 şahin mersin
> Did you restart your computer?
>
> --
> 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,
I created a file named t.py and wrote what you wrote.
In the first step, I see this :
C:\Python27\MyFiles>t.py a one and a two
Argument 0 is C:\Python27\MyFiles\t.py
2012/6/18 Dennis Lee Bieber
> On Sun, 17 Jun 2012 15:54:39 -0700 (PDT), stikic
> declaimed the following in gmane.comp.python.
Did you restart your computer?
--
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
yes.I have installed it with the setuptools (python setup.py install)
is that affect in my issue?
On Apr 30, 5:25 pm, Yongning Liang wrote:
> if you tried the command django-admin.py startproject mysite and it output
> the usage, it mean the PATH of Python and django-admin.py is correct, maybe
>
if you tried the command django-admin.py startproject mysite and it output
the usage, it mean the PATH of Python and django-admin.py is correct, maybe
you type a wrong subcommand.
BTW, are you install Django with setuptools(python setup.py install)?
On Sat, Apr 30, 2011 at 10:16 PM, Daisy wrote:
I have just did what you said and the result was (no project created)
and the output was:
Usage: django-admin.py subcommand [options] [args]
Options:
-v VERBOSITY, --verbosity=VERBOSITY
Verbosity level; 0=minimal output, 1=n
The path of django-admin.py is *YOUR_PYTHON_PATH*
\Lib\site-packages\django\bin
after this, you can just type django-admin.py startproject mysite to start a
project.
but make sure that your .py file default open by Python, if not,
right-click(Shift + right-click in XP) a .py file and select open wi
Thank you for your reply,
Python is in my system PATH but How to add django-admin in my path. I
mean what will be the enviroment variable for django-admin that i have
to put in my system PATH?
On Apr 30, 4:37 am, Yongning Liang wrote:
> type this in Windows
> python django-admin.py startproject m
type this in Windows
python django-admin.py startproject mysite
if it doesn't work, make sure that both python and django-admin in you
system PATH
On Sat, Apr 30, 2011 at 5:38 AM, Daisy wrote:
> Greetings all;
>
> I have a problem also with the "django-admin.py startproject mysite"
> command
>
>
Greetings all;
I have a problem also with the "django-admin.py startproject mysite"
command
when i type it, it didn't create the directory mysite instead it opens
the django-admin.py in a notepad++
I don't know how to fix this?
any ideas please.
--
You received this message because you are sub
On Mon, Apr 4, 2011 at 4:11 AM, Santiago Caracol wrote:
> Does the Django tutorial still match reality?
Yes, startproject is still a valid command for django-admin.py. Do you have
the environment variable DJANGO_SETTINGS_MODULE set to something? That would
cause the behavior you are seeing, per
Hi Santiago,
I think there is some problem in your installation of Django 1.3 , i
installed it myself and there is no problem with
*django-admin.py startproject mysite*
even the help of django-admin-py lists startproject command
I think re-installation can work.
*Best Regards,
Jitendra
30 matches
Mail list logo