Commits

Show all
Author Commit Message Labels Comments Date
Default avatar Jonas Haag
Merge
Default avatar Jonas Haag
Fixed some auto_now{,add} edge cases with embedded models.
Waldemar Kornewald avatarWaldemar Kornewald
enabled a unit test which now works in SDK 1.6.0
Default avatar Jonas Haag
Fixed 'add' parameter of embedded models in lists
Default avatar Jonas Haag
Improved an error message
Default avatar Jonas Haag
Added some common update() related backend code to NonrelUpdateCompiler.
Default avatar Jonas Haag
Merge
Default avatar Jonas Haag
Fixed loading of EmbeddedModelFields that use a custom db_column.
Waldemar Kornewald avatarWaldemar Kornewald
Waldemar Kornewald avatarWaldemar Kornewald
fixed SQLQuery.as_sql() support
Default avatar Jonas Haag
Minor comment formatting improvement
Default avatar Jonas Haag
Removed unused imports
Default avatar Jonas Haag
Fix #9: Allow field classes to be passed to fields (not only field instances)
Default avatar Jonas Haag
Fix #39: Don't call convert_value_from_db for fields' default values
Default avatar Jonas Haag
Prefer IntegrityError over DatabaseError in case of an integrity error.
Waldemar Kornewald avatarWaldemar Kornewald
fixed in-memory filtering against None
Waldemar Kornewald avatarWaldemar Kornewald
Waldemar Kornewald avatarWaldemar Kornewald
set a db_type for ListField, SetField, and DictField, so subclasses don't have to define a new one
Default avatar Jonas Haag
Follow-up fix for r191, which actually didn't fix the problem.
Default avatar Jonas Haag
Fixed #7: Exclude unset primary keys from embedded model instances.
Thomas Wanschik avatarThomas Wanschik
Thomas Wanschik avatarThomas Wanschik
fixed test so that running them on production works correctly
Waldemar Kornewald avatarWaldemar Kornewald
added link definition
Waldemar Kornewald avatarWaldemar Kornewald
Tests that make sure we can sort embedded models in lists nicely. Contributed by Jonas Haag.
Waldemar Kornewald avatarWaldemar 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 avatarWaldemar 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 avatarWaldemar Kornewald
Renames a parameter to match the docstring. Contributed by Jonas Haag.
Waldemar Kornewald avatarWaldemar Kornewald
improved eol definition
Waldemar Kornewald avatarWaldemar Kornewald
added note, so we don't keep workarounds forever
Default avatar Flavio Percoco Premoli
makes sure all kwargs are strs
  1. Prev
  2. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.