Re: Oracle Backend - syncdb

2007-11-21 Thread Ian

On Nov 21, 5:24 am, Brot <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I expand the models.py in the django internal apps like auth, session,
> contenttypes, 
> sites,..http://www.djangoproject.com/documentation/model-api/#db-tablespace
>
> This worked for me, but It's only a workaround.
> I created a ticket, because I think it would be great to have the
> possibility to define a default tablespace for tables and indexes in
> settings.pyhttp://code.djangoproject.com/ticket/6007
>
> Bernd

Bernd,

I agree that a default tablespace setting would be useful.  This has
come up before [1], and the workarounds that were suggested then were
to set a default tablespace for the Oracle user, or to massage the
output of "manage.py sqlall" by hand (which will probably be necessary
anyway in any Oracle production deployment).  You may find one of
those to be a cleaner solution than patching the provided apps.

Thanks for bringing this up again, by the way.  It will give me
something to work on at the upcoming sprint. :-)

Ian

[1] 
http://groups.google.com/group/django-developers/browse_thread/thread/32d9d02ab0d13231/442f69bd72f75853
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Oracle Backend - syncdb

2007-11-21 Thread Brot

Hello,

I expand the models.py in the django internal apps like auth, session,
contenttypes, sites,..
http://www.djangoproject.com/documentation/model-api/#db-tablespace

This worked for me, but It's only a workaround.
I created a ticket, because I think it would be great to have the
possibility to define a default tablespace for tables and indexes in
settings.py
http://code.djangoproject.com/ticket/6007

Bernd
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Oracle Backend - syncdb

2007-11-21 Thread Norbert

Maybe you can change the tablespace in the initial sql, see here
http://www.djangoproject.com/documentation/model-api/#database-backend-specific-sql-data

Norbert

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Oracle Backend - syncdb

2007-11-21 Thread Brot

Hello,

yesterday I tried django in my company. We have oracle databases. But
now I have a problem! :-(

Is it possible to define TABLESPACES for the "syncdb" - CREATE TABLE -
Statements? If not, where can I find the Statements in the source code
to extend the statement? I am searching the source code, but couldn't
find it.

Bernd
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---