models.py 934 Bytes
from django.db import models

# Create your models here.

class RT_edu(models.Model):
    city = models.CharField(max_length=7)
    cntr = models.CharField(max_length=7)
    edu_name = models.CharField(max_length=50)
    edu_center = models.CharField(max_length=30)
    edu_start = models.DateField()
    edu_end = models.DateField()
    edu_time = models.IntegerField()
    edu_infocall = models.CharField(max_length=30)

class Maps(models.Model):
    mapdata = models.TextField()

class RT_agri_policy(models.Model):
    city = models.CharField(max_length=7)
    cntr = models.CharField(max_length=7)
    plcy_name = models.CharField(max_length=50)
    plcy_condition = models.TextField()
    plcy_content = models.TextField(null=True)
    plcy_condition_detail = models.TextField(null=True)
    plcy_document = models.TextField(null=True)
    plcy_amount = models.TextField(null=True)
    plcy_contact = models.TextField(null=True)