Re: Django-admin.py Error

2017-04-17 Thread Chris Bartos
This issue is something to do with your Python version. Uninstall Python and install Python 2.7.8 instead of 2.7.7 as it seems there are issues with it. Chris On Tuesday, May 26, 2015 at 1:06:07 AM UTC-5, Shashwat singh wrote: > > Django is properly installed but when i run, django-admin.py it

Re: django-admin.py startproject mysite

2015-11-10 Thread Fred Stluka
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

Re: django-admin.py startproject mysite

2015-11-10 Thread Peter of the Norse
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

Re: django-admin.py startproject mysite

2015-11-04 Thread Dheerendra Rathor
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

Re: django-admin.py startproject mysite

2015-11-04 Thread Muhammad Asamov
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

Re: django-admin.py sqldropindexes app_label

2015-07-28 Thread Tim Graham
I think it's this bug which will be fixed in Django 1.9: https://code.djangoproject.com/ticket/24390 On Tuesday, July 28, 2015 at 8:36:34 AM UTC-4, Franck Samson wrote: > > Hello, > > > I'm a beginner in Django, I use Django 1.8 in a virtualenv with python 3.4 > and a postgresql database. I cre

Re: Django-admin.py Error

2015-05-26 Thread Adailton (Dhelbegor)
This the error: ImportError: cannot import name _compare_digest if this is one class, verify the import. example: in models.py: class One(...) your code here and admin.py: from .models import One > -- You received this message because you are subscribed to the Google Grou

Re: django-admin.py --> permission denied (shared server deployment)

2015-05-19 Thread x
hey, thanks for the quick responses! before i go any further on installing i need to think about tom evans advise: > Incidentally, having your python code installed inside your htdocs is > a stunningly bad idea even if you can get it to work, as anyone who > can guess the path to a particular f

Also: installing postgres w/o root Re: django-admin.py --> permission denied (shared server deployment)

2015-05-19 Thread Andrew Farrell
Hi Florian It occurs to me that, you may want to install postgresql, a more powerful database. Here is how to do so without root permissions: conda install --channel https://conda.binstar.org/bkreider postgresql psycopg2 which psql createuser -s test_user1 --pwprompt --createdb --no-superuser --n

Re: django-admin.py --> permission denied (shared server deployment)

2015-05-19 Thread Andrew Farrell
Hello Florian, If you are having trouble installing python without root permissions, you should consider installing the miniconda distribution of python that is used in the scientific computing community. Assuming you are on a linux server, you can do this

Re: django-admin.py --> permission denied (shared server deployment)

2015-05-19 Thread monoBOT
2015-05-19 13:32 GMT+01:00 Tom Evans : > for any suggestions how to domesticate django on this shared server i'd be > very happy. ​try ​python /customers/homepages/45/d5012545412/htdocs/python27/bin/django-admin.py startapp myapp -- *monoBOT* Visite mi sitio(Visit my site): monobotsoft.es/bl

Re: django-admin.py --> permission denied (shared server deployment)

2015-05-19 Thread Tom Evans
On Tue, May 19, 2015 at 9:04 AM, x wrote: > hello hello, > > finally i was able to install a python instance on my shared-server. > it was also impossible to pip-install django. yeah. > > but right then - so close already - i got a permission problem again. > i couldn't figure out exactly what dja

Re: django-admin.py ne fonctionne pas

2014-03-17 Thread Pierre Capdevila
J'ai trouvé ! La réponse est ici . -- 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, se

Re: django-admin.py startproject mysite error

2013-07-23 Thread Jay Lozier
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

Re: django-admin.py startproject mysite error

2013-07-22 Thread gilberto dos santos alves
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

Re: django-admin.py startproject mysite error

2013-07-21 Thread Jay Lozier
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

Re: django-admin.py startproject mysite error

2013-07-21 Thread gilberto dos santos alves
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

Re: django-admin.py

2013-06-08 Thread Александр Соболев
I think, you should activate virtualenv. (example: source /bin/activate). If it's ok and you have the same problem, you should install django (with activated virtualenv) pip install django 2013/6/8 Satinderjit Singh > I an a beginner in Django trying to follow manual . But i m getting message >

Re: django-admin.py startproject mysite

2013-04-12 Thread Nick D
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*

Re: django-admin.py startproject mysite

2013-04-12 Thread James Bennett
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

Re: django-admin.py and manage.py both fail in dev

