es"> Issues 0 Pull Requests 0 Commits 1167 Releases 0

6 Commits (84f88faf94d8fa795d2011e1591d629b4d97d8b3)

Author SHA1 Message Date
  Brightcells 5411626ebe Change watermark position 9 years ago
  Brightcells aaaa4a26db Fix Bug: OSError: cannot write mode RGBA as JPEG 9 years ago
  Brightcells dc5e856b19 New watermark image 9 years ago
  Brightcells e062007e50 New watermark image 9 years ago
  Brightcells 680f424408 Update water mark 9 years ago
  Brightcells 4a8b4f8819 add watermark 11 years ago
pai2 - Gogs: Go Git Service

拍爱

local_settings_dev.py 868B

    # -*- coding: utf-8 -*- import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) PROJ_DIR = os.path.abspath(os.path.dirname(os.path.abspath(__file__))) TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, 'templates')], # 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], 'loaders': [ 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ], }, }, ]