OdifYltsaeb / django-multilingual

Automatically exported from code.google.com/p/django-multilingual
MIT License
0 stars 0 forks source link

save_as not working #103

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a model with multilingual
2. Create an admin class using the new 'save_as' property set to True
3. Go to the default admin site, select an existing model, choose save as new

What is the expected output? What do you see instead?
New model saved correctly

What versions of django and multilingual are you using? On what operating
system?
Python2.6.2, Latest versions (Django, Multilingual SVN), Windows XP SP3

Please provide any additional information below.

Exception Type:     ValueError
Exception Value:    invalid literal for int() with base 10: ''
Exception Location:     x:\django\db\models\fields\__init__.py in
get_db_prep_value, line 361

Original issue reported on code.google.com by gbin...@gmail.com on 31 Jul 2009 at 11:20