2013-02-10 Thread David
Problem solved. Once I straightened out my path issues it came down to the following: *python manage.py validate* works fine while * manage.py validate* does not. It just returns the help text as if I had run *manage.py* with no parameters. Clearly either Win7 or Python33 or Django 1.6dev i

Re: django-admin.py and manage.py both fail in dev

2013-02-10 Thread Ramiro Morales
On Sun, Feb 10, 2013 at 3:22 AM, David Flory wrote: > When I run either django-admin.py or manage.py all I get is the help screen > for the command regardless of the parameters I give. > > For example: > django-admin.py startproject mysite > returns the help screen. It does not create mysite/. >

Re: django-admin.py and manage.py both fail in dev

2013-02-10 Thread David
and that the code fragment in my OP works and returns the dev version. On Sunday, February 10, 2013 10:43:14 AM UTC-5, David Flory wrote: > > I should have said that I am running Windows 7 (64 bit) and 64 bit VC10 > versions of my software. -- You received this message because you are subscrib

Re: django-admin.py not working on OS X 10.5

2012-08-04 Thread James Walton
Brandon, I had the same issue and this is how I resolved it. 1. Delete the reference django-admin.py in /usr/local/bin that was generated by the installer. 2. Then, manually recreate the symlink by doing: 3. ln -s YOUR_ABSOLUTE_PATH/build/scripts-2.7/django-admin.py /usr/local/bin 4. Close th

Re: django-admin.py startproject mysite... this command does nothing for me

2012-07-23 Thread Ramiro Morales
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

Re: django-admin.py startproject mysite... this command does nothing for me

2012-07-23 Thread boxxtcy
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

Re: django-admin.py startproject mysite... this command does nothing for me

2012-07-23 Thread Joel Goldstick
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

Re: django-admin.py makemessages issue

2012-07-12 Thread Phil
Now I'm getting the following error... Error: errors happened while running xgettext on __init__.py /bin/sh: 1: xgettext: not found It creates the right folders, but no .mo files. On Thursday, July 12, 2012 7:13:14 PM UTC+1, Phil wrote: > > ugh, that would explain it! Thanks a lot Tomas. > > O

Re: django-admin.py makemessages issue

2012-07-12 Thread Phil
ugh, that would explain it! Thanks a lot Tomas. On Thursday, July 12, 2012 7:02:11 PM UTC+1, Tomas Neme wrote: > > "django-admin.py makemessages -l de" > "django-admin.py makemessages -l es" > > > > Hi, > > > > (django version 1.3.1, Python2.7) > > > > (at the end of my settings file) > > =

Re: django-admin.py makemessages issue

2012-07-12 Thread Tomas Neme
"django-admin.py makemessages -l de" "django-admin.py makemessages -l es" On Thu, Jul 12, 2012 at 2:59 PM, Phil wrote: > Hi, > > (django version 1.3.1, Python2.7) > > (at the end of my settings file) > > # translation support > ugettext = lambda s: s > > LANGUAGES = ( >

Re: django-admin.py startproject mysite

2012-06-19 Thread Seyfullah Tıkıç
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

Re: django-admin.py startproject mysite

2012-06-19 Thread 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 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

Re: django-admin.py startproject mysite

2012-06-18 Thread Seyfullah Tıkıç
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

Re: django-admin.py startproject mysite

2012-06-18 Thread Seyfullah Tıkıç
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.

Re: django-admin.py startproject mysite

2012-06-18 Thread Seyfullah Tıkıç
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

Re: django-admin.py startproject mysite

2012-06-18 Thread 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 to django-users@googlegroups.com. > To unsubscribe from this group,

Re: django-admin.py startproject mysite

2012-06-18 Thread Seyfullah Tıkıç
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.

Re: django-admin.py startproject mysite

2012-06-17 Thread ş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, send email to django-users+unsubscr...@googlegroups.com. For more

Re: django-admin.py startproject doesn't work

