[mezzanine-users] Re: Why is mezzanine.core.models.Slugged.slug not having `unique` (and `db_index`) set to True?

2014-03-19 Thread lajarre
While it's not fundamental, it's important for me to understand some 
details of how Mezzanine is built since I heavily rely on it.
And I think I saw an issue on GitHub talking about that, so I guess there's 
a good reason why things are set like this. Reason that I don't know.
Any idea?
Thanks

On Tuesday, March 11, 2014 2:50:52 PM UTC+1, lajarre wrote:




-- 
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] Cannot save new pages after launching site?

2014-03-19 Thread Josh Cartmell
Hey Scott, have you configured the ADMINS setting in your settings.py
file?  If you have it should email you detailed error reports whenever the
site produces a 500 error.

Alternatively does anything more verbose show up in your server's logs?


On Tue, Mar 18, 2014 at 4:18 PM, Scott Diehl mr.di...@gmail.com wrote:

 Hey guys, I really appreciate your help on this.

 So strange, but I finally got mezzanine upgraded - it seems to be running
 smoothly. However, same thing, when I try creating a new page and hit
 save, I get an error page http://www.perceptyx.com/er/index.html.

 Any ideas? Anything else I can try?

 Thank you!

 Scott


 On Monday, February 10, 2014 12:13:55 PM UTC-8, Stephen McDonald wrote:

 Mezzanine makes use of South to manage changes to its database schema -
 something that may happen with each new version, and has happened in your
 case. Have a read up on south before you try and resolve the problem:
 http://south.aeracode.org/


 On Tue, Feb 11, 2014 at 7:05 AM, Scott Diehl mr.d...@gmail.com wrote:

 Hey Josh,

 So my local mezzanine is version 1.4.10, and the version on the server
 is 1.4.9. That might be the problem...

 However, I have another issue now. As a test, I just ran pip install
 mezzanine --upgrade on my local version...but I think I broke it. I am
 getting an operational error: no such column: pages_page.created



 On Monday, February 10, 2014 11:26:39 AM UTC-8, Josh Cartmell wrote:

 Hey Scott, can you verify that the versions of Mezzanine are the same
 between the two environments?

 Do you have any idea what http://www.perceptyx.com/er/index.html is?
 Mezzanine doesn't use any urls that end in .html so that could be a source
 of the problem.


 On Mon, Feb 10, 2014 at 10:22 AM, Scott Diehl mr.d...@gmail.comwrote:

 Thank you for your help!

 Here is the error I am getting in my console:

  event.returnValue is deprecated. Please use the standard
 event.preventDefault() instead.
 XMLHttpRequest cannot load http://www.perceptyx.com/er/index.html. No
 'Access-Control-Allow-Origin' header is present on the requested resource.
 Origin 'http://perceptyx.com' is therefore not allowed access.

 Looks like click clicking Save triggered our error page. This
 doesn't happen on my localhost version of the site. Any ideas?

 thanks again.

 Scott



 On Friday, February 7, 2014 1:40:27 PM UTC-8, Stephen McDonald wrote:

 Look for javascript errors, missing files (eg 404s) etc in the
 browser's dev console.

 Nice site btw.


 On Sat, Feb 8, 2014 at 6:16 AM, Scott Diehl mr.d...@gmail.comwrote:

 Hey guys,

 So...I am very new to django/python. I have just built a new
 mezzanine site (http://www.perceptyx.com), and launched it
 yesterday. It is working great. However, I am noticing a few weird 
 things
 started ever since it went live.

 For example, I am not unable to save new pages? When I click add
 new page and then click save - nothing happens.

 I'm thinking maybe I missed a critical step in the launch
 process...when we switched from the dev URL to the production URL. 
 Maybe?
 Any ideas?

 Scott

 --
 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/groups/opt_out.




 --
 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-use...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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/groups/opt_out.




 --
 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] Multilingual website

2014-03-19 Thread Josh Cartmell
You should be able to do something similar to my suggestion above.  Not
ideal, but it *should* work


