Re: [mezzanine-users] TESTING, South, Django-Redirects, and OPTIONAL_APPS
Hi Shawn, The moment there is a release, this mailing list will know. In the meantime, feel free to develop your applications against master. -ken On Mon, Jul 6, 2015 at 3:05 AM, shawn.vanitter...@appdynamics.com wrote: Have these changes been released with a version number? Shawn On Sunday, July 5, 2015 at 6:59:41 AM UTC-7, Stephen McDonald wrote: I believe none of this occurs anymore in the development version. On Thu, Jul 2, 2015 at 4:19 AM, shawn.va...@appdynamics.com wrote: When running manage.py test, Mezzanine's utils/conf.py automatically sets settings.TESTING = True. A few lines later, it forks based on the TESTING setting: If TESTING is False, then South and OPTIONAL_APPS are added to INSTALLED_APPS. If TESTING is True, then those apps are NOT added, and furthermore django.contrib.redirects is removed from INSTALLED_APPS. 1. What is the rationale for removing django.contrib.redirects during testing? 2. What is the rationale for removing South during testing? 3. Why aren't the optional apps loaded during testing? 4. How can we override or prevent these configurations? Thanks, Shawn -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] TESTING, South, Django-Redirects, and OPTIONAL_APPS
Have these changes been released with a version number? Shawn On Sunday, July 5, 2015 at 6:59:41 AM UTC-7, Stephen McDonald wrote: I believe none of this occurs anymore in the development version. On Thu, Jul 2, 2015 at 4:19 AM, shawn.va...@appdynamics.com javascript: wrote: When running manage.py test, Mezzanine's utils/conf.py automatically sets settings.TESTING = True. A few lines later, it forks based on the TESTING setting: If TESTING is False, then South and OPTIONAL_APPS are added to INSTALLED_APPS. If TESTING is True, then those apps are NOT added, and furthermore django.contrib.redirects is removed from INSTALLED_APPS. 1. What is the rationale for removing django.contrib.redirects during testing? 2. What is the rationale for removing South during testing? 3. Why aren't the optional apps loaded during testing? 4. How can we override or prevent these configurations? Thanks, Shawn -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-use...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] TESTING, South, Django-Redirects, and OPTIONAL_APPS
I believe none of this occurs anymore in the development version. On Thu, Jul 2, 2015 at 4:19 AM, shawn.vanitter...@appdynamics.com wrote: When running manage.py test, Mezzanine's utils/conf.py automatically sets settings.TESTING = True. A few lines later, it forks based on the TESTING setting: If TESTING is False, then South and OPTIONAL_APPS are added to INSTALLED_APPS. If TESTING is True, then those apps are NOT added, and furthermore django.contrib.redirects is removed from INSTALLED_APPS. 1. What is the rationale for removing django.contrib.redirects during testing? 2. What is the rationale for removing South during testing? 3. Why aren't the optional apps loaded during testing? 4. How can we override or prevent these configurations? Thanks, Shawn -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] TESTING, South, Django-Redirects, and OPTIONAL_APPS
When running manage.py test, Mezzanine's utils/conf.py automatically sets settings.TESTING = True. A few lines later, it forks based on the TESTING setting: If TESTING is False, then South and OPTIONAL_APPS are added to INSTALLED_APPS. If TESTING is True, then those apps are NOT added, and furthermore django.contrib.redirects is removed from INSTALLED_APPS. 1. What is the rationale for removing django.contrib.redirects during testing? 2. What is the rationale for removing South during testing? 3. Why aren't the optional apps loaded during testing? 4. How can we override or prevent these configurations? Thanks, Shawn -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.