Commit graph

658 commits

Author SHA1 Message Date
Erik Simmler
c89c954001 Added a view that list items of specific model that are related to the current category. 2011-05-08 08:08:56 +08:00
Erik Simmler
0b201156e0 Moved path to category code into its own function to make reuse easier. 2011-05-08 08:08:45 +08:00
Erik Simmler
1070cb7dae Added a class based CategoryDetailView that should be functionally identical to the original function based view. 2011-05-08 08:08:31 +08:00
Martin Ogden
29ab0943c5 Remove 'to' from kwargs in CategoryM2MField and CategoryFKField. 'to' is already specified, and causes errors when running unit tests 2011-05-08 08:08:17 +08:00
Ramiro Morales
1100ad3c50 Fixed small errors in templatetags documentation and docstrings. 2011-05-08 08:08:02 +08:00
Evan Culver
7119ca87e6 Make admin js relative to MEDIA_URL 2011-05-08 08:07:48 +08:00
Evan Culver
1ac5ae0a09 Add optional thumbnail model field. 2011-05-08 08:07:47 +08:00
Andrzej Herok
cda1d0fd5e Fixed wrong var name in import_categories command 2011-05-08 08:07:28 +08:00
Corey Oordt
3542b019c5 Bumped the version for this branch 2011-03-26 14:56:17 -04:00
Corey Oordt
8e0e49a281 Fixed the homepage in the setup.py 2011-03-26 14:53:57 -04:00
Erik Simmler
858a356e42 Make the initial state of the editor tree an app setting with collapsed as the default. 2011-03-26 09:21:30 -04:00
Corey Oordt
e8b7aeca8f Real change I needed to make: return, not pass! 2011-02-14 11:26:55 -05:00
Corey Oordt
47ddf73b71 Removed the raising of an exception when it finds a model that is already registered. and bumped the version to 0.5.2 2011-02-14 11:23:31 -05:00
Corey Oordt
6023cc2a3c Merge branch 'testfix' 2011-02-14 11:19:48 -05:00
Corey Oordt
f142f1a77c Bumped version number to 0.5.1 2011-02-14 11:19:41 -05: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
89646a6cee The test for importing checks the first child. With two children either could be 1st, so remove one. 2011-02-14 11:16:13 -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
74d9910a4c Got rid of the debugging print statements 2011-02-14 11:13:04 -05:00
Corey Oordt
9ba03da346 Merge branch 'ui-refactor' 2011-01-20 07:21:37 -05:00
Corey Oordt
57081cdd6f Bumped the version to 0.5 2011-01-20 07:19:42 -05:00
Corey Oordt
93086cf1ec Added contributors to the readme for proper recognition. 2011-01-20 07:19:05 -05:00
Erik Simmler
4632d436fd STATIC_URL seems to be returning as None even when not defined 2011-01-19 17:49:53 -05:00
Erik Simmler
e5deb3f41f Renamed 'media' directories to 'static' to work with the django 1.3 staticfiles app 2011-01-19 17:47:59 -05:00
Erik Simmler
8f8bc6eb96 removed duplicate slash from EDITOR_MEDIA_PATH setting 2011-01-17 11:09:16 -05:00
Erik Simmler
246c18d4e6 Added logic to skip adding categories that are already defined for a modeladmin 2011-01-17 10:55:16 -05:00
Erik Simmler
44508e0606 ModelAdmin re-register now skips modeladmins without fieldsets already defined
Was causing a "TypeError at /current/url/: unsupported operand type(s) for +: 'NoneType' and 'tuple'"
2011-01-17 10:00:30 -05:00
Corey Oordt
b2dec5416f Updated the documentation! 2010-12-18 14:49:45 -05:00
Corey Oordt
afe9d204c8 Updated the docstrings of the template tags and added breadcrumbs 2010-12-18 14:49:22 -05:00
Corey Oordt
7058ccd35a Got rid of the with_stories keyword for the category detail view. 2010-12-18 14:47:52 -05:00
Corey Oordt
732c5f8163 Revised the README to get it up-to-date 2010-12-18 14:46:59 -05:00
Corey Oordt
91227edccf Refactored the templates to extend a categories/base.html 2010-12-18 14:46:37 -05:00
Corey Oordt
b5edbdcccb Renamed the README to indicate it is a reST file. 2010-12-18 14:45:36 -05:00
Corey Oordt
781f9d02d5 Added additional fields to the display_list 2010-12-16 13:28:23 -05:00
Corey Oordt
381d438635 Long trees cause a performance hit if the initial state is expanded. Changing to "collapsed" 2010-12-16 13:27:14 -05:00
Corey Oordt
df83dd2ee5 Adding a new import and alphabetizing them (OCD, I know) 2010-12-16 13:26:16 -05:00
Corey Oordt
9d92b0d3a7 Getting rid of unused code in the treeeditor 2010-12-16 13:25:49 -05:00
Corey Oordt
d093d06b40 Added a new template tag to override the painting of the admin rows 2010-12-16 12:34:38 -05:00
Corey Oordt
5dfc710357 Ignoring a few more things 2010-12-16 12:32:46 -05:00
Corey Oordt
bb4a7b0f2b New template and media 2010-12-16 12:27:43 -05:00
Corey Oordt
a841d7f063 Added a placeholder for Django 2010-12-16 12:26:53 -05:00
Corey Oordt
c55e56e48f Made the media delivery work 2010-12-16 12:26:20 -05:00
Corey Oordt
b5c6482ffa Removed some unused cruft from the TreeEditor class 2010-12-16 12:25:36 -05:00
Corey Oordt
6a112a4a84 What's that doing there? 2010-12-16 12:23:56 -05:00
Corey Oordt
039ba1f72e Now that Django has a getchangelist function, we don't need to hack anymore 2010-12-16 11:48:29 -05:00
Corey Oordt
d1bf06b39f Don't need to set that EDITOR_MEDIA_PATH any more 2010-12-16 11:47:08 -05:00
Corey Oordt
7f0e93f7d3 Reworked the template to initialize the correct javascript and use the result_tree_list 2010-12-16 11:46:51 -05:00
Corey Oordt
d027b752f2 Deleted an unused template 2010-12-16 11:45:50 -05:00