On Nov 18, 6:46 pm, Wayne <wayneshen...@gmail.com> wrote:
> Hi,
>
> I am working with a legacy database which does not set foreign key
> constraints at all between tables. I am wondering if I can still
> create Inline admin interface by relating two objects through
> different methods. If it is doable, what is the best way of doing it?
>
> Thanks,
>
> Wayne

There's no requirement for foreign key constraints with inline
objects. Neither sqlite nor the MyISAM backend for MySQL honour
foreign key constraints, but they work in the admin. As long as you
define the foreign key in your model you are fine.
--
DR.

--

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.


Reply via email to