Just go
Django Settings for Blog project. Generated by ' Django-admin Startproject ' using Django 1.8. For more information on this file, see Https://docs.djangoproject.com/en/1.8/topics/settings/For The full list of setting s and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/"" "# Build paths inside the project like this : Os.path.join (Base_dir, ...) import os Base_dir = Os.path.dirname (Os.path.dirname (Os.path.abspath)) # Quick-start Development settings-unsuitable for production # see https://docs.djangoproject.com/en/1.8/howto/ deployment/checklist/# SECURITY Warning:keep The secret key used in production secret! Secret_key = ' 9afw7-%l+bfgg1y3o&7t1w6w7@9tjivar9b3zm#jb!$+_--#-v ' # SECURITY Warning:don ' t run with debug turned on I N production! DEBUG = True allowed_hosts = [' 114.215.93.125 '] # application definition Installed_apps = (' Django.contrib.admin ', ' Djang O.contrib.auth ', ' django.contrib.contenttypes ', ' django.contrib.sessions ', ' django.contrib.mEssages ', ' django.contrib.staticfiles ', ' home ', ' middleware_classes = (' Django.contrib.sessions.middleware.SessionMiddleware ', ' django.middleware.common.CommonMiddleware ', ' Django.middleware.csrf.CsrfViewMiddleware ', ' django.contrib.auth.middleware.AuthenticationMiddleware ', ' Django.contrib.auth.middleware.SessionAuthenticationMiddleware ', ' Django.contrib.messages.middleware.MessageMiddleware ', ' Django.middleware.clickjacking.XFrameOptionsMiddleware ' , ' Django.middleware.security.SecurityMiddleware ',) root_urlconf = ' blog.urls ' TEMPLATES = [{' Backend ': ' Django.templa Te.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 ',],},},] WSGI _application = ' blog.wsgi.application ' # Database # Https://docs.djangoproject.com/en/1.8/ref/settings/#databases # # databases = {# ' default ': {# ' ENGINE ': ' Django.db.backends.sqlite3 ', # ' NAME ': Os.path.join (Base_dir, ' Db.sqlite3 '), #} #} ############## DATABASES = {' default ': {' ENGINE ': ' Django.db.backends.mys QL ', ' NAME ': ' Blog ', ' USER ': ' Root ', ' PASSWORD ': ' 1234 ', ' HOST ': ', ' PORT ': ' 3306 ',}} ############# # Internationalizati On # Https://docs.djangoproject.com/en/1.8/topics/i18n/LANGUAGE_CODE = ' en-us ' time_zone = ' UTC ' use_i18n = True use_l10n = True Use_tz = true # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.8/howto/static-files/ Static_url = '/static/' static_root = Os.path.join (Base_dir, ' static ') # static files (CSS, JavaScript, Images) # https:// docs.djangoproject.com/en/dev/howto/static-files/# Upload Folder Media_url = '/media/' media_root = Os.path.join (BASE_ DIR, ' media ')
Reply content:
Just go
Django Settings for Blog project. Generated by ' Django-admin Startproject ' using Django 1.8. For more information on this file, see Https://docs.djangoproject.com/en/1.8/topics/settings/For The full list of setting s and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/"" "# Build paths inside the project like this : Os.path.join (Base_dir, ...) import os Base_dir = Os.path.dirname (Os.path.dirname (Os.path.abspath)) # Quick-start Development settings-unsuitable for production # see https://docs.djangoproject.com/en/1.8/howto/ deployment/checklist/# SECURITY Warning:keep The secret key used in production secret! Secret_key = ' 9afw7-%l+bfgg1y3o&7t1w6w7@9tjivar9b3zm#jb!$+_--#-v ' # SECURITY Warning:don ' t run with debug turned on I N production! DEBUG = True allowed_hosts = [' 114.215.93.125 '] # application definition Installed_apps = (' Django.contrib.admin ', ' Djang O.contrib.auth ', ' django.contrib.contenttypes ', ' django.contrib.sessions ', ' django.contrib.mEssages ', ' django.contrib.staticfiles ', ' home ', ' middleware_classes = (' Django.contrib.sessions.middleware.SessionMiddleware ', ' django.middleware.common.CommonMiddleware ', ' Django.middleware.csrf.CsrfViewMiddleware ', ' django.contrib.auth.middleware.AuthenticationMiddleware ', ' Django.contrib.auth.middleware.SessionAuthenticationMiddleware ', ' Django.contrib.messages.middleware.MessageMiddleware ', ' Django.middleware.clickjacking.XFrameOptionsMiddleware ' , ' Django.middleware.security.SecurityMiddleware ',) root_urlconf = ' blog.urls ' TEMPLATES = [{' Backend ': ' Django.templa Te.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 ',],},},] WSGI _application = ' blog.wsgi.application ' # Database # Https://docs.djangoproject.com/en/1.8/ref/settings/#databases # # databases = {# ' default ': {# ' ENGINE ': ' Django.db.backends.sqlite3 ', # ' NAME ': Os.path.join (Base_dir, ' Db.sqlite3 '), #} #} ############## DATABASES = {' default ': {' ENGINE ': ' Django.db.backends.mys QL ', ' NAME ': ' Blog ', ' USER ': ' Root ', ' PASSWORD ': ' 1234 ', ' HOST ': ', ' PORT ': ' 3306 ',}} ############# # Internationalizati On # Https://docs.djangoproject.com/en/1.8/topics/i18n/LANGUAGE_CODE = ' en-us ' time_zone = ' UTC ' use_i18n = True use_l10n = True Use_tz = true # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.8/howto/static-files/ Static_url = '/static/' static_root = Os.path.join (Base_dir, ' static ') # static files (CSS, JavaScript, Images) # https:// docs.djangoproject.com/en/dev/howto/static-files/# Upload Folder Media_url = '/media/' media_root = Os.path.join (BASE_ DIR, ' media ')
OSX comes with rsync
My choice is to hang an agent with Dropbox auto Sync. The most worry.
Version tools, such as Svn,git. or rsync. such as