Hello,

I'm trying to use Marcin Kaszynski's django-multilingual plugin, but
when I try to use the add action in the admin interface for a
translatable class, I get an exception:

-------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py"
in get_response
  77. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/
decorators.py" in _checklogin
  55. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/views/decorators/
cache.py" in _wrapped_view_func
  39. response = view_func(request, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/
main.py" in add_stage
  298. return render_change_form(model, manipulator, c, add=True)
File "/usr/lib/python2.5/site-packages/django/contrib/admin/views/
main.py" in render_change_form
  196. first_form_field_id =
bound_field_sets[0].bound_field_lines[0].bound_fields[0].form_fields[0].get_id();

  IndexError at /nplay/admin/reservation/play/add/
  list index out of range
-------------

It seems like bound_field_sets is empty at line 196

Here's my model:
-------------
import multilingual

class Play(models.Model):
    class Translation(multilingual.Translation):
        name = models.CharField(maxlength=100)
        description = models.TextField()
        short_description = models.CharField(maxlength=200)
    class
Admin:
 
pass
-------------

I'm using the svn trunk of django and django-multilingual, running on
Python 2.5 (Ubuntu 7.04)

Any ideas about what might be missing?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to