1
0
mirror of https://github.com/django/django.git synced 2024-11-18 15:34:16 +00:00
Commit Graph

6802 Commits

Author SHA1 Message Date
Tim Graham
db9a1a0c47 Fixed #13755 -- Added a tip for caching responses that vary on AJAX.
Thanks mila for the suggestion.
2014-07-01 17:32:14 -04:00
Tim Graham
20ec9daf7c Fixed #22933 -- Deprecated django.template.resolve_variable(). 2014-07-01 17:29:41 -04:00
Claude Paroz
232f2028d5 Included irc link in paragraph to allow for l10n
Translators may want to change the irc link pointing to a
language-specific channel.
2014-07-01 21:54:32 +02:00
Anssi Kääriäinen
0b6f05ede6 Fixed #19501 -- added Model.from_db() method
The Model.from_db() is intended to be used in cases where customization
of model loading is needed. Reasons can be performance, or adding custom
behavior to the model (for example "dirty field tracking" to issue
automatic update_fields when saving models).

A big thank you to Tim Graham for the review!
2014-07-01 16:31:01 +03:00
Curtis
71461b14ab Fixed #22691 -- Added aliasing to cached_property. 2014-07-01 06:32:53 -04:00
Anubhav Joshi
34ba86706f Fixed #14334 -- Query relation lookups now check object types.
Thanks rpbarlow for the suggestion; and loic, akaariai, and jorgecarleitao
for reviews.
2014-07-01 06:12:58 -04:00
Tim Graham
81edf2d006 Fixed non-multiple of 4 indentation in docs/ref/request-response.txt. 2014-06-30 19:47:19 -04:00
Tim Graham
bbf0a9545b Fixed #22482 -- Recommended using data migrations in contrib.sites docs.
Thanks scibi for the report.
2014-06-30 18:48:49 -04:00
Tim Graham
f3a933d7c1 Made docs CSS for versionchanged/added more similar to docs.djangoproject.com. 2014-06-30 18:38:30 -04:00
Tim Graham
e3c7af18a3 Fixed #19489 -- Documented host parameter of assertRedirects().
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora
for the draft patch.
2014-06-30 17:52:04 -04:00
Tim Graham
874053edf9 Fixed #21942 -- Moved Form.clean() to form API docs.
Thanks cjerdonek for the suggestion.
2014-06-30 16:30:57 -04:00
Claude Paroz
0b5bafe993 Removed reference to old middleware 2014-06-30 20:36:18 +02:00
Tim Graham
cf252dbea6 Fixed #8162 -- Increased Permission.name max_length to 255 characters. 2014-06-30 14:20:51 -04:00
Tim Graham
5359188b08 Fixed docs/ref/contrib/auth.txt so that sphinx links work properly. 2014-06-30 14:20:51 -04:00
Tim Graham
1e8411259f Fixed #22912 -- Warned about a common mistake in tutorial 5. 2014-06-27 09:51:21 -04:00
Matt Deacalion Stevens
ec85df2fa5 Fixed and enhanced new HTML form docs. 2014-06-26 13:57:19 -04:00
Éric Araujo
e9c730f6be Fixed copy/paste typos in StreamingHttpResponse doc. 2014-06-26 07:27:13 -04:00
Gert Van Gool
a8c5630c98 Fixed typo in parameter name doc for BaseCommand.check(). 2014-06-26 07:23:32 -04:00
Ramiro Morales
77c0a904cb Fixed typo in revamped forms intro doc. 2014-06-25 12:15:20 -03:00
Duncan Parkes
fd4ccd045c Fixed #22799 -- Made GET and POST on HttpRequest QueryDicts, and FILES a MultiValueDict.
Previously, GET, POST, and FILES on an HttpRequest were created in
the __init__ method as dictionaries. This was not something you would
usually notice causing trouble in production as you'd only see a
WSGIRequest, but in testing using the test client, calling .getlist
on GET, POST, or FILES for a request with no get/post data resulted in
an AttributeError.

Changed GET and POST on an HttpRequest object to be mutable
QueryDicts (mutable because the Django tests, and probably many
third party tests, were expecting it).
2014-06-24 22:03:22 -04:00
Duncan Parkes
d68987ae25 Fixed #22897 -- Made QueryDict query_string argument optional.
Now QueryDict() is equivalent to QueryDict('') or QueryDict(None).
2014-06-24 22:02:03 -04:00
Duncan Parkes
7f4e2ef1e9 Improved documentation for QueryDict. 2014-06-24 21:40:21 -04:00
Peter Kowalczyk
48241ec9c4 Fixed typo in middleware docs.
Function definition should have an ending colon.
2014-06-24 16:06:06 -04:00
Daniele Procida
cd20b5d186 Fixed #22796 -- Added a more basic explanations of forms.
Thanks bmispelon, kezabelle, jorgecarleitao, and timgraham for reviews.
2014-06-24 14:55:22 -04:00
Anubhav Joshi
dbbcfca476 Fixed #21668 -- Return detailed error page when SuspiciousOperation is raised and DEBUG=True
Thanks GDorn and gox21 for report.

