Re: admin interface, foreign keys and subclasses

2009-12-24 Thread Chris Curvey
Maybe I'm getting closer, maybe not. What I did was create a bunch of different subclasses of ServiceRequest, then created a bunch of inlines within the admin interface for each type. The admin user has to be smart enough to pick the right kind on their own, but that's OK. I did it like this: #

admin interface, foreign keys and subclasses

2009-12-23 Thread Chris Curvey
this may be beyond the current abilities of the Django auto-generated admin interface, but I thought I'd ask... I have a class called "Customer" which has a one-to-many relationship with "ServiceRequest". I've got that all working through the admin interface and it's working fine, like this: cla