from django.db import models class param(models.Model): param_name = models.CharField(max_length=10,primary_key=True) param_value = models.CharField(max_length=128)