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
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
2 matches
Mail list logo