Re: Changes to default project layout?
Just following up on this, I don't think my question is answered, specifically, which settings.py file is intended to be used? On Wednesday, November 9, 2011 2:08:47 AM UTC-8, Russell Keith-Magee wrote: > > Hi Victor, > > All the answers you're looking for are in the draft release notes for > the 1.4 release: > > > https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py > > Yours, > Russ Magee %-) > > On Wed, Nov 9, 2011 at 2:17 PM, Victor Hooiwrote: > > heya, > > > > Also, I noticed that there's no models.py file in the first app that > > startproject creates - I assume this is by design, right? > > > > Hmm, what's the rationale behind it? > > > > Cheers, > > Victor > > > > -- > > > > > -- 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/-/LETGA11YF6sJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Changes to default project layout?
Hi Victor, All the answers you're looking for are in the draft release notes for the 1.4 release: https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py Yours, Russ Magee %-) On Wed, Nov 9, 2011 at 2:17 PM, Victor Hooiwrote: > heya, > > Also, I noticed that there's no models.py file in the first app that > startproject creates - I assume this is by design, right? > > Hmm, what's the rationale behind it? > > Cheers, > Victor > > -- > 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/-/nRLeLBLsde0J. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Changes to default project layout?
heya, Also, I noticed that there's no models.py file in the first app that startproject creates - I assume this is by design, right? Hmm, what's the rationale behind it? Cheers, Victor -- 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/-/nRLeLBLsde0J. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Changes to default project layout?
heya, *NB: Not sure if this belongs in dev or general, but I'm assuming here - please let me know if I'm wrong.* I just noticed there was a change made to startproject/startapp, and the default Django layout in trunk (yes, I'm a bit behind the curve...haha). https://code.djangoproject.com/changeset/16964 https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py Just a couple quick questions: 1. Previously, we'd put the app name in INSTALLED_APPS in settings.py - however, since settings.py now lives inside one of the Django apps, I assume we don't need to put that app itself under INSTALLED_APPS? But we should put any other apps in there, right? 2. ./manage.py is setup with a default DJANGO_SETTINGS_MODULE - however, what's the recommended practice if we want multiple settings.py files? (e.g. development, testing and production environments). And I assume having any other settings.py in other apps is a bad practice? 3. I noticed there's a new wsgi.py file - anything we should be aware of here? I suppose projects like gunicorn, django_extensions etc. will have to be adapted to be aware of the changes? Cheers, Victor -- 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/-/KW9CF_D0axoJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.