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
Brent O'Connor
366ff74619
Made updates to get everything working with Django 2
2017-12-26 11:27:42 -06:00
Corey Oordt
63bb31df40
[-] Added additional test coverage for management commands and views
2017-10-12 22:46:33 -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
fb0174c0a8
Fixed a unicode error that happens with Python 2.7
2017-03-29 14:32:47 -05: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
0a1e7db9a6
Added some tests to test the admin
2016-03-05 19:45:14 -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
c5c459fe42
Ran the 2to3 script 2to3 -w .
2016-02-10 11:47:30 -06: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
28ef4d5565
Updates the existing migration to south_migrations
2015-06-09 15:20:09 -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
70abc1c807
Fixed tests so they run under Django 1.7
2015-06-09 15:17:47 -05:00
Corey Oordt
0467d30434
Can't use the m2m tests because it conflicts with the fk tests.
2012-08-18 13:06:46 -04:00
Corey Oordt
8be19c893a
Placing some south imports into try blocks.
2012-08-18 13:04:58 -04:00
Corey Oordt
d63828ebf6
Refactored the registration of fields from __init__ to a new module.
...
It also makes it easier to test.
2012-08-18 12:53:37 -04:00
Jose Soares
8f202fa9e3
Minor tweak to tempatetag tests
2012-07-14 12:59:58 -04:00
Corey Oordt
3a71754a6a
Template tags now work with any derivative of CategoryBase. Recognizes the "using" param to specify the model to use.
2012-07-12 19:28:11 -04:00
Corey Oordt
fa470df0a7
Update to template tags to include ways to retrieve an object from a model other than Category.
2012-07-11 07:05:47 -04:00
Corey Oordt
3fe50040c3
Improved Category import.
2011-08-22 09:51:53 -04:00
Corey Oordt
3e8a10ad4e
Added an active flag for models
2011-08-22 09:51:11 -04:00
Corey Oordt
efc4b9339a
Updated the test to test a new template tag, not the old one.
2011-02-14 11:17:41 -05:00
Corey Oordt
2bfe753428
Need to delete all the objects before each test because the import checks its work.
2011-02-14 11:15:21 -05:00
Corey Oordt
31f1bfef8d
Checking for raising the correct exception and moved the strings used in the test to a list of strings
2011-02-14 11:14:50 -05:00
Corey Oordt
6aad1c44cc
Changed the import to import from category_import
2011-02-14 11:13:34 -05:00
Corey Oordt
f30b8362c6
Added tests for templatetags
2009-09-30 10:51:28 -04:00
Corey Oordt
603352c84f
removing unneeded files
2009-08-27 15:30:02 -04:00
Corey Oordt
13154fd3ca
Fixed most of the tests
2009-08-27 14:59:23 -04:00
Corey Oordt
5d9ceb480b
Added some tests for category importing
2009-08-27 11:58:00 -04:00
Corey Oordt
e39e575ce0
Initial import
2009-07-02 20:23:08 -04:00