Re: making this app re-usable

2010-05-27 Thread Scott Gould
You're after get_model in django.db.models: model_class = get_model(*model_string.split('.')) See James Bennet's post in this topic: http://www.b-list.org/weblog/2007/nov/03/working-models/ Regards Scott On May 27, 12:13 am, Jeffrey Taggarty wrote: > Hey Guys, > > I am trying to build th

making this app re-usable

2010-05-26 Thread Jeffrey Taggarty
Hey Guys, I am trying to build this app so we ca re-use it throughout all of the projects we build. The re-usable app has it's own model and a FK to a specific model that it is related to, this is required. Right now I have a setting in my project settings.py that uses the re-usable that has this