fixed importer name bug and fixed settings to allow all hosts
This commit is contained in:
parent
6c37923eb4
commit
3cc5f0d4bb
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user