<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
we have a DB and a postgresql schema (call it ourSchema) with some
layers and some tables and we want to edit the tables using Django
Admin facilities (with server_ipaddress/admin). We wrote in
local_settings in /etc/geonode the connection strings for this DB
(ex: ourDB, in the same server with geonode) but after some tests we
understood that: <br>
<br>
-- creating a new app (with python manage.py startapp ...), a
models.py with our tables and using python manage.py syncdb
--database=ourDB,<br>
Geonode re-create all django tables + our tables in the <u>public</u>
schema of ourDB ('cause there's no info in local_settings about what
schema is connected ourDB);<br>
-- but these new tables in ourDB/public are not seen by
server_ipaddress/admin, but they are seen only if we create them in
the schema geonode(=default)/public;<br>
-- so we thought we could put ourSchema inside geonodeDB or all its
tables/layers in the geonode/public schema (even if we don't like
this solution too much...), but ourSchema contains layers and
geonodeDB has no postgis extensions so we couldn't.<br>
<br>
At the end, some desperate questions:<br>
-- is it possible to connect django server_ipaddress/admin to tables
in a different DB (putting some connection string in the app
directly, for example);<br>
-- is it possible to install postgis extension on geonodeDB? <br>
<br>
Thanks!<br>
Renata.<br>
<br>
</body>
</html>