Commit graph

331 commits

Author SHA1 Message Date
pre-commit-ci[bot]
5961d6b80f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-12-05 14:34:46 +00:00
Brent O'Connor
3f9109ffe0 Update the version to 1.8 2020-08-31 09:22:21 -05:00
gantonayde
833789891b
Add support for Django 3.1
In Django 3.1 the compatibility import of django.core.exceptions.FieldDoesNotExist in django.db.models.fields is removed.

So we'd have to update the package by replacing:
from django.db.models.fields import FieldDoesNotExist
with
from django.core.exceptions import FieldDoesNotExist
2020-08-11 23:16:58 +01:00
Brent O'Connor
2dfbc8ef64 Update the version to 1.7.2 2020-05-18 16:16:57 -05:00
Carlos Cesar Caballero Díaz
3dbc96bf36
include missing migration 2020-05-17 15:03:33 -04:00
Petr Dlouhý
a3a3f8106e fix #152 2020-03-13 19:55:27 +01:00
Brent O'Connor
ac0f3c39c4 Update the version to 1.7.1 2020-03-06 11:09:40 -06:00
Brent O'Connor
dd201de641 Add missing migrations 2020-03-06 11:07:29 -06:00
Brent O'Connor
cd405f4ba1 Update the version to 1.7 2020-02-04 08:08:44 -06:00
Petr Dlouhý
654dddce81 fixes to Django 3.0 2020-02-02 09:15:22 +01:00
Brent O'Connor
f9c351bbdd Update the version to 1.6.1 2019-06-26 14:04:17 -05:00
Brent O'Connor
79fec52e90 Remove skip 2019-06-26 13:12:44 -05:00
Frankie Dintino
61e156b385 Fix 'Models aren't loaded yet' warning on import
categories.registration._process_registry was being called in
categories/__init__.py, but since Django 1.9 it hasn't been possible to
perform operations with models until the app registry is fully
loaded. Currently the `AppRegistryNotReady` exception is being caught
and printed, which means it is never actually executed on load.

Since this code isn't currently doing anything (other than emitting a
print() of a warning), I've removed it.
2019-06-26 13:08:46 -05:00
Brent O'Connor
abec2164f2 Fix tests
Also dropped testing Django 1.10 since django-mptt requires Django>=1.11.
2019-06-26 13:03:43 -05:00
Gagandeep Singh
d542684e36 Fix for TOXENV=py27-lint 2018-11-28 00:48:19 +05:30
Gagandeep Singh
6aacff3f4c Fix for TOXENV=py27-lint 2018-11-28 00:31:46 +05:30
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