Open thannemann opened 8 years ago
Looking into this now..
fixed
That allows me to open the add page, but if I try to add one, I get a similar message. A quick search of the project shows a number of uses of "power" some appear to be references for power on/off
Environment:
Request Method: GET Request URL: http://192.168.23.83/admincommon/ssr/add/
Django Version: 1.6.2 Python Version: 2.7.3 Installed Applications: ('kriek.brew', 'kriek.ferm', 'kriek.common', 'kriek.status', 'kriek.globalsettings', 'rest_framework', 'gunicorn', 'suit', 'djcelery', 'kombu.transport.django', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'kriek.disable.DisableCSRF')
Traceback: File "/opt/kriek/env-kriek/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
Exception Type: FieldError at /admincommon/ssr/add/ Exception Value: Unknown field(s) (power) specified for SSR. Check fields/fieldsets/exclude attributes of class SSRAdmin.
doh. remind me to actually write some tests. :) I'm looking into it now.
Trying to get everything setup I tried to add an ssr to the configuration and got the following.
Environment:
Request Method: GET Request URL: http://192.168.23.83/admincommon/ssr/add/
Django Version: 1.6.2 Python Version: 2.7.3 Installed Applications: ('kriek.brew', 'kriek.ferm', 'kriek.common', 'kriek.status', 'kriek.globalsettings', 'rest_framework', 'gunicorn', 'suit', 'djcelery', 'kombu.transport.django', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'kriek.disable.DisableCSRF')
Traceback: File "/opt/kriek/env-kriek/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
Exception Type: FieldError at /admincommon/ssr/add/ Exception Value: Unknown field(s) (power) specified for SSR. Check fields/fieldsets/exclude attributes of class SSRAdmin.