Saturday, April 15, 2017

Re: Project layout

I came across this in my reading.  I'm only just starting to learn django so don't know the reason it does it.  As I understand it the first clientmgmtsystem is actually clientmgmtsystem_project.

On Saturday, 15 April 2017 01:33:03 UTC+10, richs wrote:
  As a Django newcomer I'm still confused about project layout naming
conventions. Following the author's layout in '2 Scoops' chapter 3 for a
project I'm building for my own use to manage prospects and clients, I ran
cookiecutter pointing to pydanny's cookiecutter-django. I have several
subdirectory layers with two of them having the same name, and I need
clarification for these.

   My directory tree looks like this (plain ASCII text in my MUA, alpine):

clientmgmtsystem_project/
└── clientmgmtsystem
     ├── clientmgmtsystem
     │   ├── contrib
     │   │   └── sites
     │   │       └── migrations
     │   ├── static
     │   │   ├── css
     │   │   ├── fonts
     │   │   ├── images
     │   │   ├── js
     │   │   └── sass
     │   ├── templates
     │   │   ├── account
     │   │   ├── bootstrap4
     │   │   │   └── layout
     │   │   ├── pages
     │   │   └── users
     │   └── users
     │       ├── migrations
     │       └── tests
     ├── config
     │   └── settings
     ├── docs
     ├── requirements
     └── utility

   Directly under the top-level directory are the clientmgmtsystem/
subdirectory which contains another subdirectory with the same name. I
assume the topmost one is the Django project name, but what is the second
one? If I want to invoke the application using 'edb' as the application
name, which directory needs to be renamed?

Looking forward to learning,

Rich

--
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+unsubscribe@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/b23fa457-0cf2-437b-8dbf-7b44afb8e00a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment