Opened 10 years ago
Closed 10 years ago
#22892 closed Bug (invalid)
ValueError: Cannot serialize function: lambda
Reported by: | Alexander Ovchinnikov | Owned by: | Andrew Godwin |
---|---|---|---|
Component: | Migrations | Version: | 1.7-beta-2 |
Severity: | Release blocker | Keywords: | |
Cc: | Alexander Ovchinnikov | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I can't make migrations. More info here: https://dpaste.de/J476 I think it's release blocker because of I can't use https://docs.djangoproject.com/en/dev/ref/models/fields/#default with lambda
May be you can reproduce this bug on more simple case (without custom field )...
I installed django yesterday with command
pip install git+https://github.com/django/django@stable/1.7.x
so it's latest Django 1.7.dev...
Note:
See TracTickets
for help on using tickets.
This is by design. There is some documentation about it already and #22351 suggests to enhance it.