Wednesday, June 27, 2012

Re: Django 1.4 Why does the create project command create 2 identical folders

They're actually both considered your project. One just holds everything, and the other has global settings. Here is the official explanation:


Relevant text:
Django 1.4 ships with an updated default project layout and manage.py file for the startproject management command. 
These fix some issues with the previous manage.py handling of Python import paths that caused double imports, trouble 
moving from development to deployment, and other difficult-to-debug path issues. 
--
Joey "JoeLinux" Espinosa




On Wed, Jun 27, 2012 at 2:09 AM, Sergiy Khohlov <skhohlov@gmail.com> wrote:
first one name of the project second  one name of the application. You
had executed both command

2012/6/27 Python_Junkie <software.buy.design@gmail.com>:
> When one creates a project with django-admin.py why is a second my site
> folder created?
>
> Mysite
> ----Mysite
> ----polls
>
> Thanks in advance.
>
> What is its function/value in this new version
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/wSdsYgVkNGAJ.
> 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.

--
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.


--
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