Skip to content

Commit

Permalink
chore: update from tmpl
Browse files Browse the repository at this point in the history
  • Loading branch information
OrenZhang committed Jul 26, 2024
1 parent e3a8e4e commit 05d44bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/OVINC-CN/DevTemplateDjango.git",
"commit": "1f60474cf9d2d6792d4c8ee66ffc744ab87c75db",
"commit": "7a977d0b98b972cb9b15737063f98bf2523e3963",
"checkout": "main",
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion entry/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
SESSION_COOKIE_NAME = os.getenv("SESSION_COOKIE_NAME", f"{'dev-' if DEBUG else ''}{APP_CODE}-sessionid")
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
SESSION_CACHE_ALIAS = "default"
SESSION_COOKIE_AGE = 60 * 60 * 24 * 7
SESSION_COOKIE_AGE = int(os.getenv("SESSION_COOKIE_AGE", str(60 * 60 * 24 * 7)))
SESSION_COOKIE_DOMAIN = os.getenv("SESSION_COOKIE_DOMAIN")

# Log
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ovinc
ovinc-client==0.3.6
ovinc-client==0.3.7

# Celery
celery==5.4.0
Expand Down

0 comments on commit 05d44bb

Please sign in to comment.