Write as many models for tables reqd in db
What is the problem you are facing ?
Could it be the tables don't appear in all HTML!

Sent from my iPad

> On 29-Jan-2020, at 9:32 PM, Pawan Kumar <[email protected]> wrote:
> 
> Hi Team,
> 
> I want to create multiple tables for the same app in Django & data from these 
> tables is required to be shown in multiple html pages . 
> My existing table using models.py is  ...
> 
> 
> from django.db import models
> # Create your models here.
> 
> class IAM(models.Model):
>     node = models.CharField(max_length=50)
>     status = models.CharField(max_length=50)
>     component = models.CharField(max_length=100)
>     dbversion = models.CharField(max_length=50)
>     version_no = models.CharField(max_length=50)
>     dbversion = models.CharField(max_length=50)
>     def __str__(self):
>         return self.component
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/4a302377-62eb-4de7-a451-caf58f46d41d%40googlegroups.com.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/BD49F25F-2012-4817-A890-385D89B9C372%40gmail.com.

Reply via email to