Main branch --version
Additional branch - 메인 브렌치에 영향이 없다
Main branch <- (Merge) branch
add | commit | push | pull | branch | checkout
.gitignore (깃에 커밋하지 않는 파일을 알려준다. 이 파일 자체는 커밋해준다.
https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
.env / SECERT_KEY 등 환경설정 저장
pragmatic/setting.py
https://django-environ.readthedocs.io/en/latest/quickstart.html
CACHES = {
# Read os.environ['CACHE_URL'] and raises
# ImproperlyConfigured exception if not found.
#
# The cache() method is an alias for cache_url().
'default': env.cache(),
# read os.environ['REDIS_URL']
'redis': env.cache_url('REDIS_URL')
}
코드를 추가하게 되면, django.core.cache.backends.base.InvalidCacheBackendError: Could not find backend 'django.core.cache.backends.memcached.MemcachedCache': Module "django.core.cache.backends.memcached" does not define a "MemcachedCache" attribute/class
해당 오류가 발생한다.