Sorry, I've just found that schema != tablespace, so my last response is 
irelevant...

Cheers,
 Tom

Dne pátek, 12. října 2012 19:26:53 UTC+2 Tomáš Ehrlich napsal(a):
>
> Hi Michał, 
> is "schema" the same as thing as "tablespace"? If so, you should define 
> them using 
> db_tablespace meta keyword. 
> https://docs.djangoproject.com/en/1.4/topics/db/tablespaces/ 
>
> DATABASES creates new database connection and it's really not 
> possible to make relations between databases. 
>
> Cheers, 
>  Tom 
>
> Dne Fri, 12 Oct 2012 17:19:42 +0100 
> Michał Nowotka <mmm...@gmail.com> napsal(a): 
>
> > First of all the error is not from django but from database. 
> > Secondly I'm not using different databases but different schemas so 
> > relations are possible. 
> > The error has nothing to do with foreign key or any relation. 
> > It just looks like django is ignoring router suggestion and directs 
> > sql query to wrong DB. 
> > 
>
>
>
> S pozdravem 
>   Tomáš Ehrlich 
>
> Email:  tomas.ehrl...@gmail.com 
> Tel:    +420 608 219 889 
> Jabber: elv...@jabber.cz 
>
> "Půjdu kamkoliv, pokud je to kupředu." - J. London 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/SjxuNuNqF78J.
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.

Reply via email to