Hi, Turkan, Sorry -- the link is: here. <http://www.socialtext.net/hearplanet/index.cgi?action=display;is_incipient=1;page_name=http%3A%2F%2Fblog.vlku.com%2Findex.php%2F2009%2F06%2F10%2Fdjangoeclipse-with-code-complete-screencast%2F>Hope that helps. I had to use Postgres 8.3 instead of 8.4, but that may not be an issue if you're not using PostGIS.
Liam turkan wrote: > Hello Liam, > > I am sorry ... I can't access your provided link. Even after > registering there, it says "You are not authorized to view this > workspace.". > I am also not sure why you suggest me Posgresql/PostGIS. I don't have > any problems with setting up the database, just with setting up Pydev/ > Eclipse correctly. > Any further suggestions? > > Regards, > Kai > > > On Dec 6, 12:08 am, Info Cascade <informationcasc...@gmail.com> wrote: > >> Turkan, >> >> Perhaps this will help. I just have done this >> (PostGIS/Eclipse/Pydev/Django on Ubuntu 9.10) and it's working great! >> After having problems because I had installed Postgres 8.4, I found the >> script below, on the net somewhere. >> Modify, as appropriate, if you don't need GIS. >> >> You may also want this, for full support in pgadmin3: >> apt-get install postgresql-contrib-8.3 >> cd /usr/share/postgresql/8.3/contrib >> psql -U <username> postgres < adminpack.sql >> >> Getting Eclipse working took some time, and I learned a lot from >> this:http://www.socialtext.net/hearplanet/index.cgi?action=display;is_inci... >> >> Best, >> Liam >> >> >>> # Script for installing Django, PostgreSQL, and PostGIS >>> # Run with sudo >>> >>> # Install Django: >>> apt-get install python-django python-django-doc >>> >>> # Install PostgreSQL 8.3 >>> apt-get install postgresql-8.3 python-psycopg2 pgadmin3 >>> >>> # Packages needed by GeoDjango (gdal is optional, but useful) >>> apt-get install postgresql-8.3-postgis binutils libgdal1-1.5.0 >>> gdal-bin libgeos-3.1.0 proj libpq-dev >>> >>> # Set yourself up as a PostgreSQL superuser >>> su - postgres >>> createuser --createdb --superuser `whoami` >>> >>> # Create the template spatial database >>> createdb -E UTF8 template_postgis >>> createlang -d template_postgis plpgsql # Adding PLPGSQL language support. >>> >>> # Allows non-superusers the ability to create from this template >>> psql -d postgres -c "UPDATE pg_database SET datistemplate='true' WHERE >>> datname='template_postgis';" >>> >>> # Load the PostGIS SQL routines >>> psql -d template_postgis -f >>> /usr/share/postgresql-8.3-postgis/lwpostgis.sql >>> psql -d template_postgis -f >>> /usr/share/postgresql-8.3-postgis/spatial_ref_sys.sql >>> >>> # Enable users to alter spatial tables >>> psql -d template_postgis -c "GRANT ALL ON geometry_columns TO PUBLIC;" >>> psql -d template_postgis -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;" >>> exit >>> >> turkan wrote: >> >>> Hello. >>> >>> I know ... this topic was discussed quite often. But all the hints I >>> found don't really help to setup Eclipse/Pydev under Ubuntu 9.10 for >>> Django 1.1 (from the official Ubuntu repositories). >>> I tried to follow this tutorial (http://solyaris.wordpress.com/ >>> 2007/05/16/how-to-djangopydev-on-feisty/), but /usr/share/python- >>> support/python-django/ is not present anymore under Ubuntu 9.10. >>> So I tried to add /usr/shared/pyshared/django, usr/share/python- >>> support/, /usr/lib/python/django to the PYTHONPATH, but without any >>> success. My projects still come up with many "undefined variable" >>> errors. For example an error is presented for User.add_to_class. >>> add_to_class (add_to_class is unkown), even if User seems to be known. >>> I read that it is difficult for the IDE to recognize all variables, >>> cause of the way some of those are generated on the fly (I am also new >>> to Python). But is it possible to get error free projects with Django >>> + Pydev? >>> Why does Aptana for example does provide such a good Ruby support? >>> Does Python/Django provide more dynamic stuff than Ruby? >>> >>> Regards, >>> Kai >>> >>> -- >>> >>> 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 unsubscribe from this group, send email to >>> django-users+unsubscr...@googlegroups.com. >>> For more options, visit this group >>> athttp://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-us...@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-us...@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.