Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed E128 flake8 warnings in django/. | Tim Graham | 2016-04-08 | 1 | -2/+1 | |
| | ||||||
* | Fixed W503 flake8 warnings. | Tim Graham | 2016-04-04 | 1 | -2/+2 | |
| | ||||||
* | Fixed #26398 -- Made FieldFile.open() respect its mode argument. | Alexey Kotlyarov | 2016-03-23 | 1 | -4/+3 | |
| | ||||||
* | Refs #26367 -- Removed obsolete _size cache on FieldField. | Tim Graham | 2016-03-17 | 1 | -7/+0 | |
| | | | | The _size attribute is used in File.size but FieldFile overrides it. | |||||
* | Removed unneeded hint=None/obj=None in system check messages. | Tim Graham | 2016-02-12 | 1 | -2/+0 | |
| | ||||||
* | Discouraged use of /tmp with predictable names. | Chris Lamb | 2015-12-24 | 1 | -1/+1 | |
| | | | | | The use of predictable filenames in /tmp often leads to symlink attacks so remove the most obvious use of them in the docs. | |||||
* | Fixed #25547 -- Made Model.refresh_from_db() update FileField's instance. | Attila Tovt | 2015-12-05 | 1 | -0/+4 | |
| | ||||||
* | Fixed #25611 -- Standardized descriptor signatures. | Tim Graham | 2015-10-26 | 1 | -1/+1 | |
| | ||||||
* | Fixed #21042 -- Allowed accessing FileDescriptor on the model class. | Tim Graham | 2015-10-01 | 1 | -3/+1 | |
| | | | | | This is consistent with ability to reference other descriptors on the model class (5ef0c03ae9aca99289737ba6d88a371ad95cf432). | |||||
* | Refs #9893 -- Removed shims for lack of max_length support in file storage ↵ | Tim Graham | 2015-09-23 | 1 | -15/+1 | |
| | | | | per deprecation timeline. | |||||
* | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | 2015-08-31 | 1 | -1/+0 | |
| | ||||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -3/+3 | |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | |||||
* | Fixed #24979 -- Removed usage of inspect.getargspec(). | Tim Graham | 2015-06-15 | 1 | -3/+2 | |
| | ||||||
* | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | 2015-05-13 | 1 | -1/+1 | |
| | ||||||
* | Fixed #24105 -- Called Storage.get_valid_name() when upload_to is callable | Abhaya Agarwal | 2015-05-12 | 1 | -2/+7 | |
| | ||||||
* | Fixed typo in django/db/models/fields/files.py comment. | Don Kirkby | 2015-02-20 | 1 | -1/+1 | |
| | ||||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -5/+5 | |
| | ||||||
* | Fixed #9893 -- Allowed using a field's max_length in the Storage. | Pavel Shpilev | 2015-01-12 | 1 | -1/+16 | |
| | ||||||
* | Fixed #23684 -- Used correct package name for Pillow in Error hint. | Nicholas Serra | 2014-10-19 | 1 | -1/+1 | |
| | ||||||
* | Fixed #21940 -- Added kwargs to contribute_to_class() of model fields.. | Mitar | 2014-08-01 | 1 | -4/+4 | |
| | | | | Thanks Kronuz for the suggestion. | |||||
* | Fix many many typos in comments throughout the codebase | Alex Gaynor | 2014-04-26 | 1 | -1/+1 | |
| | ||||||
* | Removed PIL compatability layer per deprecation timeline. | Tim Graham | 2014-03-21 | 1 | -3/+2 | |
| | | | | refs #19934. | |||||
* | Fixed #22199: Bad max_length deconstruction for FileField | Andrew Godwin | 2014-03-08 | 1 | -3/+1 | |
| | ||||||
* | Edited model and field checks for grammar and consistency. | Russell Keith-Magee | 2014-03-03 | 1 | -6/+6 | |
| | ||||||
* | Removed an inactive system check for upload_to. | Russell Keith-Magee | 2014-01-20 | 1 | -14/+0 | |
| | | | | Thanks to Simon Charette for the eagle eyes. | |||||
* | Fixed #16905 -- Added extensible checks (nee validation) framework | Russell Keith-Magee | 2014-01-20 | 1 | -3/+71 | |
| | | | | | | | | | This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844. | |||||
* | Fixed assorted flake8 errors. | Tim Graham | 2013-10-11 | 1 | -1/+4 | |
| | ||||||
* | Fixed #21217 -- Avoid connecting `(pre|post)_init` signals to abstract senders. | Simon Charette | 2013-10-04 | 1 | -1/+3 | |
| | ||||||
* | Fixed #20348 -- Consistently handle Promise objects in model fields. | Tai Lee | 2013-07-31 | 1 | -0/+1 | |
| | | | | | | | | | | | All Promise objects were passed to force_text() deep in ORM query code. Not only does this make it difficult or impossible for developers to prevent or alter this behaviour, but it is also wrong for non-text fields. This commit changes `Field.get_prep_value()` from a no-op to one that resolved Promise objects. All subclasses now call super() method first to ensure that they have a real value to work with. | |||||
* | A large number of stylistic cleanups across django/db/ | Alex Gaynor | 2013-07-08 | 1 | -1/+6 | |
| | ||||||
* | Fixed #20660 -- Do not try to delete an unset FieldFile | Claude Paroz | 2013-06-29 | 1 | -0/+2 | |
| | | | | | Thanks stanislas.guerra at gmail.com for the report and Baptiste Mispelon for the review. | |||||
* | Ported over Field.deconstruct() from my schema alteration branch. | Andrew Godwin | 2013-06-28 | 1 | -0/+19 | |
| | | | | | This is to help other ongoing branches which would benefit from this functionality. | |||||
* | Fixed #19634 -- Added proper __hash__ methods. | Aymeric Augustin | 2013-02-25 | 1 | -1/+0 | |
| | | | | | | | Classes overriding __eq__ need a __hash__ such that equal objects have the same hash. Thanks akaariai for the report and regebro for the patch. | |||||
* | Fixed #19525 -- Reverted dcd4383107 and 05d333ba3b. | Aymeric Augustin | 2012-12-27 | 1 | -24/+0 | |
| | | | | | | Refs #9893, #18515. Thanks Russell for the report. | |||||
* | Replaced some smart_xxx by force_xxx equivalent | Claude Paroz | 2012-08-30 | 1 | -2/+2 | |
| | | | | | smart_str/smart_text should only be used when a potential lazy string should be preserved in the result of the function call. | |||||
* | [py3] Fed strftime with unicode on Python 3 | Claude Paroz | 2012-08-14 | 1 | -2/+2 | |
| | ||||||
* | [py3] Ported django.utils.encoding. | Aymeric Augustin | 2012-08-07 | 1 | -2/+2 | |
| | | | | | | | | | | | * Renamed smart_unicode to smart_text (but kept the old name under Python 2 for backwards compatibility). * Renamed smart_str to smart_bytes. * Re-introduced smart_str as an alias for smart_text under Python 3 and smart_bytes under Python 2 (which is backwards compatible). Thus smart_str always returns a str objects. * Used the new smart_str in a few places where both Python 2 and 3 want a str. | |||||
* | [py3] Replaced unicode/str by six.text_type/bytes. | Aymeric Augustin | 2012-07-22 | 1 | -1/+1 | |
| | ||||||
* | [py3] Replaced basestring by six.string_types. | Aymeric Augustin | 2012-07-22 | 1 | -1/+2 | |
| | ||||||
* | Fixed #18515 -- Conditionally regenerated filename in FileField validation | Claude Paroz | 2012-06-26 | 1 | -1/+5 | |
| | | | | | When a FileField value has been saved, a new validation should not regenerate a new filename when checking the length. Refs #9893. | |||||
* | Fixed #18269 -- Applied unicode_literals for Python 3 compatibility. | Claude Paroz | 2012-06-07 | 1 | -1/+1 | |
| | | | | | Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review. | |||||
* | Fixed #9893 -- Validated the length of file names | Aymeric Augustin | 2012-05-17 | 1 | -0/+21 | |
| | | | | | | | after the full file name is generated by the storage class. Thanks Refefer for the report, carsongee for the patch, and everyone else involved in the discussion. | |||||
* | Fixed #17219 -- Updated model field descriptions to be more precise. Thanks, ↵ | Jannis Leidel | 2012-02-09 | 1 | -2/+2 | |
| | | | | | | charettes. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17476 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||||
* | Fix initialisation of ImageField super classes. | Malcolm Tredinnick | 2011-08-23 | 1 | -2/+3 | |
| | | | | | | Fixes #16548, with thanks to pyriku. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16658 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||||
* | Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for ↵ | Jannis Leidel | 2011-07-13 | 1 | -10/+7 | |
| | | | | | | the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||||
* | Removed a bunch more Python 2.4 workarounds now that we don't support that ↵ | Adrian Holovaty | 2011-03-28 | 1 | -2/+0 | |
| | | | | | | version. Refs #15702 -- thanks to jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15927 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||||
* | Fixed #6456 - Excised FileField file deletion to avoid data loss. Thanks to ↵ | Carl Meyer | 2011-01-26 | 1 | -13/+0 | |
| | | | | | | durdinator for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15321 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||||
* | Fixed #12955 -- Use the size attribute of the file instead of len() to ↵ | Jannis Leidel | 2010-12-12 | 1 | -2/+2 | |
| | | | | | | support uploads larger than 2GB. Thanks, swiedenroth and isagalaev. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14878 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||||
* | Fixed #7048 -- Added ClearableFileInput widget to clear file fields. Thanks ↵ | Jannis Leidel | 2010-10-01 | 1 | -1/+9 | |
| | | | | | | for report and patch, jarrow and Carl Meyer. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13968 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | |||||
* | Fixed #1142 -- Added multiple database support. | Russell Keith-Magee | 2009-12-22 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37 |