Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Ken Bolton
Hi Tameen, Great questions, all. I urge you to go through the entire Django tutorial if you have not already. During my first four years with Django, I did the tutorial once a quarter to reinforce what I was learning. That is right, I did the tutorial sixteen times! My answers are inline below.

[mezzanine-users] How and where to create sitemap.xml and robot.txt

2014-03-31 Thread green
Sorry for asking silly questions but I am stuck and don't know where to look for this after searching around the net. I have may Mezzanine project up and running but I do not know how to create sitemap file. I notice that pages has 'show in site map' tick but where is it? Do I need to

Re: [mezzanine-users] How and where to create sitemap.xml and robot.txt

2014-03-31 Thread Ken Bolton
Have you looked for the files at the root of your deployed project? For instance, http://mezzanine.jupo.org/sitemap.xml and http://mezzanine.jupo.org/robots.txt. If you want to see how they get generated, use the source:

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Tameen Malik
Hi Kenneth Bolton Thank's for quick response. Few more questions: In the admin interface for the page, look for the fields Show in menus. -*- using admin interface if i create page i don't find this in templates folder and if i create html page and store this in templates/pages folder,

[mezzanine-users] Re: Sitemap Page

2014-03-31 Thread green
I am new to Mezzanine myself. I could not even get sitemap.xml. Sorry for not able to help but would appreciate if you can advise me how you get your sitemap.xml and where does it locate. Thanks in advance for your help On Tuesday, 4 February 2014 15:07:28 UTC, mich...@blazingtheagency.com

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Tameen Malik
Great reply. Thank's Kenneth Bolton Can i ask you more question's if i face any problems further :) Regards Tameen -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Tameen Malik
Great reply. Thank's Kenneth Bolton Can i ask you more question's if i face any problems further :) Regards Tameen -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Ken Bolton
Hi Tameen, I urge you to read the Mezzanine documentation thoroughly. As with Django, the Mezzanine documentation is of extraordinary quality and covers the topics you bring up much more thoroughly than I will do below. Actually, after reading the documentation myself briefly to make sure I don't

Re: [mezzanine-users] Re: How and where to create sitemap.xml and robot.txt

2014-03-31 Thread Eduardo Rivas
Ah! There it is! I'm not using the default Nginx config. Thanks a lot. -- 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

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Ken Bolton
Have you done the Django tutorial at https://docs.djangoproject.com/en/1.6/intro/tutorial01/? South is highly recommended for managing your database schema: http://mezzanine.jupo.org/docs/model-customization.html#field-injection-caveats I would also take a step back and go through

Re: [mezzanine-users] How to set menus and to get postedata in Mezzanine Django

2014-03-31 Thread Tameen Malik
yes i studied first 5 chapters of djangobook.com this week. hmm i don't know i just stuck here in mezzanine. Sir can't you give me small example (if you can). Mezzanine documentation is not detailed or may be my mind can't work unless i go through 3,4 examples! :( -- You received this

Re: [mezzanine-users] Default fabfile deploy, Internal Server Error

2014-03-31 Thread Josh Cartmell
Thanks again for the help Steve! I ended up figuring it out and feel a bit silly now, I had some CDN hosted javascript inside the compress template tag resulting in an incompressible file error. My biggest question at this point is which log file should I have found that in. I'm still wondering

Re: [mezzanine-users] Re: Subclass model of form page

2014-03-31 Thread Josh Cartmell
Here are the docs on creating page subclasses, https://mezzanine.jupo.org/docs/content-architecture.html#creating-custom-content-types. You would need to copy everything you want from Form and add anything extra you need. On Sat, Mar 29, 2014 at 1:00 PM, Cajoline cont...@circonflex.net wrote:

Re: [mezzanine-users] Default fabfile deploy, Internal Server Error

2014-03-31 Thread Doug Evenhouse
I'm interested in the gunicorn logging question as well. I had a similar issue as yours Josh and ended up putting the following line in the gunicorn.conf.py file of my project in order to get some logged output that led me to the cause of the error. errorlog = /tmp/gunicorn.error.log On

Re: [mezzanine-users] Default fabfile deploy, Internal Server Error

2014-03-31 Thread Matthew Summers
Just for reference, --log-file and --error-logfile are the same http://docs.gunicorn.org/en/latest/settings.html#errorlog Cheers, Matt -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails

Re: [mezzanine-users] Default fabfile deploy, Internal Server Error

2014-03-31 Thread Josh Cartmell
Thanks Matt and Doug, that's very helpful. So logging is disabled by default and then enabled if you specify a file location? On Mon, Mar 31, 2014 at 2:05 PM, Matthew Summers msummer...@gmail.comwrote: Just for reference, --log-file and --error-logfile are the same

Re: [mezzanine-users] Default fabfile deploy, Internal Server Error

2014-03-31 Thread Stephen McDonald
As I understand supervisor will log stdout/stderr for any procs it manages under /var/log/supervisord), such as gunicorn. This is why gunicorn's own logging is disabled in the default setup. Maybe it'd be better to configure the opposite (gunicorn logs all and sends nothing to stdout/stderr),

Re: [mezzanine-users] Default fabfile deploy, Internal Server Error

2014-03-31 Thread Josh Cartmell
Thanks Steve and Matt, I'm running with DEBUG = False now which is great. I think you are spot on Steve, I see now that the supervisor directory in /var/log has three log files, and two of them appear to be specific to gunicorn. I'm guessing that will help me moving forwards, and is probably

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-31 Thread Kyle Pennell
This is on Digital Ocean. How would I check out firewall related issues? On Saturday, March 29, 2014 2:00:08 AM UTC-6, Luc Milland wrote: could this be firewall related ? Le vendredi 28 mars 2014 à 18:20 -0700, Kyle Pennell a écrit : First off, thanks so much for taking the time to

[mezzanine-users] Re: Where to define Proccessor_for.py

2014-03-31 Thread Tameen Malik
and how to define this in template to make this accessible? -- 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

[mezzanine-users] Re: Cartridge shop missing from admin on deployed site

2014-03-31 Thread Jesse Carrigan
Looks like this was a caching issue on the browser. After going into Chrome dev tools and disabling the cache, the shop information showed up in the admin. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and

Re: [mezzanine-users] Can't figure out why my Static Files won't load

2014-03-31 Thread Jesse Carrigan
Rather than the IP address of the host, have you tried your live hostname (e.g. www.example.com or example.com)? My sites are hosted on Digital Ocean and that's what needed to be in the ALLOWED_HOSTS list. Same for the server_name in the ngnix configs. -- You received this message because you