Comments (10)
Being a inner app of categories
, its should be assumed that categories.editor
cannot work properly without categories
also installed.
from django-categories.
So after talking with @coordt, I realize that my previous comment is incorrect. If you subclass CategoryBase
there is no need to add categories
to INSTALLED_APPS
. Sorry for misunderstanding the issue.
from django-categories.
Just to be sure: did you confirm the issue? :-)
from django-categories.
Yea, confirmed
from django-categories.
I would suggest to move the predefined category models into a sub-app called something like categories.basic and let the categories.editor functionality be part of the categories app, since it does not provide any standalone models. If you wish, I would make those changes and post another pull request.
from django-categories.
@winniehell The only concern I have is for backwards compatibility. I would like people to be able to just add 'categories' and 'categories.editor' and have their categories. Can we reverse your suggestion and put CategoryBase in a sub app?
from django-categories.
Sure! As long as the stuff is separated in doesn't matter which way. It just made more sense to me having the categories app, which offers all the basic functionality and then the sub-app which does some additional stuff.
from django-categories.
And one problem, if I have my own category model then 'categories' should be removed from settings.INSTALLED_APPS, when I remove it I don't have any more category_tags? I think it should be separated.
from django-categories.
Good point. I would make your own template tag file and simply import everything from categories.templatetags.category_tags.
Would that work?
On Jul 26, 2013, at 9:23 AM, Enver [email protected] wrote:
And one problem, if I have my own category model then 'categories' should be removed from settings.INSTALLED_APPS, when I remove it I don't have any more category_tags?
—
Reply to this email directly or view it on GitHub.
from django-categories.
Nice tip :)
from django-categories.
Related Issues (20)
- Overriding Category Detail View HOT 2
- Make manager available in RunPython
- Upgrade version of unicode-slugify? HOT 1
- Missing shipped migration files HOT 1
- Duplicated migrations of models registered through settings HOT 1
- New migration created in site-packages
- New migration created in site-packages
- 'staticfiles' is not a registered tag library. HOT 1
- app list not showing HOT 1
- Implement Jazzband guidelines for django-categories
- Add `jazzband-bot` as maintainer to the Read the Docs project (e.g. URL: https://readthedocs.org/dashboard/django-categories/users/)
- Admin site doesn't show left panel
- Current master not installable from source HOT 2
- Module not found HOT 10
- What is the state of this project? HOT 1
- setting “python_requires” with ">3,!=3.10" is a better way to declare Python compatibility HOT 2
- treetable.js not loaded correctly due to django.jQuery not defined (js load order)
- Doc
- Add support for STORAGES settings introduced in Django 4.2 HOT 1
- New release 1.9.3 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-categories.