Opened 8 years ago
Last modified 8 years ago
#27222 new New feature
Refresh expressions on save — at Initial Version
Reported by: | holvianssi | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 1.10 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
The use case is automatically fetching the value for expressions when saving to DB. For example:
> user = User.objects.create(username=Lower('Anssi')) > user.username == 'anssi' True
Note:
See TracTickets
for help on using tickets.