Code.djangoproject.com



Hello I have the following bug:“value too long for type character varying(20)” It appears when I am trying to create entry in model with the following field:boat_name = models.CharField(max_length=50, unique=True, db_index=True, verbose_name="Boat model", help_text="Please input boat model", )As you can see max_length restriction here is 50 symbols, but error is appear on 20 plus. I have tried to change this max_length in database(postrgee), to change it by command :ALTER TABLE boats_boatmodel ALTER COLUMN boat_name TYPE VARCHAR(50)to change Charfielt to Textfieldto delete this field, then migrate, then add it again, then migrate – no effectto change max_length in models -no effectDataError at /boats/edit/40/ОШИБКА: значение не умещается в тип character varying(20)Request Method:POSTRequest URL: Version:2.2Exception Type:DataErrorException Value:ОШИБКА: значение не умещается в тип character varying(20)Exception Location:C:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\backends\utils.py in _execute, line 84Python Executable:C:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\Scripts\python.exePython Version:3.7.2Python Path:['C:\\Users\\hardcase1\\PycharmProjects\\myproject', 'C:\\Users\\hardcase1\\.virtualenvs\\myproject-N1oU6R8w\\Scripts\\python37.zip', 'C:\\Users\\hardcase1\\.virtualenvs\\myproject-N1oU6R8w\\DLLs', 'C:\\Users\\hardcase1\\.virtualenvs\\myproject-N1oU6R8w\\lib', 'C:\\Users\\hardcase1\\.virtualenvs\\myproject-N1oU6R8w\\Scripts', 'C:\\python\\Lib', 'C:\\python\\DLLs', 'C:\\Users\\hardcase1\\.virtualenvs\\myproject-N1oU6R8w', 'C:\\Users\\hardcase1\\.virtualenvs\\myproject-N1oU6R8w\\lib\\site-packages']Server time:Fri, 26 Apr 2019 10:42:28 +0300Traceback?Switch to copy-and-paste viewC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\backends\utils.py?in?_execute return self.cursor.execute(sql, params)в????Local varsThe above exception (ОШИБКА: значение не умещается в тип character varying(20) ) was the direct cause of the following exception:C:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\core\handlers\exception.py?in?inner response = get_response(request)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\core\handlers\base.py?in?_get_response response = self.process_exception_by_middleware(e, request)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\core\handlers\base.py?in?_get_response response = wrapped_callback(request, *callback_args, **callback_kwargs)в????Local varsC:\python\Lib\contextlib.py?in?inner return func(*args, **kwds)в????Local varsC:\Users\hardcase1\PycharmProjects\myproject\boats\decorators.py?in?_wrapped_view return view_func(request, *args, **kwargs)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\contrib\auth\decorators.py?in?_wrapped_view return view_func(request, *args, **kwargs)в????Local varsC:\Users\hardcase1\PycharmProjects\myproject\boats\views.py?in?viewname_edit form1.save()в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\forms\models.py?in?save self.instance.save()в????Local varsC:\Users\hardcase1\PycharmProjects\myproject\boats\models.py?in?save (name__exact="Articles on boats").pk, defaults={"name": self.boat_name})в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\manager.py?in?manager_method return getattr(self.get_queryset(), name)(*args, **kwargs)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\query.py?in?update_or_create obj.save(using=self.db)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\base.py?in?save force_update=force_update, update_fields=update_fields)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\base.py?in?save_base force_update, using, update_fields,в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\base.py?in?_save_table forced_update)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\base.py?in?_do_update return filtered._update(values) > 0в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\query.py?in?_update return query.get_compiler(self.db).execute_sql(CURSOR)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\sql\compiler.py?in?execute_sql cursor = super().execute_sql(result_type)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\models\sql\compiler.py?in?execute_sql cursor.execute(sql, params)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\debug_toolbar\panels\sql\tracking.py?in?execute return self._record(self.cursor.execute, sql, params)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\debug_toolbar\panels\sql\tracking.py?in?_record return method(sql, params)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\backends\utils.py?in?execute return super().execute(sql, params)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\backends\utils.py?in?execute return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\backends\utils.py?in?_execute_with_wrappers return executor(sql, params, many, context)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\backends\utils.py?in?_execute return self.cursor.execute(sql, params)в????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\utils.py?in?__exit__ raise dj_exc_value.with_traceback(traceback) from exc_valueв????Local varsC:\Users\hardcase1\.virtualenvs\myproject-N1oU6R8w\lib\site-packages\django\db\backends\utils.py?in?_execute return self.cursor.execute(sql, params)в????Local varsRequest informationUSERhardcaseGETNo GET dataPOSTVariableValuecsrfmiddlewaretoken'g6epD4cG3983Lg3PQP5z0EIorfN2b72pKbio7OdfxHnbOehHqtH3MdKNz3rK273U'form1-boat_name'BOATrtrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr'form1-boat_length'50.0'form1-boat_mast_type'SL'form1-boat_keel_type'Modified'form1-boat_price'45567'form1-boat_country_of_origin'DZ'form1-boat_sailboatdata_link' FILES dataCOOKIESVariableValuePGADMIN_LANGUAGE'en'djdttop'30'pga4_session'0a73df48-67c0-42f2-833b-b27727afee39!bBhNBesO9lzV3yDOUIHXK20NZXg='djdt'hide'csrftoken'XkP7gPEmg7q4mOTwbV6lddmYWm3WSbrerpT6KzFVKFFcpM7oLzIPZMon4aHEJbsJ'sessionid'yxat1idxm48biw4ffq69gr0g7v8zluwn'PGADMIN_KEY'08977383-4005-4a2e-bdd2-cb9fbb94ef6e'METAVariableValueALLUSERSPROFILE'C:\\ProgramData'APPDATA'C:\\Users\\hardcase1\\AppData\\Roaming'COMMONPROGRAMFILES'C:\\Program Files (x86)\\Common Files'COMMONPROGRAMFILES(X86)'C:\\Program Files (x86)\\Common Files'COMMONPROGRAMW6432'C:\\Program Files\\Common Files'COMPUTERNAME'HARDCASE'COMSPEC'C:\\WINDOWS\\system32\\cmd.exe'CONTENT_LENGTH'3983'CONTENT_TYPE'multipart/form-data; boundary=----WebKitFormBoundarynbuNkFnTBB9rvBwp'CSRF_COOKIE'XkP7gPEmg7q4mOTwbV6lddmYWm3WSbrerpT6KzFVKFFcpM7oLzIPZMon4aHEJbsJ'DJANGO_SETTINGS_MODULE'myproject.settings'DRIVERDATA'C:\\Windows\\System32\\Drivers\\DriverData'FPS_BROWSER_APP_PROFILE_STRING'Internet Explorer'FPS_BROWSER_USER_PROFILE_STRING'Default'FP_NO_HOST_CHECK'NO'GATEWAY_INTERFACE'CGI/1.1'HOMEDRIVE'C:'HOMEPATH'\\Users\\hardcase1'HTTP_ACCEPT'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'HTTP_ACCEPT_ENCODING'gzip, deflate, br'HTTP_ACCEPT_LANGUAGE'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7'HTTP_CACHE_CONTROL'max-age=0'HTTP_CONNECTION'keep-alive'HTTP_COOKIE('PGADMIN_LANGUAGE=en; djdttop=30; ' 'pga4_session=0a73df48-67c0-42f2-833b-b27727afee39!bBhNBesO9lzV3yDOUIHXK20NZXg=; ' 'djdt=hide; ' 'csrftoken=XkP7gPEmg7q4mOTwbV6lddmYWm3WSbrerpT6KzFVKFFcpM7oLzIPZMon4aHEJbsJ; ' 'sessionid=yxat1idxm48biw4ffq69gr0g7v8zluwn; ' 'PGADMIN_KEY=08977383-4005-4a2e-bdd2-cb9fbb94ef6e')HTTP_DNT'1'HTTP_HOST'127.0.0.1:8000'HTTP_ORIGIN'('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like ' 'Gecko) Chrome/71.0.3578.98 Safari/537.36 OPR/58.0.3135.132')HTTP_X_COMPRESS'null'LOCALAPPDATA'C:\\Users\\hardcase1\\AppData\\Local'LOGONSERVER'\\\\HARDCASE'NUMBER_OF_PROCESSORS'4'ONEDRIVE'C:\\Users\\hardcase1\\OneDrive'OPENSSL_CONF'F:\\NEW_programfiles\\PostgreSQL\\psqlODBC\\etc\\f'OS'Windows_NT'PATH('C:\\Users\\hardcase1\\.virtualenvs\\myproject-N1oU6R8w\\Scripts;C:\\python\\Scripts\\;C:\\python\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program ' 'Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files ' '(x86)\\Skype\\Phone\\д?Ёз??О?и??В?В?В?\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x10\x10\x10\x10 ' ';C:\\Program Files ' '(x86)\\Skype\\Phone\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program ' 'Files\\Git\\cmd;C:\\Program ' 'Files\\nodejs\\;F:\\NEW_programfiles\\pg11\\bin;C:\\Users\\hardcase1\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\hardcase1\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\hardcase1\\PycharmProjects\\geckodriver;C:\\Program ' 'Files\\OpenSSL-Win64;C:\\python;;C:\\Users\\hardcase1\\AppData\\Local\\Programs\\Microsoft ' 'VS Code\\bin;C:\\Program ' 'Files\\heroku\\bin;C:\\Users\\hardcase1\\AppData\\Roaming\\npm')PATHEXT'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW'PATH_INFO'/boats/edit/40/'PROCESSOR_ARCHITECTURE'x86'PROCESSOR_ARCHITEW6432'AMD64'PROCESSOR_IDENTIFIER'Intel64 Family 6 Model 94 Stepping 3, GenuineIntel'PROCESSOR_LEVEL'6'PROCESSOR_REVISION'5e03'PROGRAMDATA'C:\\ProgramData'PROGRAMFILES'C:\\Program Files (x86)'PROGRAMFILES(X86)'C:\\Program Files (x86)'PROGRAMW6432'C:\\Program Files'PROJECT_DIR'C:/Users/hardcase1/PycharmProjects/myproject'PROMPT'(myproject) $P$G'PSMODULEPATH'C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\'PUBLIC'C:\\Users\\Public'QUERY_STRING''REMOTE_ADDR'127.0.0.1'REMOTE_HOST''REQUEST_METHOD'POST'RUN_MAIN'true'SCRIPT_NAME''SERVER_NAME'hardcase'SERVER_PORT'8000'SERVER_PROTOCOL'HTTP/1.1'SERVER_SOFTWARE'WSGIServer/0.2'SESSIONNAME'Console'SYSTEMDRIVE'C:'SYSTEMROOT'C:\\WINDOWS'TEMP'C:\\Users\\HARDCA~1\\AppData\\Local\\Temp'TERMINAL_EMULATOR'JetBrains-JediTerm'TMP'C:\\Users\\HARDCA~1\\AppData\\Local\\Temp'USERDOMAIN'hardcase'USERDOMAIN_ROAMINGPROFILE'hardcase'USERNAME'hardcase1'USERPROFILE'C:\\Users\\hardcase1'VIRTUAL_ENV'C:\\Users\\hardcase1\\.virtualenvs\\myproject-N1oU6R8w'WINDIR'C:\\WINDOWS'_OLD_VIRTUAL_PATH('C:\\python\\Scripts\\;C:\\python\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program ' 'Files (x86)\\ATI Technologies\\ATI.ACE\\Core-Static;C:\\Program Files ' '(x86)\\Skype\\Phone\\д?Ёз??О?и??В?В?В?\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x10\x10\x10\x10 ' ';C:\\Program Files ' '(x86)\\Skype\\Phone\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program ' 'Files\\Git\\cmd;C:\\Program ' 'Files\\nodejs\\;F:\\NEW_programfiles\\pg11\\bin;C:\\Users\\hardcase1\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\hardcase1\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\hardcase1\\PycharmProjects\\geckodriver;C:\\Program ' 'Files\\OpenSSL-Win64;C:\\python;;C:\\Users\\hardcase1\\AppData\\Local\\Programs\\Microsoft ' 'VS Code\\bin;C:\\Program ' 'Files\\heroku\\bin;C:\\Users\\hardcase1\\AppData\\Roaming\\npm')_OLD_VIRTUAL_PROMPT'$P$G'__INTELLIJ_COMMAND_HISTFILE__'C:\\Users\\hardcase1\\.PyCharm2018.3\\config\\terminal\\history\\history-374'wsgi.errors<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>wsgi.file_wrapper''wsgi.input<django.core.handlers.wsgi.LimitedStream object at 0x050E5870>wsgi.multiprocessFalsewsgi.multithreadTruewsgi.run_onceFalsewsgi.url_scheme'http'wsgi.version(1, 0)SettingsUsing settings module?myproject.settingsSettingValueABSOLUTE_URL_OVERRIDES{}ADMINS[]ALLOWED_HOSTS[]APPEND_SLASHTrueAUTHENTICATION_BACKENDS('social_core.backends.vk.VKOAuth2', 'django.contrib.auth.backends.ModelBackend')AUTH_PASSWORD_VALIDATORS'********************'AUTH_USER_MODEL'boats.ExtraUser'BASE_DIR'C:\\Users\\hardcase1\\PycharmProjects\\myproject'CACHES{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}CACHE_MIDDLEWARE_ALIAS'default'CACHE_MIDDLEWARE_KEY_PREFIX'********************'CACHE_MIDDLEWARE_SECONDS600CRISPY_TEMPLATE_PACK'bootstrap4'CSRF_COOKIE_AGE31449600CSRF_COOKIE_DOMAINNoneCSRF_COOKIE_HTTPONLYFalseCSRF_COOKIE_NAME'csrftoken'CSRF_COOKIE_PATH'/'CSRF_COOKIE_SAMESITE'Lax'CSRF_COOKIE_SECUREFalseCSRF_FAILURE_VIEW'django.views.csrf.csrf_failure'CSRF_HEADER_NAME'HTTP_X_CSRFTOKEN'CSRF_TRUSTED_ORIGINS[]CSRF_USE_SESSIONSFalseDATABASES{'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql', 'HOST': 'localhost', 'NAME': 'postgres_work_1', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}}DATABASE_ROUTERS[]DATA_UPLOAD_MAX_MEMORY_SIZE2621440DATA_UPLOAD_MAX_NUMBER_FIELDS1000DATETIME_FORMAT'N j, Y, P'DATETIME_INPUT_FORMATS['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']DATE_FORMAT'N j, Y'DATE_INPUT_FORMATS['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']DEBUGTrueDEBUG_PROPAGATE_EXCEPTIONSFalseDECIMAL_SEPARATOR'.'DEFAULT_CHARSET'utf-8'DEFAULT_CONTENT_TYPE'text/html'DEFAULT_EXCEPTION_REPORTER_FILTER'django.views.debug.SafeExceptionReporterFilter'DEFAULT_FILE_STORAGE'django.core.files.storage.FileSystemStorage'DEFAULT_FROM_EMAIL'hardcase@inbox.ru'DEFAULT_INDEX_TABLESPACE''DEFAULT_TABLESPACE''DISALLOWED_USER_AGENTS[]EMAIL_BACKEND'django.core.mail.backends.smtp.EmailBackend'EMAIL_HOST'smtp.mail.ru'EMAIL_HOST_PASSWORD'********************'EMAIL_HOST_USER'hardcase@inbox.ru'EMAIL_PORT465EMAIL_SSL_CERTFILENoneEMAIL_SSL_KEYFILE'********************'EMAIL_SUBJECT_PREFIX'[Django] 'EMAIL_TIMEOUTNoneEMAIL_USE_LOCALTIMEFalseEMAIL_USE_SSLTrueEMAIL_USE_TLSFalseFILE_CHARSET'utf-8'FILE_UPLOAD_DIRECTORY_PERMISSIONSNoneFILE_UPLOAD_HANDLERS['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']FILE_UPLOAD_MAX_MEMORY_SIZE2621440FILE_UPLOAD_PERMISSIONSNoneFILE_UPLOAD_TEMP_DIRNoneFIRST_DAY_OF_WEEK0FIXTURE_DIRS[]FORCE_SCRIPT_NAMENoneFORMAT_MODULE_PATHNoneFORM_RENDERER'django.forms.renderers.TemplatesSetting'IGNORABLE_404_URLS[]INSTALLED_APPS['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'boats.apps.BoatsConfig', 'articles.apps.ArticlesConfig', 'testapp.apps.TestappConfig', 'captcha', 'bootstrap4', 'django_cleanup', 'easy_thumbnails', 'social_django', 'crispy_forms', 'extra_views', 'debug_toolbar', 'reversion', 'dynamic_validator', 'django.forms', 'django_countries']INTERNAL_IPS'127.0.0.1'LANGUAGES[('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokm?l'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]LANGUAGES_BIDI['he', 'ar', 'fa', 'ur']LANGUAGE_CODE'en-us'LANGUAGE_COOKIE_AGENoneLANGUAGE_COOKIE_DOMAINNoneLANGUAGE_COOKIE_NAME'django_language'LANGUAGE_COOKIE_PATH'/'LOCALE_PATHS[]LOGGING{}LOGGING_CONFIG'logging.config.dictConfig'LOGIN_REDIRECT_URL'boats:user_profile'LOGIN_URL'boats:login'LOGOUT_REDIRECT_URLNoneMANAGERS[]MEDIA_ROOT'C:\\Users\\hardcase1\\PycharmProjects\\myproject\\media'MEDIA_URL'/media/'MESSAGE_LEVEL0MESSAGE_STORAGE'django.contrib.messages.storage.fallback.FallbackStorage'MIDDLEWARE['debug_toolbar.middleware.DebugToolbarMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.monMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware']MIGRATION_MODULES{}MONTH_DAY_FORMAT'F j'NUMBER_GROUPING0PASSWORD_HASHERS'********************'PASSWORD_RESET_TIMEOUT_DAYS'********************'PREPEND_WWWFalseROOT_URLCONF'myproject.urls'SECRET_KEY'********************'SECURE_BROWSER_XSS_FILTERFalseSECURE_CONTENT_TYPE_NOSNIFFFalseSECURE_HSTS_INCLUDE_SUBDOMAINSFalseSECURE_HSTS_PRELOADFalseSECURE_HSTS_SECONDS0SECURE_PROXY_SSL_HEADERNoneSECURE_REDIRECT_EXEMPT[]SECURE_SSL_HOSTNoneSECURE_SSL_REDIRECTFalseSERVER_EMAIL'hardcase@inbox.ru'SESSION_CACHE_ALIAS'default'SESSION_COOKIE_AGE1209600SESSION_COOKIE_DOMAINNoneSESSION_COOKIE_HTTPONLYTrueSESSION_COOKIE_NAME'sessionid'SESSION_COOKIE_PATH'/'SESSION_COOKIE_SAMESITE'Lax'SESSION_COOKIE_SECUREFalseSESSION_ENGINE'django.contrib.sessions.backends.db'SESSION_EXPIRE_AT_BROWSER_CLOSEFalseSESSION_FILE_PATHNoneSESSION_SAVE_EVERY_REQUESTFalseSESSION_SERIALIZER'django.contrib.sessions.serializers.JSONSerializer'SETTINGS_MODULE'myproject.settings'SHORT_DATETIME_FORMAT'm/d/Y P'SHORT_DATE_FORMAT'j.m.Y'SIGNING_BACKEND'django.core.signing.TimestampSigner'SILENCED_SYSTEM_CHECKS[]SOCIAL_AUTH_PIPELINE('social_core.pipeline.social_auth.social_details', 'social_core.pipeline.social_auth.social_uid', 'social_core.pipeline.social_auth.auth_allowed', 'social_core.pipeline.social_auth.social_user', 'social_core.pipeline.user.get_username', 'social_core.pipeline.social_auth.associate_by_email', 'social_core.pipeline.user.create_user', 'social_core.pipeline.social_auth.associate_user', 'social_core.pipeline.social_auth.load_extra_data', 'social_core.pipeline.user.user_details')SOCIAL_AUTH_URL_NAMESPACE'social'SOCIAL_AUTH_VK_APP_USER_MODE2SOCIAL_AUTH_VK_OAUTH2_KEY'********************'SOCIAL_AUTH_VK_OAUTH2_SCOPE['email']SOCIAL_AUTH_VK_OAUTH2_SECRET'********************'STATICFILES_DIRS['C:\\Users\\hardcase1\\PycharmProjects\\myproject\\static']STATICFILES_FINDERS['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']STATICFILES_STORAGE'django.contrib.staticfiles.storage.StaticFilesStorage'STATIC_ROOTNoneSTATIC_URL'/static/'TEMPLATES[{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['C:\\Users\\hardcase1\\PycharmProjects\\myproject\\templates'], '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', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect', 'articles.middlewares.articles_context_processor']}}]TEST_NON_SERIALIZED_APPS[]TEST_RUNNER'django.test.runner.DiscoverRunner'THOUSAND_SEPARATOR','THUMBNAIL_ALIASES{'': {'default': {'autocrop': True, 'bw': False, 'crop': 'smart', 'quality': 100, 'size': (0, 180), 'subsampling': 1}, 'small': {'autocrop': True, 'bw': False, 'crop': 'smart', 'quality': 100, 'size': (115, 0), 'subsampling': 1}}}THUMBNAIL_BASEDIR'thumbnails'THUMBNAIL_MEDIA_URL'/media/'TIME_FORMAT'P'TIME_INPUT_FORMATS['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']TIME_ZONE'Europe/Moscow'USE_I18NTrueUSE_L10NTrueUSE_THOUSAND_SEPARATORFalseUSE_TZTrueUSE_X_FORWARDED_HOSTFalseUSE_X_FORWARDED_PORTFalseWSGI_APPLICATION'myproject.wsgi.application'X_FRAME_OPTIONS'SAMEORIGIN'YEAR_MONTH_FORMAT'F Y' ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download