2012-02-13 Thread Jonathan Paugh
On 02/13/2012 11:01 AM, Dennis Lee Bieber wrote: > On Sun, 12 Feb 2012 23:02:20 -0800 (PST), raddy > wrote: ... > Can you run ANY python script (.py) file by typing its name on the > command line?... Say something that does nothing more than: > > print "I'm running" > > (test while /in/ th

RE: django-admin.py startproject doesn't work

2012-02-13 Thread Bob Carlson
--Original Message- From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of James Jang Sent: Monday, February 13, 2012 09:34 To: Django users Subject: Re: django-admin.py startproject doesn't work Is "django-admin.py" file in the directory, "Djan

Re: django-admin.py startproject doesn't work

2012-02-13 Thread jak.plopelor
I don't know, but on ubuntu it's call just 'django-admin' without the. 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-users@googlegroups.com. To unsubscribe from this group, send email to django-u

Re: django-admin.py startproject doesn't work

2012-02-13 Thread James Jang
Is "django-admin.py" file in the directory, "Django-1.3.1"?? (If not copy or move the file from in "Django-1.3.1/django/bin/" to "Django-1.3.1/".) On 2월13일, 오후4시02분, raddy wrote: > I have windows7 OS and have installed Python27 and Django1.3.1 > I have also set the path in the environment va

Re: django-admin.py startproject will NOT work.

2012-01-02 Thread Chris Kavanagh
Thanks to EVERYONE for the help! ( and Bart for his help/patience!) -- 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

Re: django-admin.py startproject will NOT work.

2012-01-02 Thread Chris Kavanagh
On Jan 2, 4:59 am, Andre Terra wrote: > Use virtualenv:  http://pypi.python.org/pypi/virtualenv > > Cheers, > AT > > I think I'll give that a try. Thanks for the help. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: django-admin.py startproject will NOT work.

2012-01-02 Thread Andre Terra
Use virtualenv: http://pypi.python.org/pypi/virtualenv Cheers, AT On Sun, Jan 1, 2012 at 10:29 PM, Bart Nagel wrote: > At 2012-01-01 14:23:50 -0800, Chris Kavanagh wrote: > > On Jan 1, 4:44 am, Bart Nagel wrote: > > > At 2012-01-01 01:12:27 -0800, Chris Kavanagh wrote: > > > > > > > On Dec 3

Re: django-admin.py startproject will NOT work.

2012-01-01 Thread Bart Nagel
At 2012-01-01 14:23:50 -0800, Chris Kavanagh wrote: > On Jan 1, 4:44 am, Bart Nagel wrote: > > At 2012-01-01 01:12:27 -0800, Chris Kavanagh wrote: > > > > > On Dec 31 2011, 7:13 pm, Bart Nagel wrote: > > > > When I run that I get > > > > 3 arguments: ['args.py', 'startproject', 'mysite'] > > > >

Re: django-admin.py startproject will NOT work.

2012-01-01 Thread Chris Kavanagh
On Jan 1, 4:44 am, Bart Nagel wrote: > At 2012-01-01 01:12:27 -0800, Chris Kavanagh wrote: > > > On Dec 31 2011, 7:13 pm, Bart Nagel wrote: > > > When I run that I get > > > 3 arguments: ['args.py', 'startproject', 'mysite'] > > > > Paste your own output. > > > I get the same as you: > > > C:\P

Re: django-admin.py startproject will NOT work.

2012-01-01 Thread Bart Nagel
At 2012-01-01 01:12:27 -0800, Chris Kavanagh wrote: > On Dec 31 2011, 7:13 pm, Bart Nagel wrote: > > When I run that I get > >     3 arguments: ['args.py', 'startproject', 'mysite'] > > > > Paste your own output. > > I get the same as you: > > C:\Python27\Scripts>python args.py startproject mysi

Re: django-admin.py startproject will NOT work.

2012-01-01 Thread Chris Kavanagh
On Dec 31 2011, 7:13 pm, Bart Nagel wrote: > At 2011-12-31 16:00:44 -0800, Chris Kavanagh wrote: > > > On Dec 31, 6:48 pm, Bart Nagel wrote: > > > Does this little script tell you correctly the number of arguments you > > > pass to it? > > > Yes, it tells me the number of args. > > Okay, in tha

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Timothy Makobu
+1 On Sun, Jan 1, 2012 at 9:49 AM, Bart Nagel wrote: > At 2011-12-31 18:56:14 -0800, Chris Kavanagh wrote: > > Ok I've had a breakthrough (I guess,lol). I started a command prompt > > from my Python Scripts folder (C:\Python27\Scripts\), typed in "Python > > django-admin.py startproject mysite",

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 18:56:14 -0800, Chris Kavanagh wrote: > Ok I've had a breakthrough (I guess,lol). I started a command prompt > from my Python Scripts folder (C:\Python27\Scripts\), typed in "Python > django-admin.py startproject mysite", and it worked!! I now have the > "mysite" folder with appropria

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 18:47:13 -0800, Chris Kavanagh wrote: > Forgive my ignorance, but if that's the way it's supposed to work > (script must be in current dir) then how would Python know to run > django-admin.py if I'm NOT in the same directory it is > (Python27\Scripts\)??? In other words, the tutorial

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
> > No, that's not wrong, that's how it should be. The python interpreter > is in your path, but you're telling the interpreter which file to run. > If you tell it to run a file args.py and there is no such file in the > current directory, it's correct to give you an error message. > > Does this l

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 7:00 pm, Chris Kavanagh wrote: > On Dec 31, 6:48 pm, Bart Nagel wrote: > > > > > > > > > > > At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > > > > Ok, I CAN start the Python Interpreter from the command line by just > > > typing "python" then "enter". > > > > I saved the file "

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 16:00:44 -0800, Chris Kavanagh wrote: > On Dec 31, 6:48 pm, Bart Nagel wrote: > > Does this little script tell you correctly the number of arguments you > > pass to it? > > Yes, it tells me the number of args. Okay, in that case the arguments should also be getting to the django-a

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 6:48 pm, Bart Nagel wrote: > At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > > > Ok, I CAN start the Python Interpreter from the command line by just > > typing "python" then "enter". > > > I saved the file "args.py" in the Python Scripts folder. When I try to > > run it from co

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 6:48 pm, Bart Nagel wrote: > At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > > > Ok, I CAN start the Python Interpreter from the command line by just > > typing "python" then "enter". > > > I saved the file "args.py" in the Python Scripts folder. When I try to > > run it from co

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > Ok, I CAN start the Python Interpreter from the command line by just > typing "python" then "enter". > > I saved the file "args.py" in the Python Scripts folder. When I try to > run it from command prompt, I get the message "python: can't open

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 6:18 pm, Bart Nagel wrote: > At 2011-12-31 15:01:39 -0800, Chris Kavanagh wrote: > > > > > > > > > > > On Dec 31, 11:58 am, Bart Nagel wrote: > > > What about other Python programs? Do they have the same problem? > > > > Put this next paragraph in a file and run it with different num

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 15:01:39 -0800, Chris Kavanagh wrote: > On Dec 31, 11:58 am, Bart Nagel wrote: > > What about other Python programs? Do they have the same problem? > > > > Put this next paragraph in a file and run it with different numbers of > > arguments and see what happens. > > > > import sys >

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 12:38 pm, Ramiro Morales wrote: > On Fri, Dec 30, 2011 at 4:04 PM, Chris Kavanagh wrote: > > >>   C:\python27\python C:\path\to\django-admin startproject foo > > >> or, if you have C:\python27 in the PATH, simply: > > >>   python C:\path\to\django-admin startproject foo > > > Thanks

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 11:58 am, Bart Nagel wrote: > At 2011-12-31 19:47:35 +0300, Timothy Makobu wrote: > > > File associations are fine i reckon, because django-admin is giving you the > > help message because for some reason it thinks you're *giving it improper > > input*. > > What about other Python pro

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 11:47 am, Timothy Makobu wrote: > Hi, > > File associations are fine i reckon, because django-admin is giving you the > help message because for some reason it thinks you're *giving it improper > input*. > >So, you're saying you don't believe this is the problem (File Associations)??

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 12:13 pm, Andre Terra wrote: > This has been answered before: > > http://groups.google.com/group/django-users/browse_thread/thread/9d53... > > Cheers, > AT > > > Yes, I saw that thread, and I tried changing my registry as suggested. And > the other 'work around'. Neither worked. > >

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Ramiro Morales
On Fri, Dec 30, 2011 at 4:04 PM, Chris Kavanagh wrote: >> >>   C:\python27\python C:\path\to\django-admin startproject foo >> >> or, if you have C:\python27 in the PATH, simply: >> >>   python C:\path\to\django-admin startproject foo >> > > Thanks for the reply, however it didn't work. I get the e

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Andre Terra
This has been answered before: http://groups.google.com/group/django-users/browse_thread/thread/9d5352d7921e0eb4?hl=en# Cheers, AT On Sat, Dec 31, 2011 at 2:58 PM, Bart Nagel wrote: > At 2011-12-31 19:47:35 +0300, Timothy Makobu wrote: > > File associations are fine i reckon, because django-

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 19:47:35 +0300, Timothy Makobu wrote: > File associations are fine i reckon, because django-admin is giving you the > help message because for some reason it thinks you're *giving it improper > input*. What about other Python programs? Do they have the same problem? Put this next pa

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Timothy Makobu
Hi, File associations are fine i reckon, because django-admin is giving you the help message because for some reason it thinks you're *giving it improper input*. On Sat, Dec 31, 2011 at 7:40 PM, Chris Kavanagh wrote: > While looking for a solution, I found someone with a similar problem. > he t

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 08:40:26 -0800, Chris Kavanagh wrote: > While looking for a solution, I found someone with a similar problem. > he thought there was a problem with the way Python Files are > associated. So I did what was suggested on the command line, using > "assoc.py" and ftype Python.File. What I

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
While looking for a solution, I found someone with a similar problem. he thought there was a problem with the way Python Files are associated. So I did what was suggested on the command line, using "assoc.py" and ftype Python.File. What I got back is listed below. I don't think this is right accord

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 10:19 am, Dennis Lee Bieber wrote: > On Fri, 30 Dec 2011 16:36:32 -0800 (PST), Chris Kavanagh > > wrote: > >> I'm not sure you'll be able to see the screenshot at the link, it's very > >> small. So, here's a copy/paste of it from my command prompt: > > >C:\Documents and Settings\mys

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Chris Kavanagh
On Dec 30, 8:10 am, Ramiro Morales wrote: > On Fri, Dec 30, 2011 at 1:32 AM, Chris Kavanagh wrote: > > Hi, I'm using WinXP, Python27, django 1.3.1. > > > When I try django-admin.py startproject mysite, I get a "Usage django- > > admin.py subcommand [options] [args]" listing of commands instead

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Chris Kavanagh
On Dec 30, 3:43 pm, Timothy Makobu wrote: > Hi, > > If you can, upload a screenshot of the command prompt with the commands > entered herehttps://droplr.comand send us the link. > > I'm not sure you'll be able to see the screenshot at the link, it's very > small. So, here's a copy/paste of it fr

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Chris Kavanagh
On Dec 30, 3:43 pm, Timothy Makobu wrote: > Hi, > > If you can, upload a screenshot of the command prompt with the commands > entered herehttps://droplr.comand send us the link. > > Certainly, thanks. https://droplr.com/images > > > > > > -- You received this message because you are subscrib

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Timothy Makobu
Hi, If you can, upload a screenshot of the command prompt with the commands entered here https://droplr.com and send us the link. On Fri, Dec 30, 2011 at 10:13 PM, Chris Kavanagh wrote: > > > On Dec 30, 9:42 am, Kev Dwyer wrote: > > Chris Kavanagh wrote: > > > Hi, I'm using WinXP, Python27, dj

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Chris Kavanagh
On Dec 30, 9:42 am, Kev Dwyer wrote: > Chris Kavanagh wrote: > > Hi, I'm using WinXP, Python27, django 1.3.1. > > > When I try django-admin.py startproject mysite, I get a "Usage django- > > admin.py subcommand [options] [args]" listing of commands instead of > > starting the project in mysite f

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Chris Kavanagh
On Dec 30, 8:10 am, Ramiro Morales wrote: > On Fri, Dec 30, 2011 at 1:32 AM, Chris Kavanagh wrote: > > Hi, I'm using WinXP, Python27, django 1.3.1. > > > When I try django-admin.py startproject mysite, I get a "Usage django- > > admin.py subcommand [options] [args]" listing of commands instead

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Kev Dwyer
Chris Kavanagh wrote: > Hi, I'm using WinXP, Python27, django 1.3.1. > > When I try django-admin.py startproject mysite, I get a "Usage django- > admin.py subcommand [options] [args]" listing of commands instead of > starting the project in mysite folder. . .I've tried every workaround > I've fou

Re: django-admin.py startproject will NOT work.

2011-12-30 Thread Ramiro Morales
On Fri, Dec 30, 2011 at 1:32 AM, Chris Kavanagh wrote: > Hi, I'm using WinXP, Python27, django 1.3.1. > > When I try django-admin.py startproject mysite, I get a "Usage django- > admin.py subcommand [options] [args]" listing of commands instead of > starting the project in mysite folder. . .I've t

Re: django-admin.py not found

2011-08-30 Thread PremAnand Lakshmanan
The setup.py just gets opened as a text file. But you can ignore it now, Django got installed once I used this command, python setup.py install instead of setup.py install Thanks for your great support. On Tue, Aug 30, 2011 at 9:58 PM, Yves S. Garret wrote: > What do you mean it gets opened?

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
What do you mean it gets opened? Also, I'd recommend doing this in a temp My Documents (Documents in Vista/Windows 7) folder, let the installers build the necessary directory trees (get rid of the previous installs.) On Tue, Aug 30, 2011 at 9:52 PM, PremAnand Lakshmanan wrote: > I downloaded as

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
No. Here is a more lengthy explanation as to what you need to do: https://docs.djangoproject.com/en/dev/topics/install/#installing-official-release On Tue, Aug 30, 2011 at 8:46 PM, PremAnand Lakshmanan wrote: > Where do I type the following commands? Is it in the python shell? > > tar xzvf Djan

Re: django-admin.py not found

2011-08-30 Thread PremAnand Lakshmanan
Where do I type the following commands? Is it in the python shell? tar xzvf Django-1.3.tar.gz cd Django-1.3 sudo python setup.py install What does tar xzvf mean? On Tue, Aug 30, 2011 at 8:41 PM, Yves S. Garret wrote: > Where do you have Python installed? > > I just followed these steps to insta

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
Where do you have Python installed? I just followed these steps to install Django, worked like a charm (no special setup or anything.) I did this just for the fun of it without any production settings (just to try stuff out), did you do something different? https://docs.djangoproject.com/en/dev/

Re: django-admin.py not found

2011-08-30 Thread PremAnand Lakshmanan
I dont see any file under site packages. I think my Django is not installed within Python. Something is wrong.. On Tue, Aug 30, 2011 at 8:28 PM, Yves S. Garret wrote: > Do me a favor and check that you have install>\Lib\site-packages\django\bin\django-admin.py > > If you do, try that. I don't

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
Do me a favor and check that you have \Lib\site-packages\django\bin\django-admin.py If you do, try that. I don't think I have a C:\django-1.3\... directory, could be an issue with how you installed it (I didn't experiment, there was no need). On Tue, Aug 30, 2011 at 8:18 PM, PremAnand Lakshmanan