On Tue, Mar 18, 2014 at 10:07 PM, Mehmet Özgür Bayhan 
mozgurbay...@gmail.com wrote:

 What about cartridge?

 18 Mart 2014 Salı tarihinde, Josh Cartmell joshcar...@gmail.com yazdı:

 Hey Cajoline, there isn't a way to do that out of the box, but I bet you
 could write a short script to copy all content and just change the site_id.


 On Tue, Mar 18, 2014 at 12:11 AM, Cajoline cont...@circonflex.netwrote:

 Thank you for your answers,
 but is it possible with this technique to duplicate pages not to create
 each time the tree for each site?

 For example completely copy a website and translate it, not recreate all
 the pages one by one?

 thank you

 Le lundi 17 mars 2014 21:32:54 UTC+1, Josh Cartmell a écrit :

 Hey Cajoline, another option that will work easily with mezzanine would
 be to make fr.mysite.com, en.mysite.com, etc...  Mezzanine has build
 in support for hosting multiple sites from a single instance, in this
 case your sites would just be translations.

 Regards,
 Josh


 On Sun, Mar 16, 2014 at 6:09 AM, Luc Milland l...@hekenet.com wrote:

 Hello,
 Almost one year ago I achieved something usable
 (http://www.gitedelaterrasse.fr) using Renyi's gist :
 https://gist.github.com/renyi/3596248 .
 This is discussed here :
 https://github.com/stephenmcd/mezzanine/issues/106 and it seems that
 some work has been done since this time.

 regards,
 Luc

 Le dimanche 16 mars 2014 à 01:25 -0700, Cajoline a écrit :
  Hello,
  for some time now I'm interested in the cms Mezzanine for my clients
  to replace cms in PHP that I use.
  But here the problem is that I still need to make multilingual
 websites and
  I would like to know how to proced ?
 
  For example I would like to have this type of url:
 
  -mysite.com/fr/pag
  -mysite.com/es/page
  - Etc.
 
  How to achieve this?
 
  Is it possible to copy pages to translate next? if yes how to ?
 
  Thank you for your reply and sorry for my English
 


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


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

  --
 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] Re: Why is mezzanine.core.models.Slugged.slug not having `unique` (and `db_index`) set to True?

2014-03-19 Thread Josh Cartmell
It might be because a single Mezzanine instance can handle multiple sites
(different domains that have different content).  Two different site's
could have page's with the exact same slugs which are stored in the same
database.


On Wed, Mar 19, 2014 at 3:46 AM, lajarre alexandre.haj...@gmail.com wrote:

 While it's not fundamental, it's important for me to understand some
 details of how Mezzanine is built since I heavily rely on it.
 And I think I saw an issue on GitHub talking about that, so I guess
 there's a good reason why things are set like this. Reason that I don't
 know.
 Any idea?
 Thanks


 On Tuesday, March 11, 2014 2:50:52 PM UTC+1, lajarre wrote:


  --
 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] Cannot save new pages after launching site?

2014-03-19 Thread Scott Diehl
One more thing - the subject of the error email: 

ERROR (EXTERNAL IP): Internal Server Error: /admin/pages/



