Re: django-admin py extension on fedora
On Oct 22, 1:34 pm, kenneth gonsalves wrote: > On Fri, 2011-10-21 at 21:28 +, Brett Epps wrote: > > Perhaps Django is packaged differently on Fedora. Did you install it > > using yum? I'd recommend installing with pip to avoid such issues, > > and to > > ensure you're getting the latest version. > > several people have had bad experiences using packaged versions of > django on fedora. > -- > regards > Kenneth Gonsalves The actual package itself works okay but have since removed it and just installed via pip. Sayth -- 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: django-admin py extension on fedora
On Fri, 2011-10-21 at 21:28 +, Brett Epps wrote: > Perhaps Django is packaged differently on Fedora. Did you install it > using yum? I'd recommend installing with pip to avoid such issues, > and to > ensure you're getting the latest version. several people have had bad experiences using packaged versions of django on fedora. -- regards Kenneth Gonsalves -- 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: django-admin py extension on fedora
Perhaps Django is packaged differently on Fedora. Did you install it using yum? I'd recommend installing with pip to avoid such issues, and to ensure you're getting the latest version. Brett On 10/21/11 6:01 AM, "flebber" wrote: >Just want to double check something really minor. > >The django-admin.py command on my system(fedora 15) will only invoke >without the py extension. Is this okay? the django book shows the >command with the extension. > >my command line: > >[sayth@sayth django]$ django-admin.py startproject mysite >bash: django-admin.py: command not found >[sayth@sayth django]$ django-admin startproject mysite >[sayth@sayth django]$ > > >Sayth > >-- >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.
django-admin py extension on fedora
Just want to double check something really minor. The django-admin.py command on my system(fedora 15) will only invoke without the py extension. Is this okay? the django book shows the command with the extension. my command line: [sayth@sayth django]$ django-admin.py startproject mysite bash: django-admin.py: command not found [sayth@sayth django]$ django-admin startproject mysite [sayth@sayth django]$ Sayth -- 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: django-admin-py?
Hi Steve I installed django with:python setup.py install After that I copied the django-admin.py to my Python-folder which I have as an executable path Regards glenn On 20 mar, 02:36, Steve Holden wrote: > Last I looked (though it's been a,while) the Django install dropped > django-admin.pt somewhere on the executable path. How did you install > Django? > > Regards > Steve > On Mar 17, 2011 5:05 PM, "gh" wrote: > > > > > > > > > Hi > > > I´m new to django and maybe this is a simple thing but I need some > > advise what's wrong. > > > I try to create a project and I have moved the dajango-admin.py to the > > Python bin folder but I allways get this result when I´m typing the > > following and even if I try django-admin.py --version > > > C:\DjangoProject\djangotest>django-admin.py startproject djangotest > > > Usage: django-admin.py subcommand [options] [args] > > > Options: > > -v VERBOSITY, --verbosity=VERBOSITY > > Verbosity level; 0=minimal output, 1=normal > > output, > > 2=all output > > --settings=SETTINGS The Python path to a settings module, e.g. > > "myproject.settings.main". If this isn't > > provided, the > > DJANGO_SETTINGS_MODULE environment variable > > will be > > used. > > --pythonpath=PYTHONPATH > > A directory to add to the Python path, e.g. > > "/home/djangoprojects/myproject". > > --traceback Print traceback on exception > > --version show program's version number and exit > > -h, --help show this help message and exit > > > Type 'django-admin.py help ' for help on a specific > > subcommand. > > > Available subcommands: > > cleanup > > compilemessages > > createcachetable > > dbshell > > diffsettings > > dumpdata > > flush > > inspectdb > > loaddata > > makemessages > > reset > > runfcgi > > runserver > > shell > > sql > > sqlall > > sqlclear > > sqlcustom > > sqlflush > > sqlindexes > > sqlinitialdata > > sqlreset > > sqlsequencereset > > startapp > > startproject > > syncdb > > test > > testserver > > validate > > > C:\DjangoProject\djangotest> > > > Regards > > glenn > > > -- > > 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: django-admin-py?
Last I looked (though it's been a,while) the Django install dropped django-admin.pt somewhere on the executable path. How did you install Django? Regards Steve On Mar 17, 2011 5:05 PM, "gh" wrote: > Hi > > I´m new to django and maybe this is a simple thing but I need some > advise what's wrong. > > I try to create a project and I have moved the dajango-admin.py to the > Python bin folder but I allways get this result when I´m typing the > following and even if I try django-admin.py --version > > > C:\DjangoProject\djangotest>django-admin.py startproject djangotest > > > Usage: django-admin.py subcommand [options] [args] > > Options: > -v VERBOSITY, --verbosity=VERBOSITY > Verbosity level; 0=minimal output, 1=normal > output, > 2=all output > --settings=SETTINGS The Python path to a settings module, e.g. > "myproject.settings.main". If this isn't > provided, the > DJANGO_SETTINGS_MODULE environment variable > will be > used. > --pythonpath=PYTHONPATH > A directory to add to the Python path, e.g. > "/home/djangoprojects/myproject". > --traceback Print traceback on exception > --version show program's version number and exit > -h, --help show this help message and exit > > Type 'django-admin.py help ' for help on a specific > subcommand. > > Available subcommands: > cleanup > compilemessages > createcachetable > dbshell > diffsettings > dumpdata > flush > inspectdb > loaddata > makemessages > reset > runfcgi > runserver > shell > sql > sqlall > sqlclear > sqlcustom > sqlflush > sqlindexes > sqlinitialdata > sqlreset > sqlsequencereset > startapp > startproject > syncdb > test > testserver > validate > > C:\DjangoProject\djangotest> > > > Regards > glenn > > -- > 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: django-admin-py?
Hi all I'm running on Windows 7 64-Bit The Pyton version is: Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)] on win32 Django-version: 1.2.5 I have just installed this on a new machine, on the older one it worked with no problem. The new machine is Lenovo Thinkpad W510. I have moved the django-admin.py to the Python27 path and I have also tried with set the path to where Django-admin.py is installed: C: \Python27\Lib\site-packages\django\bin I've also tested to start the command Line window as Administrator but with the same result. Thanks Glenn On Mar 18, 12:30 am, Sithembewena Lloyd Dube wrote: > Ramirez, you are right. It is django-admin.py, not manage.py. And yes, he's > on Windows (C:\...) > > Oh hell! (cue Walter's voice from Jeff Dunham's comedy show)... > > Beats me how this doesn't work. Then again, Windows is full of (nasty?) > surprises... > > Glenn, try manually adding django-admin.py to your Python path and let us > know how that goes? > > > > > > > > > > On Fri, Mar 18, 2011 at 12:32 AM, Mike Ramirez wrote: > > On Thursday, March 17, 2011 03:16:44 pm Sithembewena Lloyd Dube wrote: > > > > Hello Glenn, > > > > What operating system are you on? You seem to have tried to use manage.py > > > > correctly, but I suspect this has to do with your Django installation > > > > before you even tried to create a project. > > > > On Thu, Mar 17, 2011 at 11:00 PM, gh wrote: > > > > > C:\DjangoProject\djangotest>django-admin.py startproject djangotest > > > He's on windows and this is django-admin.py to start a project, not an > > app. manage.py doesn't do project running django-admin.py startproject > > actually creates manage.py in your project directory to use within the > > project. > > > Now with this said, I has no clue on what's going on with his setup, it > > looks like it should work. This usage of django-admin.py to start the > > project has been common since atleast .96 > > > Mike > > > -- > > > We seldom repent talking too little, but very often talking too much. > > > -- Jean de la Bruyere > > > -- > > 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. > > -- > Regards, > Sithembewena Lloyd Dube -- 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: django-admin-py?
On Thu, Mar 17, 2011 at 4:00 PM, gh wrote: > Hi > > I´m new to django and maybe this is a simple thing but I need some > advise what's wrong. > > I try to create a project and I have moved the dajango-admin.py to the > Python bin folder but I allways get this result when I´m typing the > following and even if I try django-admin.py --version > This gives an important issue: why not django-admin.py print by default its version ? > > > C:\DjangoProject\djangotest>django-admin.py startproject djangotest > > > Usage: django-admin.py subcommand [options] [args] > > Options: > -v VERBOSITY, --verbosity=VERBOSITY >Verbosity level; 0=minimal output, 1=normal > output, >2=all output > --settings=SETTINGS The Python path to a settings module, e.g. >"myproject.settings.main". If this isn't > provided, the >DJANGO_SETTINGS_MODULE environment variable > will be >used. > --pythonpath=PYTHONPATH >A directory to add to the Python path, e.g. >"/home/djangoprojects/myproject". > --traceback Print traceback on exception > --version show program's version number and exit > -h, --helpshow this help message and exit > > Type 'django-admin.py help ' for help on a specific > subcommand. > > Available subcommands: > cleanup > compilemessages > createcachetable > dbshell > diffsettings > dumpdata > flush > inspectdb > loaddata > makemessages > reset > runfcgi > runserver > shell > sql > sqlall > sqlclear > sqlcustom > sqlflush > sqlindexes > sqlinitialdata > sqlreset > sqlsequencereset > startapp > startproject > syncdb > test > testserver > validate > > C:\DjangoProject\djangotest> > > > Regards > glenn > > -- > 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. > > -- Cristian Salamea @ovnicraft -- 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: django-admin-py?
Ramirez, you are right. It is django-admin.py, not manage.py. And yes, he's on Windows (C:\...) Oh hell! (cue Walter's voice from Jeff Dunham's comedy show)... Beats me how this doesn't work. Then again, Windows is full of (nasty?) surprises... Glenn, try manually adding django-admin.py to your Python path and let us know how that goes? On Fri, Mar 18, 2011 at 12:32 AM, Mike Ramirez wrote: > On Thursday, March 17, 2011 03:16:44 pm Sithembewena Lloyd Dube wrote: > > > Hello Glenn, > > > > > > What operating system are you on? You seem to have tried to use manage.py > > > correctly, but I suspect this has to do with your Django installation > > > before you even tried to create a project. > > > > > > On Thu, Mar 17, 2011 at 11:00 PM, gh wrote: > > > > C:\DjangoProject\djangotest>django-admin.py startproject djangotest > > > > > > > > > > He's on windows and this is django-admin.py to start a project, not an > app. manage.py doesn't do project running django-admin.py startproject > actually creates manage.py in your project directory to use within the > project. > > Now with this said, I has no clue on what's going on with his setup, it > looks like it should work. This usage of django-admin.py to start the > project has been common since atleast .96 > > Mike > > -- > > We seldom repent talking too little, but very often talking too much. > > -- Jean de la Bruyere > > -- > 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. > -- Regards, Sithembewena Lloyd Dube -- 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: django-admin-py?
On Thursday, March 17, 2011 03:16:44 pm Sithembewena Lloyd Dube wrote: > Hello Glenn, > > What operating system are you on? You seem to have tried to use manage.py > correctly, but I suspect this has to do with your Django installation > before you even tried to create a project. > > On Thu, Mar 17, 2011 at 11:00 PM, gh wrote: > > C:\DjangoProject\djangotest>django-admin.py startproject djangotest > > > > He's on windows and this is django-admin.py to start a project, not an app. manage.py doesn't do project running django-admin.py startproject actually creates manage.py in your project directory to use within the project. Now with this said, I has no clue on what's going on with his setup, it looks like it should work. This usage of django-admin.py to start the project has been common since atleast .96 Mike -- We seldom repent talking too little, but very often talking too much. -- Jean de la Bruyere -- 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: django-admin-py?
Please also provide the Django version? Thanks. On Fri, Mar 18, 2011 at 12:16 AM, Sithembewena Lloyd Dube wrote: > Hello Glenn, > > What operating system are you on? You seem to have tried to use manage.py > correctly, but I suspect this has to do with your Django installation before > you even tried to create a project. > > > On Thu, Mar 17, 2011 at 11:00 PM, gh wrote: > >> Hi >> >> I´m new to django and maybe this is a simple thing but I need some >> advise what's wrong. >> >> I try to create a project and I have moved the dajango-admin.py to the >> Python bin folder but I allways get this result when I´m typing the >> following and even if I try django-admin.py --version >> >> >> C:\DjangoProject\djangotest>django-admin.py startproject djangotest >> >> >> Usage: django-admin.py subcommand [options] [args] >> >> Options: >> -v VERBOSITY, --verbosity=VERBOSITY >>Verbosity level; 0=minimal output, 1=normal >> output, >>2=all output >> --settings=SETTINGS The Python path to a settings module, e.g. >>"myproject.settings.main". If this isn't >> provided, the >>DJANGO_SETTINGS_MODULE environment variable >> will be >>used. >> --pythonpath=PYTHONPATH >>A directory to add to the Python path, e.g. >>"/home/djangoprojects/myproject". >> --traceback Print traceback on exception >> --version show program's version number and exit >> -h, --helpshow this help message and exit >> >> Type 'django-admin.py help ' for help on a specific >> subcommand. >> >> Available subcommands: >> cleanup >> compilemessages >> createcachetable >> dbshell >> diffsettings >> dumpdata >> flush >> inspectdb >> loaddata >> makemessages >> reset >> runfcgi >> runserver >> shell >> sql >> sqlall >> sqlclear >> sqlcustom >> sqlflush >> sqlindexes >> sqlinitialdata >> sqlreset >> sqlsequencereset >> startapp >> startproject >> syncdb >> test >> testserver >> validate >> >> C:\DjangoProject\djangotest> >> >> >> Regards >> glenn >> >> -- >> 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. >> >> > > > -- > Regards, > Sithembewena Lloyd Dube > -- Regards, Sithembewena Lloyd Dube -- 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: django-admin-py?
Hello Glenn, What operating system are you on? You seem to have tried to use manage.py correctly, but I suspect this has to do with your Django installation before you even tried to create a project. On Thu, Mar 17, 2011 at 11:00 PM, gh wrote: > Hi > > I´m new to django and maybe this is a simple thing but I need some > advise what's wrong. > > I try to create a project and I have moved the dajango-admin.py to the > Python bin folder but I allways get this result when I´m typing the > following and even if I try django-admin.py --version > > > C:\DjangoProject\djangotest>django-admin.py startproject djangotest > > > Usage: django-admin.py subcommand [options] [args] > > Options: > -v VERBOSITY, --verbosity=VERBOSITY >Verbosity level; 0=minimal output, 1=normal > output, >2=all output > --settings=SETTINGS The Python path to a settings module, e.g. >"myproject.settings.main". If this isn't > provided, the >DJANGO_SETTINGS_MODULE environment variable > will be >used. > --pythonpath=PYTHONPATH >A directory to add to the Python path, e.g. >"/home/djangoprojects/myproject". > --traceback Print traceback on exception > --version show program's version number and exit > -h, --helpshow this help message and exit > > Type 'django-admin.py help ' for help on a specific > subcommand. > > Available subcommands: > cleanup > compilemessages > createcachetable > dbshell > diffsettings > dumpdata > flush > inspectdb > loaddata > makemessages > reset > runfcgi > runserver > shell > sql > sqlall > sqlclear > sqlcustom > sqlflush > sqlindexes > sqlinitialdata > sqlreset > sqlsequencereset > startapp > startproject > syncdb > test > testserver > validate > > C:\DjangoProject\djangotest> > > > Regards > glenn > > -- > 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. > > -- Regards, Sithembewena Lloyd Dube -- 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.
django-admin-py?
Hi I´m new to django and maybe this is a simple thing but I need some advise what's wrong. I try to create a project and I have moved the dajango-admin.py to the Python bin folder but I allways get this result when I´m typing the following and even if I try django-admin.py --version C:\DjangoProject\djangotest>django-admin.py startproject djangotest Usage: django-admin.py subcommand [options] [args] Options: -v VERBOSITY, --verbosity=VERBOSITY Verbosity level; 0=minimal output, 1=normal output, 2=all output --settings=SETTINGS The Python path to a settings module, e.g. "myproject.settings.main". If this isn't provided, the DJANGO_SETTINGS_MODULE environment variable will be used. --pythonpath=PYTHONPATH A directory to add to the Python path, e.g. "/home/djangoprojects/myproject". --traceback Print traceback on exception --version show program's version number and exit -h, --helpshow this help message and exit Type 'django-admin.py help ' for help on a specific subcommand. Available subcommands: cleanup compilemessages createcachetable dbshell diffsettings dumpdata flush inspectdb loaddata makemessages reset runfcgi runserver shell sql sqlall sqlclear sqlcustom sqlflush sqlindexes sqlinitialdata sqlreset sqlsequencereset startapp startproject syncdb test testserver validate C:\DjangoProject\djangotest> Regards glenn -- 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.