Stub out bookmarks for forgetmetnot django app

This commit is contained in:
2021-02-24 09:00:25 -06:00
parent 735c7f6b80
commit 13fc58121a
14 changed files with 41 additions and 1 deletions

View File

@@ -1,22 +0,0 @@
#!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
"""Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'forgetmenot.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()

View File

@@ -20,7 +20,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'd-$=zj!%_3^iga@1wquq8--5@yplhdvtk9ns^_td&o!2v^ks(v'
SECRET_KEY = '0qhg5+@eu6()f7=39jx3&xaw_2fcpk%n7$gcemm*efq(7$jw+6'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
@@ -31,6 +31,7 @@ ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'bookmarks.apps.BookmarksConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',