Re: django-admin.py not found

2011-08-30 Thread PremAnand Lakshmanan
My django-admin.py file is located in C:\django-1.3\django\bin\django-admin.py I tried executing this command but get the following error in my python shell, >>> python C:\django-1.3\django\bin\django-admin.py startproject mysite SyntaxError: invalid syntax On Tue, Aug 30, 2011 at 11:28 AM,

Re: django-admin.py not found

2011-08-30 Thread Yves S. Garret
What OS are you running? Is it in your path? I'm having a similar issue and managed to get around it (although the solution is not as elegant as I'd like) using this: python C:\Python27\Lib\site-packages\django\bin\django-admin.py startproject mysite2 On Tue, Aug 30, 2011 at 10:39 AM, PremAnand

Re: django-admin.py not found

2011-08-30 Thread Bill Freeman
Not all methods of installing Django on all systems manage to make that file work as a command. You can use whatever file search tool your system provides to find the file. For example, almost everywhere but windows you can type, at a bash prompt. find / -name django-admin.py 2>& /dev/null A

Re: django-admin.py not found

2011-08-29 Thread Kejun He
the django-admin must in the sys path On Tue, Aug 30, 2011 at 11:19 AM, PremAnand Lakshmanan wrote: > Hi, > I don't find the django-admin.py. > > I get the following error while trying to execute the following command, > > django-admin.py startproject mysite > > SyntaxError: invalid syntax > > --

Re: django-admin.py startproject mysite

2011-05-01 Thread Daisy
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 >

Re: django-admin.py startproject mysite

2011-04-30 Thread Yongning Liang
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:

Re: django-admin.py startproject mysite

2011-04-30 Thread Daisy
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

Re: django-admin.py startproject mysite

2011-04-30 Thread Yongning Liang
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

Re: django-admin.py startproject mysite

2011-04-30 Thread Daisy
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

Re: django-admin.py startproject mysite

2011-04-29 Thread Yongning Liang
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 > >

Re: django-admin.py startproject mysite

2011-04-29 Thread Daisy
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

Re: django-admin.py startproject mysite

2011-04-05 Thread Karen Tracey
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

Re: django-admin.py startproject mysite

2011-04-04 Thread Jiten Singh
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

Re: django-admin.py not working?

2011-01-18 Thread Derek
You're right - they don't (and you can suggest they do - other code on the same page does show this e.g. python manage.py runserver). However... Django is written in Python and it does say right on the "Getting started" page (http://docs.djangoproject.com/en/dev/intro/) that "If you’re new to Pyt

  1   2   >