1. I don't see why not. Even DRF apps need urls.py files right?
2. I think this is a minor issue and not worth worrying about, newbies
should be able to move files and folders around appropriately on the
filesystem. It's cleaner to put things in a subdirectory as it lowers the
risk of overwriting existing files in the current directory.

On 27 May 2017 at 02:51, 左小龙 <[email protected]> wrote:

> 1. Why not create urls.py for every app when user run startapp command? I
> think most app need urls.py except when using other framework like
> django-rest-framework.
>
> 2. When we run `django-admin startproject mysite` will also create an
> inner directory call mysite which is very confuse to newbie.  Some people
> recommend use `django-admin startproject mysite .`(comma at the last)
> instead. Should we also recommend this in the document?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-developers/87e879d8-3674-4b96-973d-
> f1dd0b4a1148%40googlegroups.com
> <https://groups.google.com/d/msgid/django-developers/87e879d8-3674-4b96-973d-f1dd0b4a1148%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Adam

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAMyDDM0yrSVPaeqpP6X0h0ty%3DjvbgsBRgLr5EgVw7wU7DgXWRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to