summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2012-09-07Add check constraint support - needed a few Field changesAndrew Godwin
2012-09-07[py3k] Fixed the index creation code that I committed a few minutes ago for ↵Alex Gaynor
py3k.
2012-09-07Removed many uses of bare "except:", which were either going to a) silence ↵Alex Gaynor
real issues, or b) were impossible to hit.
2012-09-07Add M2M repointingAndrew Godwin
2012-09-07Fixed #17888 -- no longer silence exceptions inside of check_test. Thanks to ↵Alex Gaynor
brutasse for the patch.
2012-09-07Ensued that SQL indexes are alwasy created in the same name.Alex Gaynor
Previous this used Python's builtin hash() function, which has never been guarnteed to be stable across implementations (CPython/Jython/etc.) or 32/64 bitness. However, this in practice it was stable. However, with the impending release of Python 3.3 hash randomizations is enabled by default, which would mean the index name changed between program invocations.
2012-09-07Repoint ForeignKeys when their to= changes.Andrew Godwin
2012-09-07[py3k] Silence many warnings while running the tests.Alex Gaynor
2012-09-07Added SQLite backend which passes all current testsAndrew Godwin
2012-09-07wrap long words in field labels on admin forms, closes #18755Dan Loewenherz
Otherwise, words overlap into the fields themselves, which makes the labels unreadable.
2012-09-07Cleaned up some small bits of the ORM, including removing an import *.Alex Gaynor
2012-09-06Made use of property decorator in formsets.pyClaude Paroz
2012-09-05Add some state management methods to AppCache.Andrew Godwin
2012-09-05Merge branch 'master' into schema-alterationAndrew Godwin
2012-09-04Negligible spacing fix in auth/forms.pyAdrian Holovaty
2012-09-04Implement primary key changingAndrew Godwin
2012-09-04Fixed #18824 -- Allow deleting a setting from overriden settingsClaude Paroz
2012-09-04Fixed #18902 -- Made force_bytes properly handle exception inputClaude Paroz
Thanks Aymeric Augustin for the report and the initial patch.
2012-09-01Fixed #17892 -- Do not include whole RegexURLPattern lists in ↵Claude Paroz
RegexURLResolver repr Thanks milosu for the report and the initial patch.
2012-09-01Fixed #18212 -- Standardized arguments of GenericIPAddressFieldClaude Paroz
Unlike other model fields, the newly introduced (1.4) GenericIPAddressField did not accept verbose_name and name as the first positional arguments. This commit fixes it. Thanks Dan McGee for the report and the patch.
2012-09-01Fixed #9920 - Clarfied empty string vs. localhost in settings database host.Tim Graham
Thanks chromano for the draft patch.
2012-08-31Merge pull request #313 from davidfischer/masterFlorian Apolloner
Fix comment typo
2012-08-30db_index alteration mostly workingAndrew Godwin
2012-08-30Made get_table_description also return the size of char fields on SQLiteClaude Paroz
2012-08-30Fixed #5725 -- Fixed varchar column size introspection for MySQLClaude Paroz
Thanks ferdonline for the initial patch and Karen Tracey for the related post on django-users.
2012-08-30Fixed #18751 -- Cleaned up BaseFormSet._should_delete_formClaude Paroz
We can do that now that cleaned_data is guaranteed to be present. Related to [121fd109]. Thanks Simon Charette for his work on the ticket.
2012-08-30Replaced some smart_xxx by force_xxx equivalentClaude Paroz
smart_str/smart_text should only be used when a potential lazy string should be preserved in the result of the function call.
2012-08-29Fixed comment typoDavid Fischer
2012-08-29[py3] Ported the 'shell' management command.Aymeric Augustin
The user module and the execfile function were removed in Python 3. Thanks Linovia for the report.
2012-08-29Made FileSystemStorage accept both text and byte streamsClaude Paroz
Thanks Alexey Boriskin for his help on the patch.
2012-08-29Fixed #11739 -- Made ContentFile support Unicode inputClaude Paroz
2012-08-29Replaced many smart_bytes by force_bytesClaude Paroz
In all those occurrences, we didn't care about preserving the lazy status of the strings, but we really wanted to obtain a real bytestring.
2012-08-28Fixed #18091 -- Non-ASCII templates break `django-admin.py startproject ↵Florian Apolloner
--template=TEMPLATE`. Thanks to Claude Huchet and Tomáš Ehrlich for the patch.
2012-08-28[py3] Updated bundled version of sixAymeric Augustin
2012-08-26Code comment fix.Mitar
2012-08-26Made model instance history admin view link not hard-coded. Refs #15294.Ramiro Morales
2012-08-25Fixed #18852 -- Restored backwards compatibilityAymeric Augustin
in django.core.signing. Specifically, kept the same return types (str/unicode) under Python 2. Related to [92b2dec918].
2012-08-25Fixed #17448 -- Improved test and documented raw-sql gis queryClaude Paroz
2012-08-25Fixed #16715 -- Fixed join promotion logic for nested nullable FKsAnssi Kääriäinen
The joins for nested nullable foreign keys were often created as INNER when they should have been OUTER joins. The reason was that only the first join in the chain was promoted correctly. There were also issues with select_related etc. The basic structure for this problem was: A -[nullable]-> B -[nonnull]-> C And the basic problem was that the A->B join was correctly LOUTER, the B->C join not. The major change taken in this patch is that now if we promote a join A->B, we will automatically promote joins B->X for all X in the query. Also, we now make sure there aren't ever join chains like: a LOUTER b INNER c If the a -> b needs to be LOUTER, then the INNER at the end of the chain will cancel the LOUTER join and we have a broken query. Sebastian reported this problem and did also major portions of the patch.
2012-08-25Added a GeoDjango test with a raw query (Refs #17448)Claude Paroz
Thanks David Eklund for the initial patch.
2012-08-24Cleaned up the implementation of in_bulkAlex Gaynor
2012-08-23Fixed #18843 -- Replaced more special chars in column names (inspectdb)Claude Paroz
Thanks airstrike for the report.
2012-08-23Fixed #12460 -- Improved inspectdb handling of special field namesClaude Paroz
Thanks mihail lukin for the report and elijahr and kgibula for their work on the patch.
2012-08-23Fixed #18678 -- HttpResponse init arguments allowed for subclassesClaude Paroz
Thanks hp1337@gmail.com for the report.
2012-08-23Reordered importsAymeric Augustin
to avoid an error introduced in 5301a9d7b1.
2012-08-23[py3] Removed duplicate imports.Aymeric Augustin
Fixed #18837. Refs #18791.
2012-08-22Fixed #11340 -- Prevented HttpResponseNotModified to have content/content-typeClaude Paroz
The HTTP 1.1 spec tells that the 304 response MUST NOT contain a message body. Thanks aparajita for the report.
2012-08-22Used the decorator syntax for properties in django.httpClaude Paroz
2012-08-22Revert "Fixed #18063 -- Avoid unicode in Model.__repr__ in python 2"Simon Meers
This reverts commit 3fce0d2a9162cf6e749a6de0b18890dea8955e89.
2012-08-21Fixed #18196 -- Improved loaddata error messages.Claude Paroz