Is there any magick I can add to the models.py or admin.py files that will allow me to easily do this with Django's built in CMS system?
I'm trying to create a database of celebrities that include their bio, birth dates and I want to include a profile picture to go with it. This is part of a mini project I'm working on to brush up on my Django/Python.
Forgive me if I'm wrong, but it sounds like you don't need anything more than the default admin widget for an
class Celebrity(models.Model): name = models.CharField() class Image(models.Model): celebrity = models.ForeignKey(Celebrity) image = models.ImageField() class InlineImage(admin.TabularInline): model = Image class CelebrityAdmin(admin.ModelAdmin): inlines = [InlineImage] admin.site.register(Celebrity, CelebrityAdmin)