- 11 Ock, 2017 1 kayıt (commit)
-
-
David Sanders yazdı
-
- 04 Ock, 2017 3 kayıt (commit)
-
-
Tim Graham yazdı
Thanks revimi for the initial patch.
-
Tim Graham yazdı
-
Tim Graham yazdı
-
- 19 Ara, 2016 1 kayıt (commit)
-
-
Tim Graham yazdı
Regression in 374e6230. Thanks Florian Apolloner for the report and analysis.
-
- 17 Ara, 2016 1 kayıt (commit)
-
-
alix- yazdı
-
- 11 Kas, 2016 1 kayıt (commit)
-
-
za yazdı
-
- 02 Eyl, 2016 1 kayıt (commit)
-
-
François Freitag yazdı
Fixed #27108 -- Displayed collectstatic's delete/overwrite warnings only if some files exist in STATIC_ROOT.
-
- 01 Eyl, 2016 1 kayıt (commit)
-
-
François Freitag yazdı
-
- 12 Tem, 2016 1 kayıt (commit)
-
-
Andrew Nester yazdı
-
- 23 Haz, 2016 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 20 Haz, 2016 1 kayıt (commit)
-
-
Tobias McNulty yazdı
Also used ALLOWED_HOSTS to check for external hosts in assertRedirects().
-
- 16 Haz, 2016 1 kayıt (commit)
-
-
Jon Dufresne yazdı
-
- 31 May, 2016 1 kayıt (commit)
-
-
Jon Dufresne yazdı
File operations always raise a ENOENT error when a file doesn't exist. Checking the file exists before the operation adds a race condition condition where the file could be removed between operations. As the operation already raises an error on a missing file, avoid this race and avoid checking the file exists twice. Instead only check a file exists by catching the ENOENT error.
-
- 22 Nis, 2016 1 kayıt (commit)
-
-
Claude Paroz yazdı
Thanks Tim Graham for the review.
-
- 30 Mar, 2016 1 kayıt (commit)
-
-
Claude Paroz yazdı
Thanks Simon Meers for the initial patch, and Tim Graham for the review.
-
- 28 Mar, 2016 1 kayıt (commit)
-
-
Claude Paroz yazdı
Thanks Tim Graham for precious inputs.
-
- 17 Mar, 2016 1 kayıt (commit)
-
-
Berker Peksag yazdı
-
- 03 Mar, 2016 1 kayıt (commit)
-
-
Jon Dufresne yazdı
-
- 23 Şub, 2016 4 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.
-
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.
-
Claude Paroz yazdı
Refs #26190.
-
- 29 Ock, 2016 2 kayıt (commit)
- 19 Ock, 2016 1 kayıt (commit)
-
-
Johannes Hoppe yazdı
Before cf546e11, static files in form or widget Media were usually wrapped with contrib.staticfiles.templatetags.staticfiles.static. This test ensures compatibility with third-party code that's still using this pattern.
-
- 10 Ara, 2015 1 kayıt (commit)
-
-
Johannes Hoppe yazdı
-
- 03 Ara, 2015 1 kayıt (commit)
-
-
Josh Soref yazdı
-
- 22 Kas, 2015 1 kayıt (commit)
-
-
Alex Morozov yazdı
Made the `manage.py help collectstatic` don't fail if the `STATIC_ROOT` setting is empty.
-
- 13 Kas, 2015 1 kayıt (commit)
-
-
msaelices yazdı
A @font-face declaration may contain a fragment that looks like a relative path, e.g. @font-face { src: url('../fonts/font.svg#../path/like/fragment'); } In this case, an incorrect path was passed to the storage backend, which raised an error that caused collectstatic to crash.
-
- 17 Eki, 2015 1 kayıt (commit)
-
-
Yusuke Miyazaki yazdı
-
- 09 Eyl, 2015 1 kayıt (commit)
-
-
Aymeric Augustin yazdı
This requires that each test never alters files in static directories collected by other tests. The alternative is to add a temporary directory to STATICFILES_DIRS or a new app to INSTALLED_APPS.
-
- 06 Tem, 2015 1 kayıt (commit)
-
-
Andriy Sokolovskiy yazdı
-
- 01 Tem, 2015 1 kayıt (commit)
-
-
Moritz Sichert yazdı
-
- 14 Haz, 2015 1 kayıt (commit)
-
-
Markus Amalthea Magnuson yazdı
-
- 20 May, 2015 1 kayıt (commit)
-
-
Simon Charette yazdı
-
- 11 Mar, 2015 1 kayıt (commit)
-
-
Tim Graham yazdı
-
- 07 Mar, 2015 1 kayıt (commit)
-
-
Sztrovacsek yazdı
-
- 23 Şub, 2015 2 kayıt (commit)
-
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Dropped the DJANGO_TEST_TEMP_DIR environment variable. Before this change, proper removal depended on the developer passing dir=os.environ['DJANGO_TEST_TMP_DIR'] to tempfile functions.
-