1
0
mirror of https://github.com/django/django.git synced 2025-10-21 20:59:11 +00:00

244 Commits

Author SHA1 Message Date
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
a375e911ef Removed unused variables. 2018-11-09 15:44:12 -05:00
Jon Dufresne
d4fc111c24 Refs #27795 -- Removed force_bytes() usage in admindocs.
Refs #12892 is probably obsolete.
2018-10-02 10:18:52 -04:00
Sergey Fedoseev
8ef8bc0f64 Refs #28909 -- Simplifed code using unpacking generalizations. 2018-09-28 09:57:12 -04:00
Tim Graham
0c20850774 Removed unused admin_url and root_path context variables in admindocs.
Unused since 915ef79b08862680e82d6a772d6ead22735e9a2f and
aaf77c1676e44019abe544911ff7a06eb2690295.
2018-09-17 15:41:17 -04:00
Josh Schneier
756b859576 Renamed django.utils.inspect.func_has_no_args() to method_has_no_args(). 2018-08-07 17:37:35 -04:00
Claude Paroz
287fef8693 Updated contrib translations from Transifex
Forwardport of cbf7e7dc52db2834e95817bbbfb56a693c83b84f from stable/2.1.x.
2018-08-01 09:24:06 -04:00
humbertotm
747ff7a30b Fixed #29385 -- Made admindocs ModelDetailView show model properties.
Original patch by bkaluza. Tests and docs by humbertotm.
2018-06-03 21:00:28 -04:00
Tom
11b8c30b9e Ref #23919 -- Replaced some os.path usage with pathlib.Path. 2018-04-19 21:30:00 -04:00
Paul Donohue
33a0b7ac81 Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object. 2018-04-12 13:11:08 -04:00
Jon Dufresne
ff05de760c Fixed #29038 -- Removed closing slash from HTML void tags. 2018-01-21 02:09:10 -05:00
Дилян Палаузов
d7b2aa24f7 Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
Nick Pope
d13a9e44de Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. 2017-12-11 07:08:45 -05:00
Claude Paroz
d0932ce8fc Updated contrib translations from Transifex
Forward port of 765e6de92493aa638555408172597e054e813ce3 from stable/2.0.x
2017-12-01 21:51:30 +01:00
Sjoerd Job Postmus
df41b5a05d Fixed #28593 -- Added a simplified URL routing syntax per DEP 0201.
Thanks Aymeric Augustin for shepherding the DEP and patch review.
Thanks Marten Kenbeek and Tim Graham for contributing to the code.
Thanks Tom Christie, Shai Berger, and Tim Graham for the docs.
2017-09-20 18:04:42 -04:00
Claude Paroz
ae2ac4c400 Updated translations from Transifex
Forward port of 02158a785eff923110cb4c7c7e635d3ce4a928e3 from stable/1.11.x
2017-05-31 21:43:40 +02:00
Claude Paroz
2dba812d86 Updated contrib translations from Transifex
Forward port of 290b2849f7ded5d21aa54c16171d806f7c14dfc9 from stable/1.11.x
2017-04-04 12:39:02 +02:00
Mads Jensen
ed0cbc8d8b Refs #23919 -- Removed some Python 2 compatibility code and comments. 2017-03-27 13:12:27 -04:00
Asif Saifuddin Auvi
5f3a689f71 Imported django.http classes instead of django.http. 2017-02-27 14:47:11 -05:00
Claude Paroz
c651331b34 Converted usage of ugettext* functions to their gettext* aliases
Thanks Tim Graham for the review.
2017-02-07 09:04:04 +01:00
Anton Samarchyan
5411821e3b Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257. 2017-02-04 16:39:28 -05:00
Mariusz Felisiak
c37ec5a659 Fixed #27781 -- Made simplify_regex() remove outstanding '?' characters.
Regression in f0ef0c49e9284f262fbc63e8a497699ca4a248fe.
2017-01-26 18:36:34 -05:00
chillaranand
d6eaf7c018 Refs #23919 -- Replaced super(ClassName, self) with super(). 2017-01-25 12:23:46 -05:00
Mads Jensen
ebf34c3cdc Removed unused variables that are overwritten. 2017-01-25 09:14:05 -05:00
Claude Paroz
53f3d53ed4 Updated translation catalogs
Forward port of 518693bef559bb719e68b08904a9250abfd9237c from stable/1.11.x
2017-01-19 17:09:37 +01:00
Claude Paroz
c716fe8782 Refs #23919 -- Removed six.PY2/PY3 usage
Thanks Tim Graham for the review.
2017-01-18 16:21:28 +01:00
Ketan Bhatt
f0ef0c49e9 Fixed #26621 -- Corrected simplify_regex()'s handling of named capture groups. 2017-01-03 13:55:11 -05:00
Ramin Farajpour Cami
967be82443 Fixed E305 flake8 warnings. 2016-11-14 12:30:46 -05:00
Claude Paroz
63bf615d5e Updated translations from Transifex
Forward port of bfc9c727256ded75dd9438167d6549b195361a0d from stable/1.10.x.
2016-09-30 22:12:41 +02:00
Tim Graham
2317434147 Split admin_docs tests into separate files. 2016-09-27 18:54:35 -04:00
Tim Graham
8119b679eb Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.
http://bugs.python.org/issue27364
2016-09-17 15:44:06 -04:00
Helen Sherwood-Taylor
bc1e2d8e8e Fixed #27018 -- Fixed admindocs crash with a view in a class.
Generated correct admindocs URLs on Python 3. URLs generate 404s on
Python 2, as in older versions of Django.
2016-08-20 10:01:57 -04:00
Ville Skyttä
a2fb2b3a1f Fixed #27020 -- Used a context manager to close files. 2016-08-04 19:45:14 -04:00
Claude Paroz
374b6091ac Pulled contrib translations from Transifex
Forward port f19cadd39170637a96cc0abea9e7f3b2ee9ce924 from stable/1.10.x
2016-08-01 19:47:19 +02:00
Claude Paroz
490107f14d Added Upper/Lower Sorbian translations 2016-06-29 21:11:30 +02:00
Tim Graham
16a842b379 Refs #26621 -- Added tests for admindocs.views.simplify_regex(). 2016-05-30 09:50:02 -04:00
Claude Paroz
5ccee815ff Updated translation catalogs 2016-05-17 23:21:35 +02:00
Florian Apolloner
9baf692a58 Fixed #26601 -- Improved middleware per DEP 0005.
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Claude Paroz
8dcf352c03 Pulled translations from Transifex 2016-04-30 14:27:07 +02:00
Claude Paroz
d9a00ad16b Removed deprecated Chinese language codes for contrib apps
Refs #18149.
2016-04-30 14:26:47 +02:00
Tim Graham
df8d8d4292 Fixed E128 flake8 warnings in django/. 2016-04-08 09:51:06 -04:00
Marten Kenbeek
16411b8400 Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Claude Paroz
f14ab700c3 Updated translations from Transifex
Forward port of 59f3590ca7 from stable/1.9.x.
2015-12-31 15:53:02 +01:00
Ville Skyttä
4d0f8831a7 Fixed #25667 -- Fixed admindocs initial_header_level. 2015-12-02 17:56:38 -05:00
Claude Paroz
273ce8aa6a Pulled contrib translations from Transifex
Forward port of 6a4649c27e6 from stable/1.9.x
2015-12-01 20:37:57 +01:00
gunchleoc
89b6856aa6 Fixed #25823 -- Made some titles consistent in admindocs. 2015-11-30 11:17:48 -05:00
Claude Paroz
867faeda9e Added two translator comments in contrib apps
Thanks GunChleoc for the suggestions.
2015-11-27 09:37:31 +01:00
Claude Paroz
8276f6cfa9 Simplified translatable string in admindocs template
Forward port of 60471c960 from stable/1.9.x.
2015-10-10 14:57:58 +02:00
Claude Paroz
f233aa3ff9 Updated translation catalogs
Forward port of f717cb2ab4 from stable/1.9.x.
2015-10-09 18:02:47 +02:00
Zan Anderle
f3dc173240 Fixed #24917 -- Made admindocs display model methods that take arguments. 2015-09-07 15:07:39 -04:00
Ben Spaulding
915ef79b08 Fixed #25115 -- Made admindocs view bookmarklet reverse the URL rather than hardcode it. 2015-07-13 12:44:37 -04:00