1
0
mirror of https://github.com/django/django.git synced 2024-12-26 11:06:07 +00:00
Commit Graph

15305 Commits

Author SHA1 Message Date
Andrew Godwin
68e0a169c4 Rename pre_ and post_syncdb to *_migrate, with aliases from old names 2013-07-30 11:52:52 +01:00
Andrew Godwin
086389f5fc Start adding schema migration into the release notes 2013-07-30 11:52:36 +01:00
Andrew Godwin
c8cbdabfab Fix Python 3 support 2013-07-26 17:08:12 +01:00
Andrew Godwin
d5ca169334 Fix "OK" alignment in migrate output 2013-07-26 16:52:17 +01:00
Andrew Godwin
52643a69e3 Add --fake option to migrate 2013-07-26 16:47:00 +01:00
Andrew Godwin
3f7113f1d9 Fix timezone warnings if USE_TZ=True 2013-07-26 16:46:48 +01:00
Andrew Godwin
9c6d57ef5a Prettier imports 2013-07-26 16:40:27 +01:00
Andrew Godwin
c1ed21fa9e Use new transaction API in syncdb section of migrate 2013-07-26 16:39:44 +01:00
Andrew Godwin
6b39010d57 Remove nasty error message checking hack 2013-07-26 16:33:32 +01:00
Andrew Godwin
88e1e6f9f3 A bit more documentation 2013-07-26 16:28:09 +01:00
Andrew Godwin
a758c9c186 Add test for creating M2Ms 2013-07-25 16:36:58 +01:00
Andrew Godwin
f8297f6323 More migration docs, and conversion of all easy syncdb references 2013-07-25 16:19:36 +01:00
Andrew Godwin
06103c8ef5 Small start to migrations documentation 2013-07-25 14:45:38 +01:00
Andrew Godwin
00276e0414 Add tests for the migrate command and fix a bug they exposed 2013-07-25 13:52:35 +01:00
Andrew Godwin
162f7b938f Make migrate command recognise prefixes and 'zero'. 2013-07-22 19:43:58 +01:00
Andrew Godwin
52eb19b545 Make multi-app-cache tests work again 2013-07-22 19:36:03 +01:00
Andrew Godwin
03ec3219a0 Merge branch 'master' into schema-alteration
Conflicts:
	django/db/backends/mysql/introspection.py
	django/db/backends/oracle/creation.py
	django/db/backends/postgresql_psycopg2/creation.py
	django/db/models/base.py
	django/db/models/loading.py
2013-07-22 19:04:25 +01:00
Marc Tamlyn
29a09b3638 Merge pull request #1390 from garnertb/master
Fixed small grammatical error in docstring.
2013-07-22 07:34:30 -07:00
Tyler Garner
8e98652416 Fixed small grammatical error in docstring. 2013-07-22 10:32:09 -04:00
Claude Paroz
27c1a72576 Fixed #20773 -- [gis] Fixed regression in GoogleMap output
Thanks Martyn Clement for the report and the initial patch.
2013-07-22 09:55:45 +02:00
Claude Paroz
02b0106d43 Fixed #20781 -- Fixed _has_changed regression with MultiValueField
Thanks Tim Graham for the report.
2013-07-22 09:06:07 +02:00
Thomas Sorrel
bb145e2c47 Fixed #13629 -- Added CSS classes to the <body> tag of some admin templates to allow style customizations per app or per model. 2013-07-21 20:17:14 +00:00
Claude Paroz
11b7b9ad00 Fixed an email validation regression
Thanks Vincent Wagelaar for the report.
2013-07-21 21:11:32 +02:00
Karen Tracey
3aad955ea8 Fixed #13696 -- ensured inline pk field is rendered 2013-07-21 13:06:11 -04:00
Simon Charette
415a36947c Fixed #20765 -- Set small values of step using exponential notation.
Browsers parse small factors of 10 as 0 under decimal notation.

