mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 13:11:08 -05:00
Revert "Add version control system functionality with branch management, history tracking, and merge operations"
This reverts commit f3d28817a5.
This commit is contained in:
@@ -53,7 +53,6 @@ INSTALLED_APPS = [
|
||||
"designers",
|
||||
"analytics",
|
||||
"location",
|
||||
"comments",
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -87,7 +86,6 @@ TEMPLATES = [
|
||||
"django.contrib.auth.context_processors.auth",
|
||||
"django.contrib.messages.context_processors.messages",
|
||||
"moderation.context_processors.moderation_access",
|
||||
"history_tracking.context_processors.version_control",
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -110,22 +108,14 @@ DATABASES = {
|
||||
# Cache settings
|
||||
CACHES = {
|
||||
"default": {
|
||||
"BACKEND": "django_redis.cache.RedisCache",
|
||||
"LOCATION": "redis://192.168.86.3:6379/1",
|
||||
"OPTIONS": {
|
||||
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
||||
"SOCKET_CONNECT_TIMEOUT": 5,
|
||||
"SOCKET_TIMEOUT": 5,
|
||||
"RETRY_ON_TIMEOUT": True,
|
||||
"MAX_CONNECTIONS": 1000,
|
||||
"PARSER_CLASS": "redis.connection.HiredisParser",
|
||||
},
|
||||
"KEY_PREFIX": "thrillwiki",
|
||||
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
|
||||
"LOCATION": "unique-snowflake",
|
||||
"TIMEOUT": 300, # 5 minutes
|
||||
"OPTIONS": {"MAX_ENTRIES": 1000},
|
||||
}
|
||||
}
|
||||
|
||||
CACHE_MIDDLEWARE_SECONDS = 300 # 5 minutes
|
||||
CACHE_MIDDLEWARE_SECONDS = 1 # 5 minutes
|
||||
CACHE_MIDDLEWARE_KEY_PREFIX = "thrillwiki"
|
||||
|
||||
# Password validation
|
||||
|
||||
Reference in New Issue
Block a user