File size: 315 Bytes
0a08d4d
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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="")