mirror of
https://github.com/Mistake35/Cedar-Django.git
synced 2026-07-17 16:11:14 +10:00
Update settings.py to correct a few things, whatads.html to tell admins what to do, why.html to correct the spelling, layout.html to update the embed description, remove sign from templates, update README.foreskin to reflect recent changes and update README.md to have more instructions
Whew, that was a lot of stuff.
This commit is contained in:
@@ -25,11 +25,10 @@ SECRET_KEY = ''
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = False
|
||||
|
||||
# This is just a default value for testing
|
||||
# Do not include 127.0.0.1 or localhost
|
||||
# in production for security reasons.
|
||||
# Add your domain or IP here.
|
||||
# Do not include 127.0.0.1 or localhost in production for security reasons.
|
||||
ALLOWED_HOSTS = [
|
||||
'127.0.0.1',
|
||||
'127.0.0.1', 'localhost',
|
||||
]
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||
@@ -54,7 +53,7 @@ INSTALLED_APPS = [
|
||||
X_FRAME_OPTIONS='SAMEORIGIN'
|
||||
|
||||
MIDDLEWARE = [
|
||||
# Uncomment if you need HTTP_X_FORWARDED_FOR support
|
||||
# Uncomment if you need HTTP_X_FORWARDED_FOR support. If you're using Cloudflare, you will need this.'
|
||||
#'closedverse_main.middleware.ProxyMiddleware',
|
||||
'django.middleware.security.SecurityMiddleware',
|
||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||
@@ -133,7 +132,7 @@ if not DEBUG:
|
||||
LANGUAGE_CODE = 'en-us'
|
||||
|
||||
# replace with your own timezone
|
||||
TIME_ZONE = 'PST8PDT'
|
||||
TIME_ZONE = 'America/New_York'
|
||||
|
||||
# Disable internationalization because Closedverse doesn't use it
|
||||
USE_I18N = False
|
||||
@@ -246,7 +245,7 @@ invite_only = False
|
||||
# Minimum level required to view IP addresses and user agents. (default: 10)
|
||||
# Mods under this level will still be able to manage users, however will not be able to view any sensitive data.
|
||||
# Set this to 0 to prevent anyone from viewing data.
|
||||
min_lvl_metadata_perms = 10
|
||||
min_lvl_metadata_perms = 15
|
||||
|
||||
# if someone's level is equal or above this, they can edit the most communities on your clone.
|
||||
level_needed_to_man_communities = 5
|
||||
|
||||
Reference in New Issue
Block a user