mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-05 21:05:46 +01:00
10 lines
267 B
Python
10 lines
267 B
Python
|
|
from django.db import models
|
||
|
|
|
||
|
|
# Create your models here.
|
||
|
|
|
||
|
|
|
||
|
|
class FirewallRules(models.Model):
|
||
|
|
name = models.CharField(unique=True, max_length=32) # Field name made lowercase.
|
||
|
|
proto = models.CharField(max_length=10)
|
||
|
|
port = models.CharField(max_length=25)
|