Commit graph

365 commits

Author SHA1 Message Date
Gagandeep Singh
3993038f95 py27-lint test fix 2018-11-28 00:10:16 +05:30
Gagandeep Singh
1dc6d473ff Test Cases fix 2018-11-27 23:56:21 +05:30
Gagandeep Singh
e39b5d24a8 Updated tree editor for typo 2018-11-27 21:45:05 +05:30
Gagandeep Singh
c53bc77b82 Adding opts to context for Django version 2 and above 2018-11-27 21:36:22 +05:30
Gagandeep Singh
6019c0dd4f Bug Fix : sortable was last argument 2018-11-27 21:21:00 +05:30
Gagandeep Singh
a84bb00210 Django 2.0 support in Admin
TypeError at /admin/categories/category/
__init__() missing 1 required positional argument: 'sortable_by'
2018-11-26 23:55:12 +05:30
Brent O'Connor
58ec14f99b Updated the version 2018-02-27 11:34:45 -06:00
Brent O'Connor
f6cd053f74 Changed from using a string to importing the actual CASCADE function 2018-02-27 11:18:07 -06:00
goetzb
a8dc71bcb1 Proposes changes based on 366ff74619 and pull request #140 for Django 2.0 to pass CI tests. 2018-02-27 11:09:26 -06:00
Brent O'Connor
366ff74619 Made updates to get everything working with Django 2 2017-12-26 11:27:42 -06:00
Corey Oordt
0e338c78d5 [1.5.4] Version bump 2017-10-12 22:51:01 -05:00
Corey Oordt
9c5ccb8c54 [-] Get management commands compatible with Django 1.10+ 2017-10-12 22:49:47 -05:00
Corey Oordt
9a71474b15 [-] Remove old django-cbv reference and adds better error checking in views 2017-10-12 22:48:51 -05:00
Corey Oordt
5dda5348c0 [-] Retrieve content types lazily in Generic Relations admin 2017-10-12 22:47:58 -05:00
Corey Oordt
7fa98fd58f [-] Check for a valid session id before trying to save or rollback a transaction 2017-10-12 22:47:22 -05:00
Corey Oordt
63bb31df40 [-] Added additional test coverage for management commands and views 2017-10-12 22:46:33 -05:00
Corey Oordt
1df724f48d [-] Remove south migrations 2017-10-12 22:44:21 -05:00
Corey Oordt
22c5630af2 [-] Set decendent_ids to empty list if not saved 2017-10-12 22:42:50 -05:00
Hodossy Szabolcs
254a05d2d4 This should have stayed 2017-09-26 08:18:36 +02:00
Hodossy Szabolcs
829d1cc522 Removing every occurrence of Requestcontext and Context 2017-09-26 07:47:28 +02:00
Hodossy Szabolcs
af26da6106 Django 1.11 compatibility 2017-09-25 14:15:00 +02:00
Egor
926d85a04e Fix changlist TypeError. Return RequestContext as dict on changelist_view. Based on changes in Django 1.11 (https://docs.djangoproject.com/en/1.11/releases/1.11/#django-template-backends-django-template-render-prohibits-non-dict-context) 2017-05-15 13:46:34 -05:00
Brent O'Connor
e21c304de1 Version bump 2017-03-31 08:41:35 -05:00
Brent O'Connor
53b92f3f0f Fixed a ValueError that happened when trying to save a Category that has a thumbnail 2017-03-29 20:43:55 -05:00
Brent O'Connor
5b230ef4f5 Version bump 2017-03-29 16:53:44 -05:00
Brent O'Connor
fb0174c0a8 Fixed a unicode error that happens with Python 2.7 2017-03-29 14:32:47 -05:00
Brent O'Connor
d71d057a18 Version bump 2017-02-17 11:34:44 -06:00
Brent O'Connor
d5bec42a09 Added a missing migration 2017-02-17 11:24:48 -06:00
Dheeraj Sayala
e1d5ed006f Close table tag in templatetag result
In items_for_tree_result, there's a format_html call which builds HTML via string interpolation. It missed back slash in the closing tag. This commit adds that.
2016-11-19 15:13:44 -06:00
Brent O'Connor
47554bec2b Version bump 2016-11-14 12:29:43 -06:00
Brent O'Connor
c4f7978eef PEP8 fixes 2016-11-14 12:29:05 -06:00
Brent O'Connor
b2497df2b0 Updated django-categories to work with Django 1.10 2016-11-14 12:28:07 -06:00
Brent O'Connor
96a0fa037f Version bump 2016-10-21 16:05:21 -05:00
Jordan Roth
5ad9a2a5cd Fixes popup raw_id fields for django versions 8 or greater 2016-10-21 15:56:08 -05:00
Brent O'Connor
ef58cae61e Version bump 2016-04-19 15:01:09 -05:00
Brent O'Connor
30d1eb5604 Fixed it so display_for_field works with Django 1.8 and 1.9 2016-04-19 14:55:11 -05:00
Brent O'Connor
4c7768fab2 Version bump 2016-03-31 10:53:08 -05:00
Brent O'Connor
0a1e7db9a6 Added some tests to test the admin 2016-03-05 19:45:14 -06:00
Brent O'Connor
bdb6278559 Removed some RemovedInDjango110Warning warnings 2016-03-05 19:44:33 -06:00
msaelices
840ea77f14 Fixed an exception error that happens when saving a category in the admin 2016-03-05 19:43:30 -06:00
msaelices
410caf8e79 Avoid the "Cannot call get_descendants on unsaved Category instances"
ValueError when adding categories in admin interface.
2016-03-05 18:23:05 -06:00
Corey Oordt
1cbc7cf370 Release 1.4 2016-02-15 17:25:28 -06:00
Brent O'Connor
64686cdaa8 Made a bunch of flake8 fixes and also added flake8 testing to Travis and Tox 2016-02-15 15:47:21 -06:00
Brent O'Connor
78c73d5b01 Added a tox.ini and updated the travis config to work with tox 2016-02-15 14:21:23 -06:00
Brent O'Connor
635d0550d9 Switched to using _meta.get_fields() instead of ._meta.get_all_field_names() for compatibility with Django 1.9 2016-02-15 11:57:36 -06:00
Brent O'Connor
e66df48aab Updated admin_tree_list_tags so that EMPTY_CHANGELIST_VALUE has a compatible way of working with Django 1.9 and older versions. 2016-02-15 11:56:35 -06:00
Brent O'Connor
0a5a3efac5 Updated urls to work without patterns since patterns is being deprecated 2016-02-15 11:54:25 -06:00
Brent O'Connor
f61e6f6f36 Fixed the max_length setting to use a int instead of a string 2016-02-15 11:53:01 -06:00
Brent O'Connor
6f813fd7a7 Made a fix for backwards compatibility with Python 2 2016-02-15 10:36:51 -06:00
Brent O'Connor
6acea02977 Replaced django.db.models.get_model with django.apps.apps.get_model for future compatibility with Django. 2016-02-15 09:55:28 -06:00
Brent O'Connor
600aaef926 Changed __unicode__ to __str__ on the CategoryBase class for Python 3 compatibility 2016-02-15 09:51:36 -06:00
Brent O'Connor
32144dd779 Fixed a test: file() doesn't work in Python 3, used open() instead. 2016-02-15 09:31:59 -06:00
Brent O'Connor
6e54f1635d b'' doesn't work under Python 3 in a migration file 2016-02-11 14:53:20 -06:00
Brent O'Connor
1deb79f75b Switched to importing the correct templatetags that got renamed. 2016-02-11 08:49:58 -06:00
Brent O'Connor
93d97d805b Switched form using smart_unicode to smart_text and force_unicode to force_text 2016-02-11 08:49:01 -06:00
Brent O'Connor
337cca5813 Switched from using django.db.models.loading.get_model to using django.apps.apps.get_model 2016-02-10 16:28:40 -06:00
Brent O'Connor
87a22098be Switched form using force_unicode to force_text 2016-02-10 11:58:03 -06:00
Brent O'Connor
c5c459fe42 Ran the 2to3 script 2to3 -w . 2016-02-10 11:47:30 -06:00
Basile LEGAL
188021e568 ugettext may cause circular import 2015-08-19 16:16:33 +02:00
Orestes Sanchez
c7344f6b60 Use singleton registry to import register_fk and register_m2m since they are members on Registry class. 2015-08-12 17:11:08 +02:00
Corey Oordt
cf79d1ba7a Version bump to 1.3 2015-06-09 15:23:43 -05:00
Corey Oordt
addb0e410f defaulting the url prefix to / if it can't find the category tree 2015-06-09 15:23:43 -05:00
Corey Oordt
7f8e303a95 Version 1.3b8: Fixes some migrations 2015-06-09 15:23:43 -05:00
Corey Oordt
02780ba2a1 Version 1.3b7 - fixes registration when there is no app config 2015-06-09 15:23:43 -05:00
Corey Oordt
e841de7aca Version bump to 1.3b6 2015-06-09 15:23:43 -05:00
Corey Oordt
dc99eac19c Fixes potential double imports in dev and test servers 2015-06-09 15:23:43 -05:00
Corey Oordt
8dda6ec87b Fixed a potential issue with double-loading of the dev server 2015-06-09 15:23:43 -05:00
Corey Oordt
7cc0c9987e Version bump to 1.3b5 2015-06-09 15:23:43 -05:00
Corey Oordt
acff7f02a3 Dramatically refactored how migrations are performed to work with Django 1.7 2015-06-09 15:21:38 -05:00
Corey Oordt
28ef4d5565 Updates the existing migration to south_migrations 2015-06-09 15:20:09 -05:00
Corey Oordt
6eb306d715 Version bump to 1.3b4 2015-06-09 15:20:09 -05:00
Corey Oordt
dd60aebf28 Fixes a conflict with treebeard. They stole the name admin_tree_list 2015-06-09 15:20:09 -05:00
Corey Oordt
c6b7cdd520 Changing migration dependency of contenttypes to 0001_initial for support for Django 1.7 2015-06-09 15:20:09 -05:00
Corey Oordt
87f985992b Version bump to 1.3b1 2015-06-09 15:20:09 -05:00
Corey Oordt
69bf632a03 small fixes in some fields 2015-06-09 15:19:36 -05:00
Jose Soares
678e84504d [-] Missed some migrations 2015-06-09 15:17:48 -05:00
Jose Soares
4f51f96d5c [-] Fixed some tree editor and generic collection issues 2015-06-09 15:17:48 -05:00
Jose Soares
e0676d4f25 [-] Migrations updates 2015-06-09 15:17:48 -05:00
Jose Soares
a6443ada85 [-] 1.6/1.7/1.8 compatiable changes (WIP) 2015-06-09 15:17:48 -05:00
Brent O'Connor
74cc9f8346 Fixed the RemovedInDjango19Warning deprecation warning 2015-06-09 15:17:47 -05:00
Brent O'Connor
70abc1c807 Fixed tests so they run under Django 1.7 2015-06-09 15:17:47 -05:00
Brent O'Connor
9822ba8cbb Added the fields property with it set to '__all__' in order to not get the RemovedInDjango18Warning 2015-06-09 15:17:47 -05:00
Brent O'Connor
58abcc7401 Renamed get_query_set to get_queryset to get Django categories to work in Django 1.7. I'm not sure of a good way to make this work in Django 1.6. 2015-06-09 15:17:47 -05:00
Olivier Le Brouster
ab31c29350 i18n: add french translation 2015-05-19 17:02:58 +02:00
Corey Oordt
b75f11213c Version 1.2.3: Added a new way to register models manually 2015-05-05 18:05:37 -05:00
Mirza Delic
f02e06ea99 bootstrap class on table (important for django-suit) 2013-10-20 21:33:59 +02:00
Sina Samavati
703a036bf5 Fix unicode slug issue 2013-09-07 13:16:25 +04:30
Enver Bisevac
451af0e054 Using custom model in CategoryDetailView 2013-07-29 15:24:11 +02:00
Corey Oordt
a254fe9087 Version 1.2.2 2013-07-07 15:54:40 -05:00
Iacopo Spalletti
6c3d305c11 Italian localization 2013-06-05 12:50:17 +02:00
Corey Oordt
7096d8a3eb Fixing migration script for adding fields 2013-05-20 17:42:03 -05:00
Corey Oordt
a232b8e6e3 Version 1.2.1: Fixed i18n and failing test in Django 1.4 2013-03-22 06:25:52 -05:00
Eugene
1d01494ff5 Load I18N templatetags 2013-03-21 02:24:53 +08:00
Corey Oordt
63eefeeaf1 Version bump 1.2 2013-03-20 06:59:15 -05:00
Corey Oordt
c6f122d724 Fixing a few minor Django 1.5 incompatibilities 2013-03-20 06:54:34 -05:00
Corey Oordt
8ce56e8190 Fix for Django 1.5: {% url %} parameter needs to be quoted 2013-03-20 06:54:34 -05:00
Corey Oordt
0be7d5e41f Fixing a merge conflict 2013-03-20 06:54:34 -05:00
Corey Oordt
7232937014 Updating the admin template to support the latest django admin code 2013-03-20 06:54:34 -05:00
winniehell
89c7333306 i18n 2013-03-20 06:54:34 -05:00
winniehell
591680a24e german translation 2013-03-20 06:54:34 -05:00