mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 05:15:49 +01:00
follow PEP 8 style guide
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
|
||||
|
||||
class PHP(models.Model):
|
||||
phpVers = models.CharField(max_length=5,unique=True)
|
||||
phpVers = models.CharField(max_length=5, unique=True)
|
||||
|
||||
|
||||
class installedPackages(models.Model):
|
||||
phpVers = models.ForeignKey(PHP, on_delete=models.CASCADE)
|
||||
@@ -17,11 +16,11 @@ class installedPackages(models.Model):
|
||||
|
||||
|
||||
class ApachePHP(models.Model):
|
||||
phpVers = models.CharField(max_length=5,unique=True)
|
||||
phpVers = models.CharField(max_length=5, unique=True)
|
||||
|
||||
|
||||
class installedPackagesApache(models.Model):
|
||||
phpVers = models.ForeignKey(ApachePHP, on_delete=models.CASCADE)
|
||||
extensionName = models.CharField(max_length=50)
|
||||
description = models.CharField(max_length=255)
|
||||
status = models.IntegerField()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user