Commit graph

506 commits

Author SHA1 Message Date
Brandon Taylor
d8df8bab55 Updated documentation around extending custom templates. 2018-03-19 20:54:23 -04:00
Brandon Taylor
f515f93d22 Version bump to 2.1.3
Updated readme with credits for translations.
2018-02-25 11:49:38 -05:00
Brandon Taylor
f2df915a13
Merge pull request #183 from bashu/patch-1
let there be (correct) colour
2018-02-16 16:19:30 -05:00
Basil Shubin
40affcaea3
let there be (correct) colour
+ corrected indentation level as a bonus
2018-02-16 18:25:11 +07:00
Brandon Taylor
dcee65eab5
Merge pull request #182 from peterisb/master
Added Latvian translation.
2018-02-08 15:53:00 -05:00
Peteris Bruns
f992fc72b4 Added Latvian translation. 2018-02-08 22:48:57 +02:00
Brandon Taylor
7bd6dfdbf8
Merge pull request #181 from simenheg/norwegian-translation
Add Norwegian Bokmål translation
2018-02-05 11:41:31 -05:00
Simen Heggestøyl
8d4c5b1417 Add Norwegian Bokmål translation 2018-02-05 17:25:14 +01:00
Brandon Taylor
604bfd035a Updated tox 2017-12-04 22:10:12 -05:00
Brandon Taylor
d4f577fdf9 Update csrf value to use value if present in context, then fall back to cookie.
Updated database samples.
Added migrations for sample project models.
Updated Category model to make order not editable.
2017-12-04 22:05:37 -05:00
Brandon Taylor
f4daaeb232 Restructured sample project for Django 2.
Refactored database and changed "app" to "samples" so name didn't conflict with "AppConfig".
Replaced deprecated assignment_tag with simple_tag.
Updated unit tests.
2017-12-04 21:29:55 -05:00
Brandon Taylor
10188ec8ac Merge branch 'touch-support' 2017-10-13 06:41:25 -04:00
Brandon Taylor
d594dbaf62 Merge branch 'touch-support' of github.com:iambrandontaylor/django-admin-sortable into touch-support 2017-10-13 06:40:39 -04:00
Brandon Taylor
4e0c23a1e5 Version bump to 2.1.1.
Updated readme files.
2017-10-13 06:40:35 -04:00
Brandon Taylor
0a594928ef Increase margin between sortable elements in the change list. 2017-10-11 16:13:12 -04:00
Brandon Taylor
bb70d5a3ad Added jQuery UI Touch Support 2017-10-11 07:15:42 -04:00
Brandon Taylor
115aad641d Update README.md
Updated Travis urls
2017-03-21 15:09:33 -04:00
Brandon Taylor
171257c9c5 [bt/master] Updated information on version compatibility 2017-03-21 06:44:26 -04:00
Brandon Taylor
a9855808d0 [bt/master] Version bump to 2.1 2017-03-21 06:42:24 -04:00
Brandon Taylor
2ec2722c67 Merge pull request #168 from jaap3/modernize
Remove fallbacks for Django < 1.8
2017-03-21 06:38:17 -04:00
Brandon Taylor
9fa1fb13a5 Update setup.py 2017-03-21 06:10:58 -04:00
Jaap Roes
49a7c41896 Use remote_field.model in favor of rel.to when possible 2017-03-16 16:21:59 +01:00
Jaap Roes
de6a768ceb No need to use include for admin.site.urls (it’s deprecated) 2017-03-16 16:21:59 +01:00
Jaap Roes
aa9c4a6063 User.is_authenticated is a property from Django 1.10 and onward 2017-03-16 16:21:59 +01:00
Jaap Roes
a5eca5ea4d assertEquals is deprecated in Python 3 2017-03-16 16:21:59 +01:00
Jaap Roes
e5adadaefc Use the newer MIDDLEWARE setting but fall back to MIDDLEWARE_CLASSES on Django < 1.10 2017-03-16 16:21:59 +01:00
Jaap Roes
defaf45e9a Make it clear why the httplib import is guarded by a try except and has a fallback 2017-03-16 16:21:59 +01:00
Jaap Roes
b8bfbe0c9a Explicitly set on_delete=models.CASCADE on ForeignKey as it will be required in Django 2.0 2017-03-16 16:21:59 +01:00
Jaap Roes
9d3c958365 Remove deprecated template settings 2017-03-16 16:21:59 +01:00
Jaap Roes
7262cb6564 Remove unused utils module 2017-03-16 16:21:59 +01:00
Jaap Roes
28fe5d1460 Run non auto field model test unconditional 2017-03-16 16:21:59 +01:00
Jaap Roes
9997644929 Run uuid field tests unconditional 2017-03-16 16:21:59 +01:00
Jaap Roes
209a280ce8 Remove (seemingly broken) TemplateSyntaxError import fallback 2017-03-16 16:21:58 +01:00
Jaap Roes
b0df1ff701 Remove south_field_triple method as South does not support Django >= 1.7 2017-03-16 16:21:58 +01:00
Jaap Roes
8b88dfa9cd Remove pointless fallback code (it just repeats the previously failed statement) 2017-03-16 16:21:58 +01:00
Jaap Roes
356d88dfde Remove ordering field lookup fallback 2017-03-16 16:21:58 +01:00
Jaap Roes
ac507e4484 Remove get_queryset fallback 2017-03-16 16:21:58 +01:00
Jaap Roes
f17db22938 Remove inline admin fallback templates 2017-03-16 16:21:58 +01:00
Jaap Roes
74e0c92455 Remove contenttypes.generic import fallbacks 2017-03-16 16:21:58 +01:00
Jaap Roes
e0a85c554b Remove django.conf.urls import fallback 2017-03-16 16:21:58 +01:00
Jaap Roes
cc5fc81da9 Add tox.ini to test and collect combined coverage data of multiple Python and Django versions 2017-03-16 16:21:58 +01:00
Brandon Taylor
1990e6653e [bt] Version 2.0.22 Release Notes
Updated readme files with new version information and credits.
Version bump to 2.0.22.
2017-03-14 22:04:23 -04:00
Brandon Taylor
60ac42cd2b Merge pull request #167 from camilonova/patch-2
Update to django 1.11
2017-03-14 08:47:12 -04:00
Camilo Nova
9b51e83537 Update to django 1.11
Fixes `TypeError, context must be a dict rather than RequestContext.`

As seen in https://docs.djangoproject.com/en/1.11/ref/templates/upgrading/#django-template-loader
2017-03-13 11:57:38 -05:00
Brandon Taylor
0d92d5c1a1 Merge pull request #166 from sushifan/save-only-order-field
Only update the order field when saving objects; omit unnecessary db queries
2017-03-11 13:30:24 -05:00
Anton Shevchenko
eb5f14fe22 Clarify comment. 2017-03-11 11:20:16 -05:00
Anton Shevchenko
eb5a9e0a8a Avoid unnecessary db queries: perform the update iff the order field has changed. 2017-03-08 23:28:40 -05:00
Anton Shevchenko
f2f5daf831 Use 'update_fields' to limit the object's save() method to just the order field, so that other fields are not accidentally overwritten with stale data. 2017-03-08 22:14:48 -05:00
Brandon Taylor
99530d3ba4 Merge pull request #165 from Flimm/context-processor-fix
Update instructions about context processor static
2017-03-07 20:29:55 -05:00
David D Lowe
d0813e7a56 Update instructions about context processor static 2017-03-07 13:57:31 +01:00