CloudStorage / home /models.py
thejagstudio's picture
Upload 30 files
0a08d4d verified
raw
history blame
No virus
315 Bytes
from django.db import models
from django.contrib.auth.models import User
class Userdata(models.Model):
user_id = models.ForeignKey(User, on_delete=models.CASCADE)
folder = models.CharField(max_length=1000)
class ip_address(models.Model):
ip = models.CharField(max_length=100, default="")