Thanks to Trac alias matklad for the report and Claude Paroz for the review.
2013-07-19 23:31:15 -04:00
Claude Paroz
6d52844b9b Fixed #18551 -- Enabled skipIfDBFeature/skipUnlessDBFeature to decorate a class
Thanks Tim Graham for the review and improved patch.
2013-07-19 20:30:14 +02:00
Matt Deacalion Stevens
a269ea4fe0 Fixed #14656 -- Added Atom1Feed published element
Some feed aggregators make use of the `published` element as well as
the `updated` element (within the Atom standard -- http://bit.ly/2YySb).

The standard allows for these two elements to be present in the same
entry. `Atom1Feed` had implemented the `updated` element which was
incorrectly taking the date from `pubdate`.
2013-07-19 10:38:34 -04:00
Tim Graham
e1c737b62f Merge pull request #1374 from seocam/fix_i18n_docs
LocaleMiddleware isn't default anymore (corrected docs)
2013-07-19 03:35:46 -07:00
Tim Graham
4aa006efd0 Merge pull request #1377 from Matt-Stevens/doc-fixes-ref-databases
Updated the `databases` documentation
2013-07-19 03:31:15 -07:00
Tim Graham
997e305d24 Merge pull request #1375 from Matt-Stevens/master
Fixed Croatia's country code in `localflavor` docs
2013-07-19 02:30:27 -07:00
Tim Graham
4669986228 Merge pull request #1378 from loic/docs
Fixed #20772 -- Fixed minor typo in form media docs.
2013-07-19 02:19:24 -07:00
Loic Bistuer
aa41eb9b8b Fixed #20772 -- Fixed minor typo in form media docs. 2013-07-19 15:48:38 +07:00
Matt Deacalion Stevens
fa217d14a0 Updated the databases documentation
+ Removed a reference about MySQL storage engines also being
   called 'table types', as this term has been deprecated for
   8 years and is no longer used.

 + Fixed the link to the official InnoDB storage engine docs.

 + Apache (versions >= 2.4) will always choose a multi-threaded
   MPM module on modern operating systems (later than 2002).
2013-07-19 09:01:13 +01:00
Matt Deacalion Stevens
97e5398629 Fix Croatia's country code in localflavor docs
Croatia's country code is 'HR', not 'CR'.
2013-07-19 09:01:13 +01:00
Sergio Oliveira
cf6c754629 LocaleMiddleware isn't default anymore
Changed in @23229061fcb836ecca2195cc75f91e331279a5d1
2013-07-18 21:15:30 -03:00
Loic Bistuer
2fc6c9472c Fixed #20767 -- Fixed ModelAdmin.preserve_filters for namespaced URLs.
Thanks Collin Anderson for the report.
2013-07-18 18:18:30 -04:00
Tim Graham
9a2715da8b Merge pull request #1372 from loic/admin
Cleaned up UserAdmin.get_form() that worked around a bug fixed in 23e1b59.
2013-07-18 10:07:55 -07:00
Loic Bistuer
3a00229189 Cleaned up UserAdmin.get_form() that worked around a bug fixed in 23e1b59.
Refs #18681.
2013-07-18 23:59:45 +07:00
Tim Graham
dce8945ea6 Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute. 2013-07-18 12:41:01 -04:00
Tim Graham
d7ba2bf3cf Merge pull request #1370 from Matt-Stevens/doc-url-fix
Fixed broken Atom URLs in syndication docs
2013-07-18 05:47:33 -07:00
Tim Graham
fd95dc9e27 Fixed #20763 -- Typo in tutorial 3.
Thanks crichard@ for the report.
2013-07-18 07:58:51 -04:00
Matt Deacalion Stevens
beefc97171 Atom specification URL updated
Changed to the URL of the official RFC for Atom, since Atomenabled.org
is just a holding page.
2013-07-18 12:53:54 +01:00
Marc Tamlyn
bd92a12fae Merge pull request #1368 from alasdairnicol/inspectdb_docs
Fixed typo in inspectdb docs
2013-07-18 04:01:15 -07:00
Alasdair Nicol
1131d4191f Fixed typo in inspectdb docs 2013-07-18 11:37:01 +01:00
Curtis Maloney
a3e7d73ed7 Allowed Context.push to behave as a context mananger.
Thanks Loic Bistuer for the review.
2013-07-17 13:32:32 -04:00
Tim Graham
828359e52d Couple of cleanups in RelatedObjectLookups.js
Thanks George Karpenkov.
2013-07-17 09:32:14 -04:00
Tim Graham
a3242dc9fe Fixed #20756 -- Typo in uWSGI docs. 2013-07-17 06:50:40 -04:00
Tim Graham
2333c9662b Fixed #14007 -- Added model discovery in models module without the need to specify app_label.
Thanks mark@ and Aramgutang for work on the patch.
2013-07-16 19:32:30 -04:00
Loic Bistuer
fba6c2ede7 Reworked docs for ModelForm validation. 2013-07-16 19:20:53 -04:00
Tim Graham
ce5c8a392f Merge pull request #1358 from loic/docs
Rephrased the docs for reporting security issues to make it less intimidating.
2013-07-16 03:20:59 -07:00