Re: [mezzanine-users] TESTING, South, Django-Redirects, and OPTIONAL_APPS

2015-07-05 Thread Stephen McDonald
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.


Re: [mezzanine-users] Little bug with blog post related posts template block?

2015-07-05 Thread Stephen McDonald
Right you are, fixed here:

https://github.com/stephenmcd/mezzanine/commit/69fcdac74d6d283d9284f5e75b6869b27c81734d

Thanks!

On Fri, Jul 3, 2015 at 4:33 PM, Lee H. popov.gh...@gmail.com wrote:

 The template block for related posts in the blog detail template has `for
 post in blog_post.related_posts.all`, shouldn't it be
 `for post in blog_post.related_posts.published` (or rather published for
 that user...)?

 The way things are now, if a related post is unpublished it still gets
 linked at the bottom of a blog post, and hence
 the user can click it to arrive at a 404.

 --
 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] Link model - external vs internal URLs

2015-07-05 Thread Stephen McDonald
Hi all,

We're looking at fixing some issues around the Link model. Its original
intention was for external links (to other websites), but people currently
use it with internal links as well to achieve different scenarios with site
navigation. If you have other examples of this that you depend on, could
you chime in here:
https://github.com/stephenmcd/mezzanine/issues/1345#issuecomment-118676898

Thanks


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