Alex Gaynor
110c729309
Merge pull request #215 from mgrouchy/add-interpreter-options
...
Adds interpreter option to shell command as per ticket #18639
2012-07-17 11:04:59 -07:00
Mike Grouchy
f2abfe1e48
Adds interpreter option to shell command as per ticket #18639
...
Specify python interpreter interface ipython or bpython with the -i,
--interface options
argument.
ex// python manage.py shell -i bpython
ex// python manage.py shell --interface bpython
Like all other options, defaults to default python interpreter when your
selected choice isn't available.
updated documentation where appropriate
2012-07-17 13:45:35 -04:00
Vebjorn Ljosa
d5012d6371
Fixed #18644 -- Made urlize trim trailing period followed by parenthesis
2012-07-17 12:44:02 -04:00
Alex Gaynor
52df0d50b0
Switched to use a more idiomatic construct.
2012-07-17 07:01:01 -07:00
Anssi Kääriäinen
29132ebdef
Fixed #17788 -- Added batch_size argument to qs.bulk_create()
...
The qs.bulk_create() method did not work with large batches together
with SQLite3. This commit adds a way to split the bulk into smaller
batches. The default batch size is unlimited except for SQLite3 where
the batch size is limited to 999 SQL parameters per batch.
Thanks to everybody who participated in the discussions at Trac.
2012-07-17 15:24:41 +03:00
Anssi Kääriäinen
fcad6c48f0
Fixed #17497 -- Corrected FieldError message in add_fields()
...
The erroneous message was user visible in values_list() calls.
Thanks to ojii for report and review, and to antoviaque for the patch.
2012-07-17 12:49:46 +03:00
Anssi Kääriäinen
aeda55e6bf
Fixed #3881 -- skip saving session when response status is 500
...
Saving session data is somewhat likely to lead into error when the
status code is 500. It is guaranteed to lead into error if the reason
for the 500 code is query error on PostgreSQL.
2012-07-16 20:57:55 +03:00
Nuno Maltez
bebbbb7af0
Fixed #18056 - Cleared aggregations on DateQuery.add_date_select
...
Cleared aggregations on add_date_select method so only distinct dates
are returned when dealing with a QuerySet that contained aggregations.
That would cause the query set to return repeated dates because it
would look for distinct (date kind, aggregation) pairs.
2012-07-16 19:52:31 +03:00
Daniel Greenfeld
b90caf014c
Changed myapps.models.py to myapps/models.py
2012-07-15 19:29:19 -07:00
Daniel Greenfeld
dea554bd9d
Added mention in MRO section about method/attribute inheritence. Added simple examples to Generic editing views, added index to Generic editing views and Editing mixins, added missing template_name_suffix attribute to Generic editing views.
2012-07-15 17:30:39 -07:00
Claude Paroz
35ddeee455
Removed debugging line left in previous commit
2012-07-15 21:19:23 +02:00
Claude Paroz
cdcdd131da
Dropped support for GDAL < 1.5
...
GDAL 1.5 has been released in December 2007.
2012-07-15 21:10:32 +02:00
Anssi Kääriäinen
34340517fc
Avoid using a column named "date" in tests
...
Oracle can have problems with such columns. Fixed #17932 again.
Thanks to Vinay Sajip for the report.
2012-07-15 12:30:27 +03:00
Aymeric Augustin
bf9d5eff4c
Fixed #18626 -- rst syntax collision.
2012-07-15 11:25:13 +02:00
Aymeric Augustin
fb46f243b4
Fixed #18625 -- Removed old-style use of url tag
...
from the documentation.
2012-07-15 11:19:50 +02:00
Alex Gaynor
c57abd3c29
Remove DotExpandedDict, which was undocumented and unused.
2012-07-14 19:04:37 -07:00
Alex Gaynor
0f57935bcd
Fix an incredibly emberassing typo.
2012-07-14 17:08:52 -07:00
Alex Gaynor
8b3c2f2c51
Deprecate two methods (which I seriously doubt anyone ever used, but they were documented so...) because they cannot be implemented efficiently on top of collections.SortedDict in Python 2.7 and up.
2012-07-14 16:08:42 -07:00
Alex Gaynor
9877d25dc6
Switched from usign a method that was about to be deprecated to normal code.
2012-07-14 16:02:30 -07:00
Alex Gaynor
3e8d8bb094
Fixed auth to not use an internal implementation detail of SortedDict
2012-07-14 14:33:13 -07:00
Alex Gaynor
8f002867b2
Cleaned up the QueryDict implementation.
...
- Use super().
- Don't poke at internals.
- Don't override methods for no reason.
2012-07-14 14:07:11 -07:00
Aymeric Augustin
9a25d8618a
Update links to diveintomark.org.
...
These pages are gone.
2012-07-14 12:32:39 +02:00
Aymeric Augustin
c13a98968e
Fixed a misplaced Sphinx reference.
2012-07-14 12:32:39 +02:00
Claude Paroz
b6215f6810
Updated links for MacOSX python installers
2012-07-13 17:49:50 +02:00
Preston Holmes
18b9dc4154
Fixed #18601 -- Specified that Python minimum version is 2.6.5
...
This is due to a bug in previous Python 2.6 versions related to
unicode keyword arguments.
2012-07-13 17:33:13 +02:00
Aymeric Augustin
8c670ee347
Fixed #18617 -- Highlighted that the app_directories template loader depends on the order of INSTALLED_APPS.
...
Thanks evildmp for the patch.
2012-07-12 23:02:58 +02:00
Claude Paroz
e806f047f3
Removed old gis install instructions for obsolete distros
2012-07-12 19:44:15 +02:00
Alex Gaynor
fb8ec2855b
Remove some code that has been dead since newforms-admin was merged, many moons ago.
2012-07-12 09:27:08 -07:00
Adrian Holovaty
c9a1f9d1fc
Merge pull request #197 from StefanKjartansson/master
...
Fixed typo in docs
2012-07-11 15:05:48 -07:00
Adrian Holovaty
f487524216
Merge pull request #199 from mitnk/master
...
Fixed a typo in the timezones document.
2012-07-11 15:05:04 -07:00
mitnk
fe443b11de
fixed a typo in timezones docs.
2012-07-11 10:57:26 +08:00
Alex Gaynor
76d5daa60f
Changed `manage.py shell`'s help text to reflect that it can invoke bpython.
2012-07-10 14:26:42 -07:00
Stefan Kjartansson
5664338e22
typo in "django/docs/topics/python3.txt"
2012-07-10 15:27:50 +00:00
Claude Paroz
828f7b62e8
Fixed #18602 -- Improved error message when database NAME is missing
...
Thanks Kristian Glass for the report.
2012-07-10 13:22:55 +02:00
Claude Paroz
d9db1d3373
Added supplementary check for CUIT number of ar localflavor
...
Thanks Kevin Schaul for the initial patch.
2012-07-09 14:10:54 +02:00
Claude Paroz
1d2982362d
Fixed #18537 -- Fixed CUIT calculation in ar localflavor
...
Thanks mmoya at 8ksoft.com.ar for the report and Kevin Shaul for the
initial patch.
2012-07-09 14:10:54 +02:00
Tim Graham
590de18add
Fixed #18577 - Clarified middleware initialization.
...
Thanks Lukasz Balcerzak for the patch.
2012-07-08 19:26:53 -04:00
Tim Graham
d44aa98184
Fixed #18173 - Corrected ModelAdmin documentation for get_changelist.
...
Thanks Keryn Knight for the report and vanessagomes for the patch.
2012-07-08 18:35:17 -04:00
Claude Paroz
146aff3bac
Fixed #18590 - Reverted Python 2.4 workaround for Model pickling
...
Revert of 08d521efa0
. Refs #10547 , #12121 .
Thanks Michal Petrucha for the report.
2012-07-08 20:08:28 +02:00
Jannis Leidel
1aa0d8ac4d
Fixed #18487 -- Made sure that protocol-relative URLs aren't processed by the cached staticfiles storage. Thanks to LukaszBalcerzak for the patch.
2012-07-08 18:25:12 +02:00
Jannis Leidel
3047981517
Fixed #18050 -- Fixed a rather glaring bug in the handling of @import statements when using the cached staticfiles storage.
2012-07-08 18:17:53 +02:00
Jannis Leidel
effc2cad95
Merge branch 'master' of github.com:django/django
2012-07-08 12:57:04 +02:00
Jannis Leidel
3727f6d096
Fixed #18430 -- Use the FILE_CHARSET setting when reading from a file during post processing with the cached staticfiles storage. Thanks to Brant Young for initial debugging.
2012-07-08 12:56:49 +02:00
Aymeric Augustin
5e94ef293c
Fixed #18374 -- Explained "corrupt image" error
...
Thanks fabian and charettes.
2012-07-08 11:53:45 +02:00
Julien Phalip
8015593bc1
Fixed #17978 -- Fixed a minor layout issue when an inline contains a filter horizontal widget. Thanks to Aymeric Augustin for the report.
2012-07-07 15:41:04 -07:00
Claude Paroz
249c445446
Fixed #18164 -- Precised startapp template context content
2012-07-07 23:08:43 +02:00
Aymeric Augustin
d94cfdcfae
Fixed #18589 -- Typo in generic CBV docs.
...
Thanks cpthomas for the report.
2012-07-07 17:42:04 +02:00
Aymeric Augustin
bbc590697a
Removed Django 1.0-specific sections.
2012-07-07 16:44:55 +02:00
Aymeric Augustin
29ca3d3c4b
Fixed #18587 -- Typo in management command example
...
Thanks Frank Wiles.
2012-07-07 16:00:03 +02:00
Florian Apolloner
a4bb7dd552
Merge branch 'master' of github.com:django/django
2012-07-07 15:49:00 +02:00