shawshank-redemption / scalereg

Automatically exported from code.google.com/p/scalereg
Other
0 stars 0 forks source link

reg6 uses manipulators which are not supported in django 1.0 #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run Django 1.0
2. Attempt to register a new attendee via reg6

Register results in a AttributeError about AddManipulator, as manipulators
were removed in Django 1.0.  (AttributeError at /reg6/add_attendee/).  

---

Environment:

Request Method: POST
Request URL: http://localhost:8080/reg6/add_attendee/
Django Version: 1.0.2 final
Python Version: 2.5.1
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'auth_helper',
 'reg6',
 'reports',
 'speaker_survey']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')

Traceback:
File "/Library/Python/2.5/site-packages/django/core/handlers/base.py" in
get_response
  86.                 response = callback(request, *callback_args,
**callback_kwargs)
File "/Users/ilan/dev/scalereg-read-only/src/reg6/views.py" in AddAttendee
  290.   manipulator = models.Attendee.AddManipulator()

Exception Type: AttributeError at /reg6/add_attendee/
Exception Value: type object 'Attendee' has no attribute 'AddManipulator'

Original issue reported on code.google.com by i...@fonz.net on 27 Jun 2009 at 10:45

GoogleCodeExporter commented 8 years ago

Original comment by zhang...@gmail.com on 28 Jun 2009 at 12:07

GoogleCodeExporter commented 8 years ago
Fixed in r273 and r274.

Original comment by zhang...@gmail.com on 28 Jun 2009 at 4:49