Thanks Tim Graham for idea and review.
2014-06-24 08:55:36 -04:00
Tim Graham
150d88cc2c Restored is_anonymous() check in ModelBackend permission checking removed in refs #17903.
Thanks Florian Apolloner for raising the issue.
2014-06-24 07:09:38 -04:00
Claude Paroz
460ec09d2e Fixed #22880 -- Added FAQ entry about UnicodeDecodeError
Thanks Víðir Valberg Guðmundsson for the report and
Tim Graham for the review.
2014-06-24 09:02:28 +02:00
Jorge C. Leitão
c33447a50c Fixed #17903 -- Modified ModelBackend to eliminate permissions on inactive users.
Thanks to @SmileyChris for the report and @timgraham for review.
2014-06-23 19:57:20 -04:00
Tim Graham
535219e4f7 Fixed typo: MultipleModelChoiceField -> ModelMultipleChoiceField. 2014-06-23 18:50:51 -04:00
Tim Graham
1bbffe7867 Fixed #22888 -- Removed some unnecessary text in tutorial 3. 2014-06-23 09:10:44 -04:00
Claude Paroz
9618d68b34 Fixed #8033 -- Explained app registry error during translation setup
Thanks Tim Graham and Aymeric Augustin for the review.
2014-06-23 09:31:45 +02:00
Tim Graham
1892ced10a Added refs #22514 to 1.6.6 release notes. 2014-06-20 18:47:14 -04:00
Marc Tamlyn
2764146586 Fixed #22838 -- Deprecated ModelChoiceField.cache_choices.
Undocumented, untested and probably not even useful feature.
2014-06-20 20:29:46 +01:00
Luan Pablo
407d070329 Fixed #22782 -- Added i18n attr to Sitemap class
It makes possible to have your sitemap in multiple languages when
using i18n in URLs.
2014-06-20 13:04:41 -04:00
Huu Nguyen
fbb684d95e Fixed #22862 -- Added --noinput option to makemigrations.
Thanks artortenburger for the report.
2014-06-20 08:55:02 -04:00
Maxime Turcotte
608aa8d101 Fixed #22836 -- Linked tutorial05 to the right section of tutorial04. 2014-06-20 08:14:17 -04:00
Andrew Godwin
08221d1b5c Fixed #22874: Document that AUTH_USER_MODEL must be in first migration 2014-06-19 23:48:29 -07:00
Andrew Godwin
9f4852f649 Fixed #22863: Improve clarity of makemigrations for non-db params 2014-06-19 23:41:32 -07:00
Maxime Turcotte
9996158db4 Fixed #22835 -- Deprecated NoArgsCommand. 2014-06-19 08:54:59 -04:00
Tim Graham
63670a474c Removed a CSRF example for jQuery < 1.5. 2014-06-18 14:58:50 -04:00
Tim Graham
0be4d64487 Fixed #22859 -- Improved crossDomain technique in CSRF example.
Thanks flisky for the report.
2014-06-18 14:35:38 -04:00
Renaud Parent
87d0a3384c Fixed #22778 -- Added a model Meta option to define default_related_name.
Thanks jorgecarleitao and mmardini for reviews.
2014-06-18 13:53:07 -04:00
Jorge C. Leitão
de90129070 Fixed #14481 -- Documented implicit "through" class created by ManyToManyField.
Thanks to jonathanmorgan for the report and initial patch.
2014-06-18 12:30:10 -04:00
Andrew Godwin
8d2ac948a9 Fixed #22853: Swapped models are now ignored for migration operations. 2014-06-17 17:45:38 -07:00
Anubhav Joshi
91f1b6dcdc Fixed #13711 -- Model check added to ensure that auto-generated column name is within limits of the database.
Thanks russellm for report and Tim Graham for review.
2014-06-17 16:16:02 -04:00
Collin Anderson
a8fa96796f Tutorial: Consistent url syntax 2014-06-17 12:23:26 -04:00
Tim Graham
95cc0e15b4 Fixed #22819 -- Renamed output_type -> output_field in query expression API.
Thanks jorgecarleitao for the suggestion.
2014-06-17 11:57:16 -04:00
Andrew Godwin
a8ce5fdc28 Fixed #22470: Full migration support for order_with_respect_to 2014-06-15 14:56:51 -07:00
Andrew Godwin
24afb1d7a7 Fixed #22660: Doc'd you can't have unmigrated apps depend on migrated 2014-06-15 11:47:23 -07:00
vagrant
7a1f8414c3 Fixed #22842 2014-06-15 10:44:33 +00:00