mirror of
https://github.com/rjNemo/villafleurie
synced 2026-06-06 02:16:47 +00:00
db sequence cleaning
This commit is contained in:
parent
1793ea0d8b
commit
828deb545d
2 changed files with 19 additions and 10 deletions
|
|
@ -103,6 +103,14 @@
|
|||
"model": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "sessions.session",
|
||||
"pk": "1r44csdyewb0boocembq7t5ki79vpzt8",
|
||||
"fields": {
|
||||
"session_data": "NzhmMTE3YWExMjExY2FjZDI4NDI4MmQxNDI1MjQwYzViZjczM2Q3Mjp7Il9hdXRoX3VzZXJfaWQiOiIyIiwiX2F1dGhfdXNlcl9iYWNrZW5kIjoiZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmQiLCJfYXV0aF91c2VyX2hhc2giOiI1NTkwY2NlZjM1YzFhNDhiNjE4ZGJiNWI3YjZkZWUwZjFmYjU0NjYyIn0=",
|
||||
"expire_date": "2020-01-16T17:09:55.157Z"
|
||||
}
|
||||
},
|
||||
{
|
||||
"model": "sessions.session",
|
||||
"pk": "5kwgp6mr5umgt78man1s629lokcyagcp",
|
||||
|
|
@ -1179,7 +1187,7 @@
|
|||
"pk": 2,
|
||||
"fields": {
|
||||
"password": "pbkdf2_sha256$180000$0vN9vhsYeNft$6ema2p7l0l6muwDnPcpNO6dxJQc4qG7hIoyvzcBBAXc=",
|
||||
"last_login": "2019-12-15T07:51:13.763Z",
|
||||
"last_login": "2020-01-02T17:09:55.143Z",
|
||||
"is_superuser": true,
|
||||
"username": "ruidy",
|
||||
"first_name": "Ruidy",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@ ADMINS = [
|
|||
("VillaFleurie", "location.villafleurie@gmail.com")
|
||||
]
|
||||
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY')
|
||||
# os.environ.get('SECRET_KEY')
|
||||
SECRET_KEY = "q00_4wqdc^n=7)p2lm)!gy&fms8md_b4#1aqysllvqq==2c9!$"
|
||||
|
||||
if os.environ.get('ENV') == 'PRODUCTION':
|
||||
DEBUG = False
|
||||
|
|
@ -51,14 +52,14 @@ else:
|
|||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql',
|
||||
# 'NAME': 'villafleurie',
|
||||
# 'USER': 'nemausat',
|
||||
# 'PASSWORD': '',
|
||||
# 'HOST': '',
|
||||
'NAME': 'postgres',
|
||||
'USER': 'postgres',
|
||||
'HOST': 'db',
|
||||
'PORT': '5432',
|
||||
'NAME': 'villafleurie',
|
||||
'USER': 'nemausat',
|
||||
'PASSWORD': '',
|
||||
'HOST': '',
|
||||
# 'NAME': 'postgres',
|
||||
# 'USER': 'postgres',
|
||||
# 'HOST': 'db',
|
||||
# 'PORT': '5432',
|
||||
'ATOMIC_REQUESTS': True
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue