Best way to re-use the same django models and admin for multiple apps

Posted by kepioo on Stack Overflow See other posts from Stack Overflow or by kepioo
Published on 2010-03-29T17:11:09Z Indexed on 2010/03/29 17:13 UTC
Read the original article Hit count: 841

Given a reference app ( called guide), how can I create additional apps that will reuse the same model/admin/views than guide - the motivation behind is to be able to individually control each subapp.

guide

guideApp1 exact same models/admin/views than guide guideApp2 exact same models/admin/views than guide

in the Admin site, I should have : 1 section for guideApp1 with all the tables defined in guide, that applies to guideApp1 1 section for guideApp12 with all the tables defined in guide, that applies to guideApp2

© Stack Overflow or respective owner

Related posts about django

Related posts about models