Re: problem implementing admin inline

2014-11-21 Thread Collin Anderson
Hi, Here's a hack that might solve your problem. # moduleApp/admin.py class ModuleAdmin(admin.ModelAdmin): inlines = [] # etc admin.site.register(Module, ModuleAdmin) # articleApp/admin.py from moduleApp.admin import ModuleAdmin class ArticleInline(admin.StackedInline): model = Ar

problem implementing admin inline

2014-11-20 Thread yakkadesign
I have a model that has a foreignKey to a model. I want to be able to edit the model within the admin in moduleApp.models I have something like: class module(models.Model): HTML = models.TextField( blank=True, null=True ) in articleApp.models I have something like: class article(models.Mo