upgrade django to 3.0.1

This commit is contained in:
Usman Nasir
2019-12-21 14:11:17 +05:00
parent e7234428e1
commit d31ddad964
8 changed files with 12 additions and 10 deletions

View File

@@ -7,6 +7,6 @@ from websiteFunctions.models import Websites
# Create your models here.
class Databases(models.Model):
website = models.ForeignKey(Websites)
website = models.ForeignKey(Websites, on_delete=models.CASCADE)
dbName = models.CharField(max_length=50,unique=True)
dbUser = models.CharField(max_length=50)