diff --git a/.gitignore b/.gitignore index de240f5..e7216ea 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ db.sqlite3 news/__pycache__ pokercc/__pycache__ - - +news/migrations/__pycache__/ +**/.DS_Store +rumble/ diff --git a/news/migrations/__pycache__/0001_initial.cpython-37.pyc b/news/migrations/__pycache__/0001_initial.cpython-37.pyc deleted file mode 100644 index ba6cfaa..0000000 Binary files a/news/migrations/__pycache__/0001_initial.cpython-37.pyc and /dev/null differ diff --git a/news/migrations/__pycache__/0002_auto_20190917_1255.cpython-37.pyc b/news/migrations/__pycache__/0002_auto_20190917_1255.cpython-37.pyc deleted file mode 100644 index f179e43..0000000 Binary files a/news/migrations/__pycache__/0002_auto_20190917_1255.cpython-37.pyc and /dev/null differ diff --git a/news/migrations/__pycache__/0003_auto_20190917_1258.cpython-37.pyc b/news/migrations/__pycache__/0003_auto_20190917_1258.cpython-37.pyc deleted file mode 100644 index ef15007..0000000 Binary files a/news/migrations/__pycache__/0003_auto_20190917_1258.cpython-37.pyc and /dev/null differ diff --git a/news/migrations/__pycache__/0004_auto_20190917_1301.cpython-37.pyc b/news/migrations/__pycache__/0004_auto_20190917_1301.cpython-37.pyc deleted file mode 100644 index aa3204c..0000000 Binary files a/news/migrations/__pycache__/0004_auto_20190917_1301.cpython-37.pyc and /dev/null differ diff --git a/news/migrations/__pycache__/0005_auto_20190918_0918.cpython-37.pyc b/news/migrations/__pycache__/0005_auto_20190918_0918.cpython-37.pyc deleted file mode 100644 index d815e75..0000000 Binary files a/news/migrations/__pycache__/0005_auto_20190918_0918.cpython-37.pyc and /dev/null differ diff --git a/news/migrations/__pycache__/__init__.cpython-37.pyc b/news/migrations/__pycache__/__init__.cpython-37.pyc deleted file mode 100644 index 6521513..0000000 Binary files a/news/migrations/__pycache__/__init__.cpython-37.pyc and /dev/null differ diff --git a/pokercc/._settings.py b/pokercc/._settings.py new file mode 100644 index 0000000..c2f168f Binary files /dev/null and b/pokercc/._settings.py differ diff --git a/pokercc/settings.py b/pokercc/settings.py index ade1406..fa35a01 100644 --- a/pokercc/settings.py +++ b/pokercc/settings.py @@ -27,7 +27,7 @@ SECRET_KEY = 'erk4wh93pi(m(odwg74lsy60tb$rz4=ndyiv3#2lcx^!$^kq@4' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['ssh-stax.alwaysdata.net', 'www.pokerrumble.net'] EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' @@ -83,7 +83,7 @@ DATABASES = { # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 'ENGINE': 'django.db.backends.postgresql', - 'NAME': 'stax_rumble', + 'NAME': 'stax_rumble_dev', 'USER': 'stax', 'PASSWORD': 'staxkikoo', 'HOST': 'postgresql-stax.alwaysdata.net', diff --git a/pokercc/urls.py b/pokercc/urls.py index e55c93d..e6ad839 100644 --- a/pokercc/urls.py +++ b/pokercc/urls.py @@ -17,6 +17,6 @@ from django.contrib import admin from django.urls import include, path urlpatterns = [ - path('news/', include('news.urls')), + path('', include('news.urls')), path('admin/', admin.site.urls), ]