Files
CyberPanel/databases/models.py

13 lines
304 B
Python
Raw Normal View History

2017-10-24 19:16:36 +05:00
# -*- coding: utf-8 -*-
2019-12-10 15:09:10 +05:00
2017-10-24 19:16:36 +05:00
from django.db import models
from websiteFunctions.models import Websites
# Create your models here.
class Databases(models.Model):
website = models.ForeignKey(Websites)
dbName = models.CharField(max_length=50,unique=True)
dbUser = models.CharField(max_length=50)