Commits

Author Commit Message Labels Comments Date
Jonas Haag
Merge
Jonas Haag
Fixed some auto_now{,add} edge cases with embedded models.
Waldemar Kornewald
enabled a unit test which now works in SDK 1.6.0
Comments 4
Jonas Haag
Fixed 'add' parameter of embedded models in lists
Jonas Haag
Improved an error message
Jonas Haag
Added some common update() related backend code to NonrelUpdateCompiler.
Jonas Haag
Merge
Jonas Haag
Fixed loading of EmbeddedModelFields that use a custom db_column.
Jonas Haag
Replaced home-made unordered-list comparison function by set comparison
Branches
pullrequest-1
Waldemar Kornewald
Waldemar Kornewald
fixed SQLQuery.as_sql() support
Jonas Haag
Minor comment formatting improvement
Jonas Haag
Removed unused imports
Jonas Haag
Fix #9: Allow field classes to be passed to fields (not only field instances)
Jonas Haag
Fix #39: Don't call convert_value_from_db for fields' default values
Jonas Haag
Prefer IntegrityError over DatabaseError in case of an integrity error.
Waldemar Kornewald
fixed in-memory filtering against None
Waldemar Kornewald
Waldemar Kornewald
set a db_type for ListField, SetField, and DictField, so subclasses don't have to define a new one
Jonas Haag
Follow-up fix for r191, which actually didn't fix the problem.
Jonas Haag
Fixed #7: Exclude unset primary keys from embedded model instances.
Thomas Wanschik
Thomas Wanschik
fixed test so that running them on production works correctly
Waldemar Kornewald
added link definition
Waldemar Kornewald
Tests that make sure we can sort embedded models in lists nicely. Contributed by Jonas Haag.
Waldemar Kornewald
Adds test cases that assert that ordering happens only once for each save (and also happens *before* any data type conversions). Also fixes the code accordingly. Contributed by Jonas Haag.
Waldemar Kornewald
Adds a test case for nice TypeErrors in EmbeddedModelField's seriaization method, plus one fix to make the tests pass (nice error messages should also be used in the "untyped" case) Contributed by Jonas Haag.
Waldemar Kornewald
Renames a parameter to match the docstring. Contributed by Jonas Haag.
Waldemar Kornewald
improved eol definition
Waldemar Kornewald
added note, so we don't keep workarounds forever
  1. Prev
  2. Next