<http://www.djangobook.com/en/2.0/_images/book_editform1.png> I have a few questions, is it possible to template the admin page?
second I'm trying to customize some of the individuals pages for my particular issue I have a table named vm_licenses and a licenses table, I have my models set up like the following: class Vm_license(models.Model): > vm_license_id = models.BigIntegerField(primary_key = True, editable = > False, db_column = 'vm_license_id') > #license= models.ForeignKey(License, on_delete = models.PROTECT) > license = models.ManyToManyField(License) > vm = models.ForeignKey(Vm, on_delete = models.PROTECT) > > class Meta: > managed = False > db_table = 'vm_licenses' > > class License(models.Model): > license_id = models.BigIntegerField(primary_key = True, editable = > False, db_column = 'license_id') > license_authority = models.ForeignKey(License_authoritie, on_delete = > models.PROTECT) > product = models.CharField(max_length = 20) > > class Meta: > managed = False > db_table = 'licenses' > ordering = ['product'] > > def __unicode__(self): # Python 3: def __str__(self): > return self.product > here is my admin page class vm_license_admin(admin.ModelAdmin): list_display = ('vm', 'vm_license_id') search_fields = ('vm__vm_name',) ordering = ('vm',) filter_horizontal = ('license',) I want to be able to associate licenses with vms like the picture above just select which ones are active and move them over. How do i do this. The way it is now i get the following Exception Type: DatabaseError Exception Value: ORA-00942: table or view does not exist Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/backends/oracle/base.py in execute, line 816 but the table does exist because if i change it from manytomany back to foreignkey it will work again. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/82699400-0ddd-4491-a289-0c35d2632b6a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.