{"action":"closed","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/1048","repository_url":"https://api.github.com/repos/hydroshare/hydroshare","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/1048/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/1048/events","html_url":"https://github.com/hydroshare/hydroshare/issues/1048","id":140259341,"number":1048,"title":"Comments - not working with Django 1.8 implementation","user":{"login":"mjstealey","id":5332509,"avatar_url":"https://avatars.githubusercontent.com/u/5332509?v=3","gravatar_id":"","url":"https://api.github.com/users/mjstealey","html_url":"https://github.com/mjstealey","followers_url":"https://api.github.com/users/mjstealey/followers","following_url":"https://api.github.com/users/mjstealey/following{/other_user}","gists_url":"https://api.github.com/users/mjstealey/gists{/gist_id}","starred_url":"https://api.github.com/users/mjstealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjstealey/subscriptions","organizations_url":"https://api.github.com/users/mjstealey/orgs","repos_url":"https://api.github.com/users/mjstealey/repos","events_url":"https://api.github.com/users/mjstealey/events{/privacy}","received_events_url":"https://api.github.com/users/mjstealey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hydroshare/hydroshare/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"hyi","id":476302,"avatar_url":"https://avatars.githubusercontent.com/u/476302?v=3","gravatar_id":"","url":"https://api.github.com/users/hyi","html_url":"https://github.com/hyi","followers_url":"https://api.github.com/users/hyi/followers","following_url":"https://api.github.com/users/hyi/following{/other_user}","gists_url":"https://api.github.com/users/hyi/gists{/gist_id}","starred_url":"https://api.github.com/users/hyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyi/subscriptions","organizations_url":"https://api.github.com/users/hyi/orgs","repos_url":"https://api.github.com/users/hyi/repos","events_url":"https://api.github.com/users/hyi/events{/privacy}","received_events_url":"https://api.github.com/users/hyi/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hydroshare/hydroshare/milestones/24","html_url":"https://github.com/hydroshare/hydroshare/milestones/Django%201.8%20update","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/milestones/24/labels","id":1615801,"number":24,"title":"Django 1.8 update","description":"Update HydroShare application to use\r\n- Django 1.8.9\r\n- Mezzanine 4.1.0\r\n- other updates as required for dependancies\r\n\r\n","creator":{"login":"mjstealey","id":5332509,"avatar_url":"https://avatars.githubusercontent.com/u/5332509?v=3","gravatar_id":"","url":"https://api.github.com/users/mjstealey","html_url":"https://github.com/mjstealey","followers_url":"https://api.github.com/users/mjstealey/followers","following_url":"https://api.github.com/users/mjstealey/following{/other_user}","gists_url":"https://api.github.com/users/mjstealey/gists{/gist_id}","starred_url":"https://api.github.com/users/mjstealey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjstealey/subscriptions","organizations_url":"https://api.github.com/users/mjstealey/orgs","repos_url":"https://api.github.com/users/mjstealey/repos","events_url":"https://api.github.com/users/mjstealey/events{/privacy}","received_events_url":"https://api.github.com/users/mjstealey/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":3,"state":"open","created_at":"2016-03-01T16:22:55Z","updated_at":"2016-04-05T19:54:26Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-03-11T18:41:50Z","updated_at":"2016-04-05T19:54:26Z","closed_at":"2016-04-05T19:54:26Z","body":"@hyi - Wanted to test if comments were still working and ran into the following error.\r\nYou may know what this is off the top of your head...\r\n\r\n```python\r\nEnvironment:\r\n\r\n\r\nRequest Method: POST\r\nRequest URL: http://beta.hydroshare.org/comment/\r\n\r\nDjango Version: 1.8.9\r\nPython Version: 2.7.6\r\nInstalled Applications:\r\n(u'mezzanine.boot',\r\n u'autocomplete_light',\r\n u'django.contrib.auth',\r\n u'oauth2_provider',\r\n u'corsheaders',\r\n u'django.contrib.contenttypes',\r\n u'django.contrib.redirects',\r\n u'django.contrib.sessions',\r\n u'django.contrib.sites',\r\n u'django.contrib.sitemaps',\r\n u'django.contrib.gis',\r\n u'inplaceeditform',\r\n u'django_nose',\r\n u'django_irods',\r\n u'theme',\r\n u'theme.blog_mods',\r\n u'mezzanine.conf',\r\n u'mezzanine.core',\r\n u'mezzanine.generic',\r\n u'mezzanine.blog',\r\n u'mezzanine.forms',\r\n u'mezzanine.pages',\r\n u'mezzanine.galleries',\r\n u'crispy_forms',\r\n u'mezzanine.accounts',\r\n u'mezzanine.mobile',\r\n u'haystack',\r\n u'jquery_ui',\r\n u'rest_framework',\r\n u'ga_ows',\r\n u'ga_resources',\r\n u'hs_core',\r\n u'hs_access_control',\r\n u'hs_labels',\r\n u'hs_metrics',\r\n u'irods_browser_app',\r\n u'django_docker_processes',\r\n u'hs_geo_raster_resource',\r\n u'ref_ts',\r\n u'hs_app_timeseries',\r\n u'widget_tweaks',\r\n u'hs_app_netCDF',\r\n u'hs_model_program',\r\n u'hs_modelinstance',\r\n u'hs_tools_resource',\r\n u'hs_swat_modelinstance',\r\n u'hs_geographic_feature_resource',\r\n u'hs_script_resource',\r\n u'hs_sitemap',\r\n u'debug_toolbar',\r\n u'django_extensions',\r\n u'filebrowser_safe',\r\n u'grappelli_safe',\r\n u'django.contrib.admin',\r\n u'django.contrib.staticfiles',\r\n u'django_comments')\r\nInstalled Middleware:\r\n(u'django.contrib.sessions.middleware.SessionMiddleware',\r\n u'django.middleware.locale.LocaleMiddleware',\r\n u'django.contrib.auth.middleware.AuthenticationMiddleware',\r\n u'corsheaders.middleware.CorsMiddleware',\r\n u'django.middleware.common.CommonMiddleware',\r\n u'django.middleware.csrf.CsrfViewMiddleware',\r\n u'django.contrib.messages.middleware.MessageMiddleware',\r\n u'mezzanine.core.request.CurrentRequestMiddleware',\r\n u'mezzanine.core.middleware.RedirectFallbackMiddleware',\r\n u'mezzanine.core.middleware.TemplateForDeviceMiddleware',\r\n u'mezzanine.core.middleware.TemplateForHostMiddleware',\r\n u'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware',\r\n u'mezzanine.core.middleware.SitePermissionMiddleware',\r\n u'mezzanine.pages.middleware.PageMiddleware',\r\n u'ga_resources.middleware.PagePermissionsViewableMiddleware',\r\n u'debug_toolbar.middleware.DebugToolbarMiddleware')\r\n\r\n\r\nTraceback:\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py\" in get_response\r\n  132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)\r\nFile \"/home/docker/hydroshare/theme/views.py\" in comment\r\n  87.     if form.is_valid():\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/forms/forms.py\" in is_valid\r\n  184.         return self.is_bound and not self.errors\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/forms/forms.py\" in errors\r\n  176.             self.full_clean()\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/forms/forms.py\" in full_clean\r\n  392.         self._clean_fields()\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/forms/forms.py\" in _clean_fields\r\n  410.                     value = getattr(self, 'clean_%s' % name)()\r\nFile \"/home/docker/hydroshare/theme/forms.py\" in clean_comment\r\n  110.         if settings.COMMENTS_ALLOW_PROFANITIES == False:\r\nFile \"/usr/local/lib/python2.7/dist-packages/mezzanine/conf/__init__.py\" in __getattr__\r\n  231.             return getattr(django_settings, name)\r\nFile \"/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py\" in __getattr__\r\n  49.         return getattr(self._wrapped, name)\r\n\r\nException Type: AttributeError at /comment/\r\nException Value: 'Settings' object has no attribute 'COMMENTS_ALLOW_PROFANITIES'\r\n```"}}