fixed importer name bug and fixed settings to allow all hosts

This commit is contained in:
root 2023-05-09 22:38:05 +02:00
parent 6c37923eb4
commit 3cc5f0d4bb
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ django.setup()
from django.contrib.auth.models import User from django.contrib.auth.models import User
from core.models import Video from core.models import Video
folder_path = 'youtube_channel_archiver/UnusualVideos (@UnusualVideos)/' folder_path = 'channel_archiver/UnusualVideos (@UnusualVideos)/'
def extract_version(filename): def extract_version(filename):
# Define a regular expression pattern to match the version number # Define a regular expression pattern to match the version number

View File

@ -26,7 +26,7 @@ SECRET_KEY = 'django-insecure-l@l^r-ar(0@c+fo)!c^y7_jck3u=qu=^omc2@ow#bm2^of$k@j
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
ALLOWED_HOSTS = ['muxi.at'] ALLOWED_HOSTS = ['*']
# Application definition # Application definition