python django shell (ipython) unexpected behavior or bug?
问题 Django shell behaves (at least for me) unexpected when working with locale settings. Form validation of a comma separated decimal field works when calling from external script and fails on calling from django shell (ipython). Starting a new Project I got the following files: local_forms/ ├── local_forms │ ├── __init__.py │ ├── models.py │ ├── settings.py │ ├── urls.py │ └── wsgi.py ├── manage.py ├── my_form.py ├── test_form.py local_forms/models.py: from django.db import models class MyModel