mirror of
https://github.com/kennethreitz-archive/richtext.org.git
synced 2026-06-05 23:20:18 +00:00
@@ -14,6 +14,7 @@ dj-database-url = "*"
|
||||
whitenoise = "*"
|
||||
raven = "*"
|
||||
django-heroku = "*"
|
||||
"jinja2" = "*"
|
||||
|
||||
|
||||
[dev-packages]
|
||||
|
||||
Generated
+18
-5
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "7cd1f1538a3cde60f08f8d58745be89eb1b9282f142d07f74e187b699ca856e7"
|
||||
"sha256": "f308c4a1b37e47e2de724eddbfdcd4dc8d83b6ac14a9487064e82cb2d9d4163f"
|
||||
},
|
||||
"host-environment-markers": {
|
||||
"implementation_name": "cpython",
|
||||
@@ -9,12 +9,12 @@
|
||||
"os_name": "posix",
|
||||
"platform_machine": "x86_64",
|
||||
"platform_python_implementation": "CPython",
|
||||
"platform_release": "4.13.0-19-generic",
|
||||
"platform_system": "Linux",
|
||||
"platform_version": "#22-Ubuntu SMP Mon Dec 4 11:58:07 UTC 2017",
|
||||
"platform_release": "17.3.0",
|
||||
"platform_system": "Darwin",
|
||||
"platform_version": "Darwin Kernel Version 17.3.0: Thu Nov 9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64",
|
||||
"python_full_version": "3.6.3",
|
||||
"python_version": "3.6",
|
||||
"sys_platform": "linux"
|
||||
"sys_platform": "darwin"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
@@ -57,6 +57,19 @@
|
||||
],
|
||||
"version": "==19.7.1"
|
||||
},
|
||||
"jinja2": {
|
||||
"hashes": [
|
||||
"sha256:74c935a1b8bb9a3947c50a54766a969d4846290e1e788ea44c1392163723c3bd",
|
||||
"sha256:f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4"
|
||||
],
|
||||
"version": "==2.10"
|
||||
},
|
||||
"markupsafe": {
|
||||
"hashes": [
|
||||
"sha256:a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665"
|
||||
],
|
||||
"version": "==1.0"
|
||||
},
|
||||
"psycopg2": {
|
||||
"hashes": [
|
||||
"sha256:594aa9a095de16614f703d759e10c018bdffeafce2921b8e80a0e8a0ebbc12e5",
|
||||
|
||||
@@ -59,10 +59,11 @@ ROOT_URLCONF = 'richtext.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'BACKEND': 'django.template.backends.jinja2.Jinja2',
|
||||
'DIRS': [],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'environment': 'richtext.jinja2.environment',
|
||||
'context_processors': [
|
||||
'django.template.context_processors.debug',
|
||||
'django.template.context_processors.request',
|
||||
@@ -83,7 +84,7 @@ DATABASES = {
|
||||
'default': dj_database_url.config(conn_max_age=600)
|
||||
}
|
||||
|
||||
# Keep sessions out of the DB, ew.
|
||||
# Keep sessions out of the DB, ew.
|
||||
SESSION_ENGINE = 'django.contrib.sessions.backends.signed_cookies'
|
||||
|
||||
# Password validation
|
||||
|
||||
Reference in New Issue
Block a user