point, I have database that consist of :
- news
- reviews
- predictions
- articles
- download
- games
- gallery
- categories
- users
- comments
- producer
I've grouped them like that:
1. Content Management app
2. Comments Management app
3. Games Management
4. Users Management
I want to split my project in logical way, that I could reuse my apps
later on.
News, reviews, articles, predictions are almost the same, so they are
inheriting from news all fields and if needed they add own fields.
I have problem with Content management, I don't know I should use 1
big model or divide it into few smaller apps inside app?
Content Management app does only render and save database, so
functions inside view are redundant ;/ ( read from database, save to
database), only thing that is different is a model name. Is there a
way to simplify that by using one function?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment