Generic views and pagination links

2006-08-25 Thread Gnissem
I am using generic views to produce a paginated specimen list. In the list, you can click on a specimen to get the generic view detail. After viewing the detail, the user will likely want to go back to the specimen list, on the page where the link came from. Pressing the back button works, but I

Many-to-many and Forms

2006-09-11 Thread Gnissem
I have the following (simplified) model: class Mineral(models.Model): name=models.CharField(maxlength=60,unique=False,db_index=True) formula=models.CharField(maxlength=100,blank=True) class Specimen(models.Model): name = models.CharField(maxlength=50) minerals = models.ManyToManyFiel