class FilmhausPreview(models.Model):
     contenttype = models.ForeignKey(ContentType)
     entry = models.IntegerField('ID')
     ....
     position = models.PositiveSmallIntegerField('Position',  
unique=True, editable=False)

It´s a list of different entries (movies, programs, news ...) to be  
shown on the home-page of a site. The Editor should be able to select  
the contenttype and according to that selection he should be able to  
select the appropriate Object-ID.
So, the pop-up window for selecting the Object-ID depends on the  
choice of the contenttype.

Is there a way to do this with the Admin-Interface or do I have to  
write custom views?

thanks,
patrick

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to