On Apr 23, 8:15 am, Aditya Sriram M wrote:
> Ohh this looks little promising..
>
> However,
>
> 1. I need a few cols of table1 and few from table 2 to be displayed. How
> can we achieve that at the .filter() level? and
> 2. At the view level like using the list_display () for displaying t
Ohh this looks little promising..
However,
1. I need a few cols of table1 and few from table 2 to be displayed. How
can we achieve that at the .filter() level? and
2. At the view level like using the list_display () for displaying them
in the Admin interface
On Sunday, 22 April 2
On Apr 22, 1:31 pm, Aditya Sriram M wrote:
> File myapp/models.py has this sample code..
>
> from django.db import models
>
> # model for 'user' table in database oracle_dbuser1:user
> class User(models.Model):
> . . .
> customerid = models.BigIntegerField()
>
> # model for 'customer' tabl
File myapp/models.py has this sample code..
from django.db import models
# model for 'user' table in database oracle_dbuser1:user
class User(models.Model):
. . .
customerid = models.BigIntegerField()
# model for 'customer' table in database oracle_dbuser2:customer
# Note that there is
4 matches
Mail list logo