Hi All - 

I am a new Django user, coming from RoR. I am having some difficulty 
wrapping my head around the whole 'apps' thing. 

Here is my specific use case, and I would appreciate feedback on if I am 
thinking about this correctly, and if not, how to think about it.

I have a project management application I built in RoR that I am 
reimplementing in Django. 

A User has one or more Projects, each Project has one or more Workflows, 
and each Workflow has one or more Tasks. Tasks are assigned to users, who 
may or may not be the Project owner.

In Django, a User would be an app, but...

Would a Project be an app, with all the functionality of Workflow and Task 
below it? Separate apps 'feels' wrong, because a task is such a minor 
element (for example), but if I squint, I could see why someone might want 
a Task for something else.

Or

Would I have an app each for Projects, Workflows and Tasks, then set up 
logic linking the apps together?

I thing the question for me is, at what point are the reusable apps in 
Django intended to be independent - I get the impression, the answer is 
'wherever possible', but does that apply even to very small apps, as Task 
would be?

Thanks in advance for your insight.

SR

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eed74b23-f8a7-44ee-8e9f-bc19a56e50c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to