- 27 Şub, 2016 2 kayıt (commit)
-
-
inondle yazdı
-
Attila Tovt yazdı
-
- 26 Şub, 2016 13 kayıt (commit)
-
-
Tore Lundqvist yazdı
Thanks Simon Charette for the review.
-
Simon Charette yazdı
This should prevent managers methods from returning content type instances registered to foreign apps now that these managers are also attached to models created during migration phases. Thanks Tim for the review. Refs #23822.
-
Tim Graham yazdı
-
Adam Chainz yazdı
-
Yoong Kang Lim yazdı
-
Simon Charette yazdı
-
Simon Charette yazdı
-
zshimanchik yazdı
-
Simon Charette yazdı
Made SessionTestsMixin backend agnostic and removed code obsoleted by the test discovery refactor.
-
Ivan Tsouvarev yazdı
-
Edwar Baron yazdı
-
Tim Graham yazdı
-
Sjoerd Job Postmus yazdı
-
- 25 Şub, 2016 8 kayıt (commit)
-
-
Nick Malakhov yazdı
-
Tim Graham yazdı
-
Yoong Kang Lim yazdı
Thanks Markus Holtermann for review.
-
Scott Sexton yazdı
Thanks Simon Charette for help.
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Olivier Le Thanh Duong yazdı
contrib.auth.views.login() has a new parameter `redirect_authenticated_user` to automatically redirect authenticated users visiting the login page. Thanks to dmathieu and Alex Buchanan for the original code and to Carl Meyer for the help and review.
-
Claude Paroz yazdı
Thanks Tim Graham for the review.
-
- 24 Şub, 2016 5 kayıt (commit)
-
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Claude Paroz yazdı
Thanks Tim Graham for the review.
-
Tim Graham yazdı
Removed in Django 1.7 (4f6be9a0).
-
Jon Dufresne yazdı
-
- 23 Şub, 2016 10 kayıt (commit)
-
-
James Aylett yazdı
New Storage.get_{accessed,created,modified}_time() methods convert the naive time from now-deprecated {accessed,created_modified}_time() methods into aware objects in UTC if USE_TZ=True.
-
Claude Paroz yazdı
Refs #25925. Thanks Jeroen Pulles for the report.
-
Simon Charette yazdı
-
Aymeric Augustin yazdı
When running collectstatic with a hashing static file storage backend, URLs referencing other files were normalized with posixpath.normpath. This could corrupt URLs: for example 'a.css#b/../c' became just 'c'. Normalization seems to be an artifact of the historical implementation. It contained a home-grown implementation of posixpath.join which relied on counting occurrences of .. and /, so multiple / had to be collapsed. The new implementation introduced in the previous commit doesn't suffer from this issue. So it seems safe to remove the normalization. There was a test for this normalization behavior but I don't think it's a good test. Django shouldn't modify CSS that way. If a developer has rendundant /s, it's mostly an aesthetic issue and it isn't Django's job to fix it. Conversely, if the user wants a series of /s, perhaps in the URL fragment, Django shouldn't destroy it. Refs #26249.
-
Aymeric Augustin yazdı
collectstatic crashed when: * a hashing static file storage backend was used * a static file referenced another static file located directly in STATIC_ROOT (not a subdirectory) with an absolute URL (which must start with STATIC_URL, which cannot be empty) It seems to me that the current code reimplements relative path joining and doesn't handle edge cases correctly. I suspect it assumes that STATIC_URL is of the form r'/[^/]+/'. Throwing out that code in favor of the posixpath module makes the logic easier to follow. Handling absolute paths correctly also becomes easier.
-
Tim Graham yazdı
-
Andrew Kuchev yazdı
Thanks Tim Graham for the review.
-
Tim Graham yazdı
-
Claude Paroz yazdı
Refs #26190.
-
Claude Paroz yazdı
Thanks Tim Graham for the review.
-
- 22 Şub, 2016 2 kayıt (commit)
-
-
Tim Graham yazdı
-
Markus Holtermann yazdı
-