On Wednesday, March 19, 2014 1:04:57 PM UTC-7, Scott Diehl wrote:

 Thanks Josh - good call. I didn't have that set up.

 I have attached the error message. I'm not sure, but I'm wondering if the 
 error is stemming from the way I have the URLs set up. Would you mind 
 taking a look?

 Thank you!
 Scott



 On Wednesday, March 19, 2014 12:46:15 PM UTC-7, Josh Cartmell wrote:

 Hey Scott, have you configured the ADMINS setting in your settings.py 
 file?  If you have it should email you detailed error reports whenever the 
 site produces a 500 error.

 Alternatively does anything more verbose show up in your server's logs?


 On Tue, Mar 18, 2014 at 4:18 PM, Scott Diehl mr.d...@gmail.com wrote:

 Hey guys, I really appreciate your help on this. 

 So strange, but I finally got mezzanine upgraded - it seems to be 
 running smoothly. However, same thing, when I try creating a new page and 
 hit save, I get an error page http://www.perceptyx.com/er/index.html. 
  

 Any ideas? Anything else I can try?

 Thank you!

 Scott


 On Monday, February 10, 2014 12:13:55 PM UTC-8, Stephen McDonald wrote:

 Mezzanine makes use of South to manage changes to its database schema - 
 something that may happen with each new version, and has happened in your 
 case. Have a read up on south before you try and resolve the problem: 
 http://south.aeracode.org/


 On Tue, Feb 11, 2014 at 7:05 AM, Scott Diehl mr.d...@gmail.com wrote:

 Hey Josh,

 So my local mezzanine is version 1.4.10, and the version on the server 
 is 1.4.9. That might be the problem...

 However, I have another issue now. As a test, I just ran pip install 
 mezzanine --upgrade on my local version...but I think I broke it. I am 
 getting an operational error: no such column: pages_page.created



 On Monday, February 10, 2014 11:26:39 AM UTC-8, Josh Cartmell wrote:

 Hey Scott, can you verify that the versions of Mezzanine are the same 
 between the two environments?

 Do you have any idea what http://www.perceptyx.com/er/index.htmlis?  
 Mezzanine doesn't use any urls that end in .html so that could be a 
 source of the problem.


 On Mon, Feb 10, 2014 at 10:22 AM, Scott Diehl mr.d...@gmail.comwrote:

 Thank you for your help! 

 Here is the error I am getting in my console:

  event.returnValue is deprecated. Please use the standard 
 event.preventDefault() instead.
 XMLHttpRequest cannot load http://www.perceptyx.com/er/index.html. 
 No 'Access-Control-Allow-Origin' header is present on the requested 
 resource. Origin 'http://perceptyx.com' is therefore not allowed 
 access.

 Looks like click clicking Save triggered our error page. This 
 doesn't happen on my localhost version of the site. Any ideas?

 thanks again.

 Scott



 On Friday, February 7, 2014 1:40:27 PM UTC-8, Stephen McDonald wrote:

 Look for javascript errors, missing files (eg 404s) etc in the 
 browser's dev console.

 Nice site btw.


 On Sat, Feb 8, 2014 at 6:16 AM, Scott Diehl mr.d...@gmail.comwrote:

 Hey guys,

 So...I am very new to django/python. I have just built a new 
 mezzanine site (http://www.perceptyx.com), and launched it 
 yesterday. It is working great. However, I am noticing a few weird 
 things 
 started ever since it went live. 

 For example, I am not unable to save new pages? When I click add 
 new page and then click save - nothing happens.

 I'm thinking maybe I missed a critical step in the launch 
 process...when we switched from the dev URL to the production URL. 
 Maybe? 
 Any ideas?

 Scott

 -- 
 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/groups/opt_out.




 -- 
 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-use...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  -- 
 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/groups/opt_out.




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

[mezzanine-users] redirecting to the first child page.

2014-03-19 Thread wahid Mohammad Abdul Wahid
Hello everyone
I am new to django  and recently installed mezzaine with django version 
1.6.2. I want to let the user redirect on the first child page if the 
parent page is selected from the menu. I was able to add two redirect 
entries via Site--Redirects link like the followings:

   - 

Redirect from  
http://127.0.0.1:8000/admin/redirects/redirect/?o=-1Redirect 
to 
http://127.0.0.1:8000/admin/redirects/redirect/?o=2.1/clients/http://127.0.0.1:8000/admin/redirects/redirect/1/
/clients/education//hello/http://127.0.0.1:8000/admin/redirects/redirect/2/
/clients/education/

 
Second one works fine whereas the first one does not work at all. 


I also tried by adding entries in urls.py and views.py like the followings:

In views.py
def redirect_clients(request):
return redirect('/clients/education')

In urls.py
url(^clients/$, redirect_clients , name=TEST),
url(^test/$, redirect_clients , name=TEST),


Again same problem...the /test/ is working fine but /clients/ does not. I 
guess I am missing something very simple and obvious. Any idea pls?

-- 
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] Cannot save new pages after launching site?

2014-03-19 Thread Josh Cartmell
Glad that we got the error message, but I'm actually not sure myself what
caused it.

Anyone else have any ideas?


