Created
July 5, 2012 21:08
-
-
Save jackzerby/3056439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
Request Method: POST | |
Request URL: http://goodsie.local:9000/admin/products/batch | |
Django Version: 1.4 | |
Python Version: 2.7.1 | |
Installed Applications: | |
['django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.sites', | |
'django.contrib.messages', | |
'django.contrib.admin', | |
'django.contrib.admindocs', | |
'django.contrib.staticfiles', | |
'django_extensions', | |
'goodsie.apps.account', | |
'goodsie.apps.analytics', | |
'goodsie.apps.cashfactory', | |
'goodsie.apps.developer', | |
'goodsie.apps.facebook', | |
'goodsie.apps.main', | |
'goodsie.apps.marketing', | |
'goodsie.apps.pages', | |
'goodsie.apps.payments', | |
'goodsie.apps.product', | |
'goodsie.apps.shipping', | |
'goodsie.apps.soundcloud', | |
'goodsie.apps.storefront', | |
'goodsie.lib.tenderize', | |
'goodsie.apps.api', | |
'hiicart', | |
'south', | |
'indexer', | |
'paging', | |
'sentry', | |
'sentry.client', | |
'djcelery', | |
'djcelery_email', | |
'compressor', | |
'oauth2app', | |
'fonts'] | |
Installed Middleware: | |
('johnny.middleware.LocalStoreClearMiddleware', | |
'johnny.middleware.QueryCacheMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.contrib.sessions.middleware.SessionMiddleware', | |
'django.middleware.csrf.CsrfViewMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'goodsie.lib.middleware.subdomain.SubdomainMiddleware', | |
'goodsie.lib.middleware.domain.DomainMiddleware', | |
'goodsie.lib.middleware.timing.TimingMiddleware', | |
'goodsie.lib.middleware.embed.EmbedMiddleware', | |
'goodsie.lib.middleware.traffic_source.TrafficSourceMiddleware', | |
'goodsie.lib.middleware.mobile.MobileMiddleware') | |
Traceback: | |
File "/Users/Jack/Dropbox/virtualenvs/goodsie/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response | |
117. response = middleware_method(request, e) | |
File "/Users/Jack/Dropbox/virtualenvs/goodsie/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response | |
111. response = callback(request, *callback_args, **callback_kwargs) | |
File "/Users/Jack/Dropbox/virtualenvs/goodsie/lib/python2.7/site-packages/django/db/transaction.py" in inner | |
209. return func(*args, **kwargs) | |
File "/Users/Jack/Dropbox/virtualenvs/goodsie/lib/python2.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view | |
20. return view_func(request, *args, **kwargs) | |
File "/Users/Jack/Sites/goodsie/goodsie/apps/admin/views/products.py" in batch_edit | |
239. rendered = render_to_string('admin/products/products_add_or_edit.jinja', context, request) | |
File "/Users/Jack/Sites/goodsie/goodsie/lib/timer.py" in wrapped | |
80. ret = function(*args, **kwargs) | |
File "/Users/Jack/Sites/goodsie/goodsie/lib/django_jinja2.py" in render_to_string | |
116. rendered = template.render(**context) | |
File "/Users/Jack/Dropbox/virtualenvs/goodsie/lib/python2.7/site-packages/jinja2/environment.py" in render | |
894. return self.environment.handle_exception(exc_info, True) | |
File "/Users/Jack/Sites/goodsie/goodsie/templates/admin/products/products_add_or_edit.jinja" in top-level template code | |
676. {{ form.hidden(field) }} | |
File "/Users/Jack/Sites/goodsie/goodsie/templates/admin/layout.jinja" in top-level template code | |
8. {% import "admin/layout_javascript_vars.jinja" as admin_shared_javascript_vars %} | |
File "/Users/Jack/Sites/goodsie/goodsie/templates/shared/layout.jinja" in top-level template code | |
89. {% block content %}{% endblock %} | |
File "/Users/Jack/Sites/goodsie/goodsie/templates/admin/layout.jinja" in block "content" | |
81. {% block content_admin %}{% endblock %} | |
File "/Users/Jack/Sites/goodsie/goodsie/templates/admin/products/products_add_or_edit.jinja" in block "content_admin" | |
185. {{ form.textfield(product_form.weight, id="admin-products-details-weight") }} | |
File "/Users/Jack/Sites/goodsie/goodsie/templates/shared/form.jinja" in template | |
38. {%- set data = field.value() -%} | |
File "/Users/Jack/Dropbox/virtualenvs/goodsie/lib/python2.7/site-packages/jinja2/environment.py" in getattr | |
372. return getattr(obj, attribute) | |
Exception Type: UndefinedError at /admin/products/batch | |
Exception Value: 'goodsie.apps.admin.forms.products.ProductBatchForm object' has no attribute 'weight' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment