reverting and merging into streaming app instead
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
This commit is contained in:
@@ -9,3 +9,20 @@ class streamingData(models.Model):
|
||||
|
||||
class Meta:
|
||||
db_table = 'streaming'
|
||||
|
||||
class urlData(models.Model):
|
||||
def sanitize(self):
|
||||
print(self)
|
||||
return 1
|
||||
|
||||
name = models.CharField(primary_key=True,max_length=1000, help_text="Name of the show")
|
||||
url_example = models.CharField(max_length=1000, help_text="https://www.1shows.org/tv/456-the-simpsons?streaming=true&season=18&episode=5")
|
||||
prefix = models.CharField(max_length=1000, help_text="https://www.1shows.org/tv/456-the-simpsons?streaming=true&season=",blank=True, null=True)
|
||||
infix = models.CharField(max_length=1000, help_text="&episode=",blank=True, null=True)
|
||||
suffix = models.CharField(max_length=1000, help_text="" ,blank=True, null=True)
|
||||
addedDate = models.DateField('Published', blank=True, null=True, auto_now_add=True)
|
||||
alias = models.CharField(max_length=1000, default=sanitize)
|
||||
|
||||
|
||||
class Meta:
|
||||
db_table = 'redirectUrl'
|
||||
Reference in New Issue
Block a user