On Wed, Mar 19, 2014 at 1:06 PM, Scott Diehl mr.di...@gmail.com wrote:

 One more thing - the subject of the error email:

 ERROR (EXTERNAL IP): Internal Server Error: /admin/pages/




 On Wednesday, March 19, 2014 1:04:57 PM UTC-7, Scott Diehl wrote:

 Thanks Josh - good call. I didn't have that set up.

 I have attached the error message. I'm not sure, but I'm wondering if the
 error is stemming from the way I have the URLs set up. Would you mind
 taking a look?

 Thank you!
 Scott



 On Wednesday, March 19, 2014 12:46:15 PM UTC-7, Josh Cartmell wrote:

 Hey Scott, have you configured the ADMINS setting in your settings.py
 file?  If you have it should email you detailed error reports whenever the
 site produces a 500 error.

 Alternatively does anything more verbose show up in your server's logs?


 On Tue, Mar 18, 2014 at 4:18 PM, Scott Diehl mr.d...@gmail.com wrote:

 Hey guys, I really appreciate your help on this.

 So strange, but I finally got mezzanine upgraded - it seems to be
 running smoothly. However, same thing, when I try creating a new page and
 hit save, I get an error pagehttp://www.perceptyx.com/er/index.html.


 Any ideas? Anything else I can try?

 Thank you!

 Scott


 On Monday, February 10, 2014 12:13:55 PM UTC-8, Stephen McDonald wrote:

 Mezzanine makes use of South to manage changes to its database schema
 - something that may happen with each new version, and has happened in 
 your
 case. Have a read up on south before you try and resolve the problem:
 http://south.aeracode.org/


 On Tue, Feb 11, 2014 at 7:05 AM, Scott Diehl mr.d...@gmail.comwrote:

 Hey Josh,

 So my local mezzanine is version 1.4.10, and the version on the
 server is 1.4.9. That might be the problem...

 However, I have another issue now. As a test, I just ran pip install
 mezzanine --upgrade on my local version...but I think I broke it. I am
 getting an operational error: no such column: pages_page.created



 On Monday, February 10, 2014 11:26:39 AM UTC-8, Josh Cartmell wrote:

 Hey Scott, can you verify that the versions of Mezzanine are the
 same between the two environments?

 Do you have any idea what http://www.perceptyx.com/er/index.htmlis?  
 Mezzanine doesn't use any urls that end in .html so that could be a
 source of the problem.


 On Mon, Feb 10, 2014 at 10:22 AM, Scott Diehl mr.d...@gmail.comwrote:

 Thank you for your help!

 Here is the error I am getting in my console:

  event.returnValue is deprecated. Please use the standard
 event.preventDefault() instead.
 XMLHttpRequest cannot load http://www.perceptyx.com/er/index.html.
 No 'Access-Control-Allow-Origin' header is present on the requested
 resource. Origin 'http://perceptyx.com' is therefore not allowed
 access.

 Looks like click clicking Save triggered our error page. This
 doesn't happen on my localhost version of the site. Any ideas?

 thanks again.

 Scott



 On Friday, February 7, 2014 1:40:27 PM UTC-8, Stephen McDonald
 wrote:

 Look for javascript errors, missing files (eg 404s) etc in the
 browser's dev console.

 Nice site btw.


 On Sat, Feb 8, 2014 at 6:16 AM, Scott Diehl mr.d...@gmail.comwrote:

 Hey guys,

 So...I am very new to django/python. I have just built a new
 mezzanine site (http://www.perceptyx.com), and launched it
 yesterday. It is working great. However, I am noticing a few weird 
 things
 started ever since it went live.

 For example, I am not unable to save new pages? When I click add
 new page and then click save - nothing happens.

 I'm thinking maybe I missed a critical step in the launch
 process...when we switched from the dev URL to the production URL. 
 Maybe?
 Any ideas?

 Scott

 --
 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/groups/opt_out.




 --
 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-use...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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/groups/opt_out.




 --
 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-use...@googlegroups.com.
  For more options, visit 

Re: [mezzanine-users] Cannot save new pages after launching site?

2014-03-19 Thread Stephen McDonald
Looks like the error that shows up when the _order field for inlines
hasn't been set - that happens via Javascript, so you're probably still not
serving static files correctly.


On Thu, Mar 20, 2014 at 8:07 AM, Josh Cartmell joshcar...@gmail.com wrote:

 Glad that we got the error message, but I'm actually not sure myself what
 caused it.

 Anyone else have any ideas?


 On Wed, Mar 19, 2014 at 1:06 PM, Scott Diehl mr.di...@gmail.com wrote:

 One more thing - the subject of the error email:

 ERROR (EXTERNAL IP): Internal Server Error: /admin/pages/




 On Wednesday, March 19, 2014 1:04:57 PM UTC-7, Scott Diehl wrote:

 Thanks Josh - good call. I didn't have that set up.

 I have attached the error message. I'm not sure, but I'm wondering if
 the error is stemming from the way I have the URLs set up. Would you mind
 taking a look?

 Thank you!
 Scott



 On Wednesday, March 19, 2014 12:46:15 PM UTC-7, Josh Cartmell wrote:

 Hey Scott, have you configured the ADMINS setting in your settings.py
 file?  If you have it should email you detailed error reports whenever the
 site produces a 500 error.

 Alternatively does anything more verbose show up in your server's logs?


 On Tue, Mar 18, 2014 at 4:18 PM, Scott Diehl mr.d...@gmail.com wrote:

 Hey guys, I really appreciate your help on this.

 So strange, but I finally got mezzanine upgraded - it seems to be
 running smoothly. However, same thing, when I try creating a new page and
 hit save, I get an error pagehttp://www.perceptyx.com/er/index.html.


 Any ideas? Anything else I can try?

 Thank you!

 Scott


 On Monday, February 10, 2014 12:13:55 PM UTC-8, Stephen McDonald wrote:

 Mezzanine makes use of South to manage changes to its database schema
 - something that may happen with each new version, and has happened in 
 your
 case. Have a read up on south before you try and resolve the problem:
 http://south.aeracode.org/


 On Tue, Feb 11, 2014 at 7:05 AM, Scott Diehl mr.d...@gmail.comwrote:

 Hey Josh,

 So my local mezzanine is version 1.4.10, and the version on the
 server is 1.4.9. That might be the problem...

 However, I have another issue now. As a test, I just ran pip
 install mezzanine --upgrade on my local version...but I think I broke 
 it.
 I am getting an operational error: no such column: pages_page.created



 On Monday, February 10, 2014 11:26:39 AM UTC-8, Josh Cartmell wrote:

 Hey Scott, can you verify that the versions of Mezzanine are the
 same between the two environments?

 Do you have any idea what http://www.perceptyx.com/er/index.htmlis?  
 Mezzanine doesn't use any urls that end in .html so that could be a
 source of the problem.


 On Mon, Feb 10, 2014 at 10:22 AM, Scott Diehl mr.d...@gmail.comwrote:

 Thank you for your help!

 Here is the error I am getting in my console:

  event.returnValue is deprecated. Please use the standard
 event.preventDefault() instead.
 XMLHttpRequest cannot load http://www.perceptyx.com/er/index.html.
 No 'Access-Control-Allow-Origin' header is present on the requested
 resource. Origin 'http://perceptyx.com' is therefore not allowed
 access.

 Looks like click clicking Save triggered our error page. This
 doesn't happen on my localhost version of the site. Any ideas?

 thanks again.

 Scott



 On Friday, February 7, 2014 1:40:27 PM UTC-8, Stephen McDonald
 wrote:

 Look for javascript errors, missing files (eg 404s) etc in the
 browser's dev console.

 Nice site btw.


 On Sat, Feb 8, 2014 at 6:16 AM, Scott Diehl mr.d...@gmail.comwrote:

 Hey guys,

 So...I am very new to django/python. I have just built a new
 mezzanine site (http://www.perceptyx.com), and launched it
 yesterday. It is working great. However, I am noticing a few weird 
 things
 started ever since it went live.

 For example, I am not unable to save new pages? When I click
 add new page and then click save - nothing happens.

 I'm thinking maybe I missed a critical step in the launch
 process...when we switched from the dev URL to the production URL. 
 Maybe?
 Any ideas?

 Scott

 --
 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/groups/opt_out
 .




 --
 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-use...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  --
 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/groups/opt_out.




 --
 Stephen McDonald
 

Re: [mezzanine-users] Cannot save new pages after launching site?

2014-03-19 Thread Scott Diehl
Thanks Josh - good call. I didn't have that set up.

I have attached the error message. I'm not sure, but I'm wondering if the 
error is stemming from the way I have the URLs set up. Would you mind 
taking a look?

Thank you!
Scott



On Wednesday, March 19, 2014 12:46:15 PM UTC-7, Josh Cartmell wrote:

 Hey Scott, have you configured the ADMINS setting in your settings.py 
 file?  If you have it should email you detailed error reports whenever the 
 site produces a 500 error.

 Alternatively does anything more verbose show up in your server's logs?


 On Tue, Mar 18, 2014 at 4:18 PM, Scott Diehl mr.d...@gmail.comjavascript:
  wrote:

 Hey guys, I really appreciate your help on this. 

 So strange, but I finally got mezzanine upgraded - it seems to be running 
 smoothly. However, same thing, when I try creating a new page and hit 
 save, I get an error page http://www.perceptyx.com/er/index.html.  

 Any ideas? Anything else I can try?

 Thank you!

 Scott


 On Monday, February 10, 2014 12:13:55 PM UTC-8, Stephen McDonald wrote:

 Mezzanine makes use of South to manage changes to its database schema - 
 something that may happen with each new version, and has happened in your 
 case. Have a read up on south before you try and resolve the problem: 
 http://south.aeracode.org/


 On Tue, Feb 11, 2014 at 7:05 AM, Scott Diehl mr.d...@gmail.com wrote:

 Hey Josh,

 So my local mezzanine is version 1.4.10, and the version on the server 
 is 1.4.9. That might be the problem...

 However, I have another issue now. As a test, I just ran pip install 
 mezzanine --upgrade on my local version...but I think I broke it. I am 
 getting an operational error: no such column: pages_page.created



 On Monday, February 10, 2014 11:26:39 AM UTC-8, Josh Cartmell wrote:

 Hey Scott, can you verify that the versions of Mezzanine are the same 
 between the two environments?

 Do you have any idea what http://www.perceptyx.com/er/index.html is?  
 Mezzanine doesn't use any urls that end in .html so that could be a 
 source 
 of the problem.


 On Mon, Feb 10, 2014 at 10:22 AM, Scott Diehl mr.d...@gmail.comwrote:

 Thank you for your help! 

 Here is the error I am getting in my console:

  event.returnValue is deprecated. Please use the standard 
 event.preventDefault() instead.
 XMLHttpRequest cannot load http://www.perceptyx.com/er/index.html. 
 No 'Access-Control-Allow-Origin' header is present on the requested 
 resource. Origin 'http://perceptyx.com' is therefore not allowed 
 access.

 Looks like click clicking Save triggered our error page. This 
 doesn't happen on my localhost version of the site. Any ideas?

 thanks again.

 Scott



 On Friday, February 7, 2014 1:40:27 PM UTC-8, Stephen McDonald wrote:

 Look for javascript errors, missing files (eg 404s) etc in the 
 browser's dev console.

 Nice site btw.


 On Sat, Feb 8, 2014 at 6:16 AM, Scott Diehl mr.d...@gmail.comwrote:

 Hey guys,

 So...I am very new to django/python. I have just built a new 
 mezzanine site (http://www.perceptyx.com), and launched it 
 yesterday. It is working great. However, I am noticing a few weird 
 things 
 started ever since it went live. 

 For example, I am not unable to save new pages? When I click add 
 new page and then click save - nothing happens.

 I'm thinking maybe I missed a critical step in the launch 
 process...when we switched from the dev URL to the production URL. 
 Maybe? 
 Any ideas?

 Scott

 -- 
 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/groups/opt_out.




 -- 
 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-use...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


  -- 
 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/groups/opt_out.




 -- 
 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-use...@googlegroups.com javascript:.
  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 

Re: [mezzanine-users] redirecting to the first child page.

2014-03-19 Thread Josh Cartmell
I would make the content actually be contained on the Parent page, and then
make the child page a link page type (added through the page admin) and
point it at the parent.


On Wed, Mar 19, 2014 at 1:55 PM, wahid Mohammad Abdul Wahid 
wahidrah...@gmail.com wrote:

 Hello everyone
 I am new to django  and recently installed mezzaine with django version
 1.6.2. I want to let the user redirect on the first child page if the
 parent page is selected from the menu. I was able to add two redirect
 entries via Site--Redirects link like the followings:

-

 Redirect from  
 http://127.0.0.1:8000/admin/redirects/redirect/?o=-1 Redirect
 to 
 http://127.0.0.1:8000/admin/redirects/redirect/?o=2.1/clients/http://127.0.0.1:8000/admin/redirects/redirect/1/
 /clients/education//hello/http://127.0.0.1:8000/admin/redirects/redirect/2/
 /clients/education/


 Second one works fine whereas the first one does not work at all.


 I also tried by adding entries in urls.py and views.py like the followings:

 In views.py
 def redirect_clients(request):
 return redirect('/clients/education')

 In urls.py
 url(^clients/$, redirect_clients , name=TEST),
 url(^test/$, redirect_clients , name=TEST),


 Again same problem...the /test/ is working fine but /clients/ does not. I
 guess I am missing something very simple and obvious. Any idea pls?

 --
 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] thumbnail crop centering

2014-03-19 Thread Radomir Wojcik


 The default thumbnail would be fine for 95% of all cases. There should be 
 an option to re-do the thumbnail on a single image basis that lets you 
 select the cropping. It also needs a bit of fixing with the portrait vs 
 landscape photos.


The other thing that would be nice is to see the  a thumbnail size setting, 
didn't see anything in the docs. I find the thumbs a bit grainy for my 
liking.

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