Re: Database setup Issue

2013-03-21 Thread Antoni Aloy
You have to create first the database in Postgresql, give it a name and a password, and configure it to allow connections. Then you have to configure the database settings with the database name, ip, user and password. If you're doing the tutorial is much better to stay in sqlite3, so you'll have

Database setup Issue

2013-03-21 Thread Kamalakannan Srinivasan
Hi, I installed PostgreSQL 8.4.16 and was trying to set up the database as specified in the tutorial under djangoproject.com. I gave the Engine name as 'django.db.backends.postgresql_psycopg2' and Name as 'PostgreSQL' and ran the python manage.py syncdb command. But it gave the error 'database

Re: Setup issue

2011-01-16 Thread Phil
Thanks for reply Mike and TheRedRabbit, unfortunately I have never got to try your suggestions. Before your response came in I tried upgrading Lucid Lynx to Maverick Meerkat and lets just say it didn't go well for me, I no longer have Linux installed on my laptop so am back in Windows :( to be con

Re: Setup issue

2011-01-05 Thread Mike Ramirez
> on linux you have to type: > > 'python django-admin.py startproject projectname' > > I think your missing the python let me know if this sorts it out Forgot to add the executable bit must be set in the permissions i.e.: chmod a+x django-admin.py (though this is already done for you by the dja

Re: Setup issue

2011-01-05 Thread Mike Ramirez
On Jan 5, 1:34 am, TheRedRabbit wrote: > on linux you have to type: > > 'python django-admin.py startproject projectname' > Actually this is incorrect. see line 1 of django-admin.py[1] That line allows the python script to be ran as a regular command it is called the shebang [2]. The only tim

Re: Setup issue

2011-01-05 Thread TheRedRabbit
On Jan 4, 10:17 pm, Phil wrote: > Hi all, > > I am having a setup issue on my personal laptop, I got through setup > and couple of tutorials on my Mac in work but not having any joy at > home. I'm running Ubuntu 10.04 Lucid Lynx. > > I run "import django"

Re: Setup issue

2011-01-04 Thread Mike Ramirez
On Tuesday, January 04, 2011 03:33:17 pm Phil wrote: > Hi Shawn, > > When it wasn't working I tried both from command line and from > interpreter, from command line just says "command not found". No I > wasn't calling the project that, I've tried a few different project > names and none seem to wo

Re: Setup issue

2011-01-04 Thread Phil
Hi Shawn, When it wasn't working I tried both from command line and from interpreter, from command line just says "command not found". No I wasn't calling the project that, I've tried a few different project names and none seem to work. Thanks for advice/ tips. I'll keep posted when I get to the

Re: Setup issue

2011-01-04 Thread Shawn Milochik
What actual project name are you using? Have you tried using different project names? If you're literally using "projectname" then you may be using a command-line argument and causing a conflict. Shawn -- You received this message because you are subscribed to the Google Groups "Django user

Re: Setup issue

2011-01-04 Thread CG
Are you running "django-admin.py startproject projectname" within the python interpreter? Its supposed to run outside of the interpreter on the command line. On Jan 4, 3:17 pm, Phil wrote: > Hi all, > > I am having a setup issue on my personal laptop, I got through se

Setup issue

2011-01-04 Thread Phil
Hi all, I am having a setup issue on my personal laptop, I got through setup and couple of tutorials on my Mac in work but not having any joy at home. I'm running Ubuntu 10.04 Lucid Lynx. I run "import django" and I don't get any errors back so I thought I was OK, but when I

Re: mod_wsgi setup issue

2010-08-28 Thread Timothy Makobu
here is my config: *** [m...@web101 www]$ cat myproject.wsgi import os import sys sys.path = ['/home/mako/webapps/www'] + sys.path from django.core.handlers.wsgi import WSGIHandler os.environ['DJANGO_SETTINGS_MODULE'] = 'timssite.settings' application = WSGIHandler() *** that's right outside th

Re: mod_wsgi setup issue

2010-08-28 Thread Robbington
I use a Cherokee, Uwsgi setup. It really takes the hassle out of it as the Cherokee admin interface just has a wizard that you point to the uwsgi.xml file. On Aug 28, 7:53 am, Graham Dumpleton wrote: > On Aug 28, 2:48 pm, Joel Klabo wrote: > > > All the files are shown here:http://gist.github.co

Re: mod_wsgi setup issue

2010-08-27 Thread Graham Dumpleton
On Aug 28, 2:48 pm, Joel Klabo wrote: > All the files are shown here:http://gist.github.com/554724 > > I don't know what I'm doing wrong but I'm still getting 500 Go look in the Apache error log for the reason for the error and post that here. Better still, go watch the mod_wsgi presentation l

Re: mod_wsgi setup issue

2010-08-27 Thread Kenneth Gonsalves
On Fri, 2010-08-27 at 21:48 -0700, Joel Klabo wrote: > All the files are shown here: http://gist.github.com/554724 > > I don't know what I'm doing wrong but I'm still getting 500 maybe you could try: sys.path.append('/srv/www/brooski.net/') os.environ['PYTHON_EGG_CACHE'] = '/srv/www/brooski.n

mod_wsgi setup issue

2010-08-27 Thread Joel Klabo
All the files are shown here: http://gist.github.com/554724 I don't know what I'm doing wrong but I'm still getting 500 -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsub