Thanks, Jason.

I was trying to connect a table to a view from another database.
But it is not allowed to have a foreign key on a view unless I use a 
materialized view! 
Problem is solved. 




ANi於 2019年9月10日星期二 UTC+8上午11時54分28秒寫道:
>
> Hi, 
>
> I have my asset table in local db which need to reference to the employee 
> view from another database. 
> But I realized that Django might not allow relations across databases, 
> right?
>
> so does it means that I can only store the employee key as string in the 
> asset table?
> or other way to achieve?
>
> many thanks,
> ANi
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/94f3298b-a879-49ae-ac5f-52f1f7d6109e%40googlegroups.com.

Reply via email to