Spaces:
Runtime error
Runtime error
File size: 1,376 Bytes
0a08d4d b7dc0a0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
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="")
class movies(models.Model):
movie = models.CharField(max_length=1000, null=True)
poster = models.CharField(max_length=1000, default="", null=True)
trailer = models.CharField(max_length=1000, default="", null=True)
description = models.CharField(max_length=1000, default="", null=True)
Released = models.CharField(max_length=1000, default="", null=True)
Genre = models.CharField(max_length=1000, default="", null=True)
Casts = models.CharField(max_length=1000, default="", null=True)
Duration = models.CharField(max_length=1000, default="", null=True)
Country = models.CharField(max_length=1000, default="", null=True)
Production = models.CharField(max_length=1000, default="", null=True)
tmdbId = models.CharField(max_length=1000, null=True)
imdbId = models.CharField(max_length=1000, default="", null=True)
torrentLink = models.CharField(max_length=1000, null=True)
driveLink = models.CharField(max_length=1000, null=True)
uploaded = models.BooleanField(default=False, null=True)
|