[mezzanine-users] place with all the template tags?
Hello, I am wondering if there is a doc on the Mezzanine or django website that has a list of all the template tags that I can use in my templates and how to include them in the template? I would like to know from the Mezzanine side, how to get the latest blog posts of a certain tag and of a date in the future. Thank you, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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] question about PAGES_MENU_SHOW_ALL
Hello, How do I override tree.html? Here is what base.html says: div class=panel panel-default tree{% page_menu pages/menus/tree.html %}/div I tried doing: my_theme/templates/pages/menus/tree.html but it doesn't seem to work. In tree.html it says: {# wrap the next line with 'if page.is_current_or_ascendant' #} {# to only show child pages in the menu for the current page #} {% if page.is_current_or_ascendant %}{% if page.has_children_in_menu %}{% page_menu page %}{% endif %}{% endif %} so I did and I don't see anything different. thank you, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/17/2015 5:55 AM, Stephen McDonald wrote: It's deprecated for quite a while and apparently left there mistakenly. You can see when it was removed which will show you how to reproduce what it did: https://github.com/stephenmcd/mezzanine/commit/2cc4fe261350b7ff5736ff07f31923e97345a5fa#diff-30f9afdcd3dfff4737de4015c43a6f09 On Fri, Jul 17, 2015 at 12:02 PM, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, I want to make it so that the pages in the left-hand tree only show children and siblings of the top parent. so if I have: about about/blog about/our story contact us contact us/partnership contact us/legal when I click on about it only shows the our story and blog. I was looking through the config settings and see the configuration: PAGES_MENU_SHOW_ALL and it says: If True, the left-hand tree template for the pages menu will show all levels of navigation, otherwise child pages are only shown when viewing the parent page. Default: True I set it to false, but don't see any change. I restarted the server and everything. Here is what my defaults.py looks like: my_theme/defaults.py from mezzanine.conf import register_setting register_setting('PAGES_MENU_SHOW_ALL', default=False) What am I doing wrong? Because PAGES_MENU_SHOW_ALL=False seems to be exactly what I want! thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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 mailto: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 mailto: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] Easy way to grab data from an installed app in the templates
Hello, No, I needed to restart my server for some reason... I got it to not give an error, but now it is still hiding my variable in the {% block main %} {% endblock %} tags. Here is what I have: my_app/templatetags/my_tags.py from mezzanine import template register = template.Library() @register.assignment_tag def test_text(format_string=I like cheese): return format_string my_theme/templates/index.html {% extends base.html %} {% load i18n %} {% load my_tags %} {% test_text Flowers are nice as my_text %} {% block meta_title %}{% trans Home %}{% endblock %} {% block title %}{% trans Home %}{% endblock %} {% block breadcrumb_menu %} li class=active{% trans Home %}/li {% endblock %} {% block main %} {# {% blocktrans %} #} h2My text!/h2 pHere is my text and the variable is: {{ my_text }}/p pHere is my lovely text. Here are the important links:/p h2Links/h2 ul lia href=/admin/Log in to the admin interface/a/li lia href=http://mezzanine.jupo.org/docs/content-architecture.html;Creating custom page types/a/li lia href=http://mezzanine.jupo.org/docs/frequently-asked-questions.html#templates;Modifying HTML templates/a/li lia href=http://mezzanine.jupo.org/docs/frequently-asked-questions.html#why-isn-t-the-homepage-a-page-object-i-can-edit-via-the-admin;Changing this homepage/a/li lia href=http://mezzanine.jupo.org/docs/frequently-asked-questions.html;Other frequently asked questions/a/li lia href=http://mezzanine.jupo.org/docs/configuration.html#default-settings;Full list of settings/a/li lia href=http://mezzanine.jupo.org/docs/deployment.html;Deploying to a production server/a/li /ul {# {% endblocktrans %} #} {% endblock %} The variable does not show up at all. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/16/2015 6:06 AM, Stephen McDonald wrote: You're probably missing an empty __init__.py file: https://docs.djangoproject.com/en/1.8/howto/custom-template-tags/#code-layout On Thu, Jul 16, 2015 at 12:00 PM, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, I can't get this method to work. Here is what I have: my_app/script_module.py from mezzanine import template register = template.Library() @register.as_tag def test_text(): return Hello world my_theme/templates/index.html {% extends base.html %} {% load i18n %} {% test_text %} I get the error: TemplateSyntaxError at / Invalid block tag: 'test_text' I then try adding in index.html: {% extends base.html %} {% load i18n %} {% load my_app %} {% test_text %} But then get: TemplateSyntaxError at / 'my_app' is not a valid tag library: So then when I put script_module.py into my_app/templatetags/my_script.py I still get the same error. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/16/2015 1:18 AM, Eduardo Rivas wrote: That should work without issue, though I generally like to bundle all the as tags on top of the block. {% block main %} {% get_sitewide_content as sitewide %} h1my text/h1 {{ sitewide.foobar }} {% endblock %} Also, be careful with the blocktrans tag, you need to explicitly bind any variable you want to use inside them. You should also avoid including HTML tags inside them to prevent poluting the gettext catalog with markup https://docs.djangoproject.com/en/1.7/topics/i18n/translation/#blocktrans-template-tag. -- 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 mailto: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 mailto: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] Easy way to grab data from an installed app in the templates
Hello, So the document namespace doesn't go into the block? That worked! thank you, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/16/2015 10:41 PM, Eduardo Rivas wrote: Yeah, a server restart is required when you create new template tags for Django to pick them up. As for your template code, try putting {% test_text Flowers are nice as my_text %} inside the block you want to use the variable (in your case: {% block main %}). -- 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] Easy way to grab data from an installed app in the templates
Hello, I can't get this method to work. Here is what I have: my_app/script_module.py from mezzanine import template register = template.Library() @register.as_tag def test_text(): return Hello world my_theme/templates/index.html {% extends base.html %} {% load i18n %} {% test_text %} I get the error: TemplateSyntaxError at / Invalid block tag: 'test_text' I then try adding in index.html: {% extends base.html %} {% load i18n %} {% load my_app %} {% test_text %} But then get: TemplateSyntaxError at / 'my_app' is not a valid tag library: So then when I put script_module.py into my_app/templatetags/my_script.py I still get the same error. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/16/2015 1:18 AM, Eduardo Rivas wrote: That should work without issue, though I generally like to bundle all the as tags on top of the block. {% block main %} {% get_sitewide_content as sitewide %} h1my text/h1 {{ sitewide.foobar }} {% endblock %} Also, be careful with the blocktrans tag, you need to explicitly bind any variable you want to use inside them. You should also avoid including HTML tags inside them to prevent poluting the gettext catalog with markup https://docs.djangoproject.com/en/1.7/topics/i18n/translation/#blocktrans-template-tag. -- 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] Easy way to grab data from an installed app in the templates
Hello, How do you call the function in a block? Because for my index I have: {% block main %} {% blocktrans %} h1my text/h1 {% where I want the function %} {{ where I want the variable }} {% endblocktrans %} {% endblock %} Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/16/2015 12:23 AM, Eduardo Rivas wrote: As an alternative, you can also use SingletonAdmin and a template tag to make model data available anywhere in the site. Josh wrote about it and I follow this pattern all the time: http://bitofpixels.com/blog/on-singletonadmins-and-sitewidecontent-editing-sitewide-content-in-mezzanines-admin/. -- 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] Easy way to grab data from an installed app in the templates
Hello, I think I did this exactly how you said, but in my index.html nothing shows up. Here is what I have: my_app/defaults.py from mezzanine.conf import register_setting register_setting(name='test_text', default=Hello world) register_setting(name=TEMPLATE_ACCESSIBLE_SETTINGS, append=True, default=(test_text,)) my_theme/templates/index.html {% extends base.html %} ... all defaults {% block main %} {% blocktrans %} h2My text!/h2 pHere is my text and the variable is: {{ settings.test_text }}/p {% endblocktrans %} {% endblock %} I get the first part of the text, but the variable is not there at all. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/16/2015 12:12 AM, Danny wrote: On 16/07/2015 7:30 AM, Brandon Keith Biggs wrote: Hello, Is there an easy way to create template variables and functions without modifying the site urls? Perhaps in mezzanine_tags or something? A variable like {{ mezzanine.my_app.my_variable }} would be fine. Is this what page can help with? I want to use these variables in my custom theme. thank you, I think what you might be looking for is to create your own setting, and then use it in a template, right? http://mezzanine.readthedocs.org/en/latest/configuration.html Basically: In your app, create a defaults.py, and use register_setting() to create the variable you want. It can be editable in the admin if you like, or just configurable via settings/local_settings.py Then you'll need to update TEMPLATE_ACCESSIBLE_SETTINGS so that your new setting is listed there, making it accessible within templates. And then you should be able to just reference {{settings.variable}} in any template that has mezzanine_tags loaded. For example, I have in my app's defaults.py: register_setting( name=SOCIAL_FACEBOOK, description=Link to Facebook Page. Include http prefix., editable=True, default=, ) register_setting( name=TEMPLATE_ACCESSIBLE_SETTINGS, append=True, default=(SOCIAL_FACEBOOK,), ) And then in my base.html: {% load mezzanine_tags ... %} ... {% if settings.SOCIAL_FACEBOOK %} a href={{ settings.SOCIAL_FACEBOOK }}Facebook/a {% endif %} So this allows me to add a link to my Facebook page in the admin (Settings section) and have that link show up on every page of the site via the base.html template. Seeya. Danny. -- *Danny Sag* Chairperson Round World Events SA, Inc City of Small Gods Terry Pratchett Fan Club - http://cityofsmallgods.org.au *Nullus Anxietas VI - The Australian Discworld Convention* - http://ausdwcon.org The Discworld Grand Tour - Adelaide SA, August 4-6, 2017 -- 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 mailto: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] Easy way to grab data from an installed app in the templates
Hello, That was totally the problem! I would like to be able to keep the translation ability for the variables, is there any way to use a filter on the text before it goes into blocktrans? I tried doing something like: my_app/templatetags/module.py from django import template register = template.Library() my_theme/templates/index.html {% load shortcodes %} ... {% block main|test_filter %} {% blocktrans %} h2My text!/h2 pI like flowers, apples, flowers, oranges, flowers and flowers!/p {% endblocktrans %} {% endblock %} and nothing shows up on the page... I've already got a filter I am using for richtext, so I'll just transfer that over if I can. Other question, if I'm not to use html tags in the translated area, what do I use? Do I just put a whole lot of blocktrans tags in my html tags? Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/16/2015 1:18 AM, Eduardo Rivas wrote: That should work without issue, though I generally like to bundle all the as tags on top of the block. {% block main %} {% get_sitewide_content as sitewide %} h1my text/h1 {{ sitewide.foobar }} {% endblock %} Also, be careful with the blocktrans tag, you need to explicitly bind any variable you want to use inside them. You should also avoid including HTML tags inside them to prevent poluting the gettext catalog with markup https://docs.djangoproject.com/en/1.7/topics/i18n/translation/#blocktrans-template-tag. -- 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] Easy way to grab data from an installed app in the templates
Hello, Is there an easy way to create template variables and functions without modifying the site urls? Perhaps in mezzanine_tags or something? A variable like {{ mezzanine.my_app.my_variable }} would be fine. Is this what page can help with? I want to use these variables in my custom theme. thank you, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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] Text processing code?
Hello, I found the problem! The append argument is a bool and not a tuple or list. The correct function should be: register_setting(name=RICHTEXT_FILTERS, append=True, default=('shortcodes.shortcodes.shortcodes_main',)) I think the documentation should state that append is a boolian and that one needs to pass in a tuple to the default function. The text could read as follows: • append: If registering an existing setting and append is set to True, the value given to default will be appended to the current default value. Then for RICHTEXT_FILTER: RICHTEXT_FILTER Deprecated, use RICHTEXT_FILTERS Dotted path to the function to call on a RichTextField value before it is rendered to the template. Default: None Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/12/2015 8:53 PM, Eduardo Rivas wrote: RICHTEXT_FILTER is deprecated and kept around only for backwards compatibility as far as I know. runserver shows a deprecation warning every time it finds it. You are right that default setting values should be lists and not tuples. Could you please test it and submit a patch? In the meantime, you can simply rewrite the setting to your liking directly in your settings module, no need to do it in defaults.py if you find it inappropriate for your purposes. -- 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 mailto: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] Text processing code?
Hello, Where exactly do I place that to substitute all text that is rendered to the page? I tried placing {{ page.richtextpage.content|shortcodes_main|richtext_filters|safe }} (where shortcodes_main is the name of the function in my app) on the top of base.html, but that just shows the correct text on the top of the document. down in the main block the wrong text is shown. I believe the main text comes from the line that says: {% block main %}{% endblock %} but adding the above text does nothing: {% block main %}{{ page.richtextpage.content|shortcodes_main|richtext_filters|safe }}{% endblock %} I replaced the tags above so we had something like: div id=page_content class=col-md-7 middle {{page.richtextpage.content|shortcodes_main|richtext_filters|safe }} /div Is this OK, it looks perfect to my screen-reader, but I don't know if it looks OK to other people. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/1/2015 6:07 PM, Eduardo Rivas wrote: Mezzanine provides the RICHTEXT_FILTERS setting for you to plug in any function to process text. You could implement a micro template language and call it from there. This is done in templates like so {{ page.richtextpage.content|richtext_filters|safe }}. Docs: http://mezzanine.jupo.org/docs/configuration.html#richtext-filters. I prefer this approach rather than enabling full support of the Django template language in RichText fields to keep things safe. -- 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] Text processing code?
Hello, I got this to work using the loading into a template file, but I think it is a little too complex. What is the RICHTEXT_FILTERS setting from: http://mezzanine.jupo.org/docs/configuration.html#richtext-filters I ran: register_setting(name=RICHTEXT_FILTERS, append='shortcodes.templatetags.shortcodes.shortcodes_main') But got the following error: File c:\python27\lib\site-packages\mezzanine-3.1.10-py2.7.egg\mezzanine\conf\ __init__.py, line 44, in register_setting registry[name][default] += default TypeError: can only concatenate tuple (not NoneType) to tuple I also did: register_setting(name=RICHTEXT_FILTERS, default=['mezzanine.utils.html.thumbnails', 'shortcodes.templatetags.shortcodes.shortcodes_main']) and that seemed to do the trick, but that is not very friendly to any other applications that may be installed along with mezzanine that filter text. I don't know how to grab the current list of settings to resubmit the list of current filters. It appears that the default for RICHTEXT_FILTERS is: ('mezzanine.utils.html.thumbnails',) so that may be why I can't append anything to it. This seems to be a bug, any of these iterative settings should be lists so the user can do append on them. I also see there is a setting: RICHTEXT_FILTER and the default is None. Why is this different than RICHTEXT_FILTERS? Does it automatically reset the tuple with the new filter added? If so, could it say so in the documentation? From what it looks like, RICHTEXT_FILTERS and RICHTEXT_FILTER are redundant and RICHTEXT_FILTER should be removed. Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/1/2015 6:07 PM, Eduardo Rivas wrote: Mezzanine provides the RICHTEXT_FILTERS setting for you to plug in any function to process text. You could implement a micro template language and call it from there. This is done in templates like so {{ page.richtextpage.content|richtext_filters|safe }}. Docs: http://mezzanine.jupo.org/docs/configuration.html#richtext-filters. I prefer this approach rather than enabling full support of the Django template language in RichText fields to keep things safe. -- 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] creating projects with latest build
Hello, If I'm not mistaken older versions ask you if you would like to create the super user. I've always used python manage.py createdb and been able to set my username and password. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/10/2015 7:24 AM, Stephen McDonald wrote: I can confirm the usual admin/default superuser is created, but you're not prompted for it without --noinput, which is what I expected also. I also checked older versions of Mezzanine and it appears that's always been the case. On Fri, Jul 10, 2015 at 1:12 PM, Danny molo...@gmail.com mailto:molo...@gmail.com wrote: If you look in https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/core/management/commands/createdb.py You'll see it should create the default admin user as 'admin' with password 'default'. Try to log in to the admin side with that. Although, I would have thought that unless you specified --noinput it would have prompted you for this sort of information... maybe that's changed. Seeya. Danny. On 10 July 2015 at 12:28, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, I just created a project with the latest build and I did not get asked to create a super-user. There are also no setting files in my project. I did: mezzanine-project project1 cd project1 python manage.py createdb python manage.py runserver and my site went up perfectly, but no super-user was set. thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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 mailto:mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- *Danny Sag* Chairperson Round World Events SA, Inc City of Small Gods Terry Pratchett Fan Club - http://cityofsmallgods.org.au *Nullus Anxietas VI - The Australian Discworld Convention* - http://ausdwcon.org The Discworld Grand Tour - Adelaide SA, August 4-6, 2017 -- 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 mailto: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 mailto: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.
[mezzanine-users] creating projects with latest build
Hello, I just created a project with the latest build and I did not get asked to create a super-user. There are also no setting files in my project. I did: mezzanine-project project1 cd project1 python manage.py createdb python manage.py runserver and my site went up perfectly, but no super-user was set. thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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] Text processing code?
Hello Ken, This doesn't look like what I want. I am talking about inside MCE editor. Where is the code that takes the text inside an edit field and does stuff with it? thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 7/1/2015 3:00 PM, Ken Bolton wrote: Hi Brandon, This question is not specific to Mezzanine. I believe you want to read up on Django's custom template tags https://docs.djangoproject.com/en/1.8/howto/custom-template-tags/. Let us know if that gets it done. -ken On Wed, Jul 1, 2015 at 2:39 AM, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, I would like a way where I can check the code that is in the text editor when it is submitted to be saved for blog and page text. I would like to be able to place variables in my code without creating a separate template for every page with the variables. I have a variable as my age. So I would like it to update every year. I would like to write something like: [brandon_age] or {{brandon_age}} and when my check finds the set of brakets like that, have it check for a function or variable in a file and if it matches, show the result. Where would I place this check? thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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 mailto: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 mailto: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] problems with unicode
Hello, A guy at A2 hosting figured it out. Because I use Windows and the servers are Linux, my text editor was adding a strange character to the end of each line: https://en.wikipedia.org/wiki/Newline That why it worked on Windows, but not on Linux. Could this be mentioned in the guide somewhere? It shouldn't happen if system files are not modified by me though. Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 7:08 PM, Brandon Keith Biggs wrote: Hello, I am using the pip version with mysql. I think it may be mysql that has the problem as one of the error messages hinted at mysql, but this is a little out of what I've done before, so could be reading it wrong. Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 6:23 PM, Eduardo Rivas wrote: Hi Brandon. Adding to Ken's answer: Are you using the latest version from the master branch, or the stable version from pip? For the latest version, the documentation was updated to include a tutorial that should take you from a blank VPS to a working Mezzanine site. http://mezzanine.readthedocs.org/en/latest/deployment.html#tutorial. For the stable version, use the current docs and this tutorial: http://bitofpixels.com/blog/deploying-mezzanine-to-digital-ocean-using-the-included-fabfile/. Bottom line for both cases: You most likely don't need to touch the fabfile, just the FABRIC dictionary that's commented out in local_settings.py. Fabric will pull all the settings it needs from there. -- 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] Re: Left-hand tree is not showing up in latest branch
Hello, Messing around some more, I found that only when the page was not fullscreen did the left-hand tree not show up. There are a lot of things that don't work with the screen not maximized. For example, the + above the pages does not work. Also, when I have bottom-level pages checked to show in the left-hand tree, but not the top, they don't show when I click on the top level page. For example: about/ (not checked) teem (checked) history (checked) blog/ (not checked) Gallery (checked) ... My first thought, and what I would like to happen, is when I click on about for the two items under blog to show up. About doesn't show, but teem and history show. You get that left hand tree when you are in history, teem and about. But when you click on blog, you only get Gallery in the left tree. Is there a reason for the functionality not working this way? On most websites it is pretty normal for something like this to happen. Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 12:24 PM, Brandon Keith Biggs wrote: Hello, I just installed mezzanine yesterday and I am not seeing the Left-hand tree. The list of links under the h2/h2 The code looks to be there in base.html, but nothing is showing up. In the default pages there is: about/ blog history... On both blog and history the show in Left-hand tree box is checked, but on the about page there is nothing under the breadcrumbs. Thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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] having a link to switch between MCE Editor and Pagedown?
Hello, Is it possible to have a link to switch between the default MCE Editor and Pagedown? I think what one would need to do is have both initialized and then with Javascript hide one and have a link show one or the other. Then one could save the localized setting on the person's computer or even on the server, but I'm not 100% sure how one would do the server (probably through ajax). So far, the installing of mezzanine packages is a little too complex for me to comprehend, but I am wondering if anyone has already done something like this? Thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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] problems with unicode
Hello, Does anyone know how I would fix this error? I got it after hitting yes on install optional pages from the python manage.py createdb. I don't have Root access: 1: UserWarning: A file was saved that contains unicode characters in its path, but somehow the current locale does not support utf-8. You may need to set 'LC_ALL' to a correct value, eg: 'en_US.UTF-8'. warn(A file was saved that contains unicode Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ __init__.py, line 399, in execute_from_command_line utility.execute() File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ __init__.py, line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 242, in run_from_argv self.execute(*args, **options.__dict__) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 285, in execute output = self.handle(*args, **options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 415, in handle return self.handle_noargs(**options) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/commands/createdb.py, line 33, in handle_noargs syncdb.Command().execute(**options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 285, in execute output = self.handle(*args, **options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 415, in handle return self.handle_noargs(**options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ commands/syncdb.py, line 112, in handle_noargs emit_post_sync_signal(created_models, verbosity, interactive, db) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ sql.py, line 216, in emit_post_sync_signal interactive=interactive, db=db) File /home/brandon3/site1/lib/python2.7/site-packages/django/dispatch/dispatc her.py, line 185, in send response = receiver(signal=self, sender=sender, **named) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/__init__.py, line 68, in create_pages install_optional_data(verbosity) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/__init__.py, line 109, in install_optional_data gallery.save() File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/galleries/mod els.py, line 101, in save native(str(name, errors=ignore))) File /home/brandon3/site1/lib/python2.7/site-packages/future/builtins/backpor ts/newstr.py, line 100, in __new__ return super(newstr, cls).__new__(cls, value) UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 1: ordinal not in range(128) I'm using python 2.7. Would this get fixed with python 3? I've tried fixing the .bashrc file, but I was not able to reload it. Is there any way to just reinstall the sample pages? Thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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] Left-hand tree is not showing up in latest branch
Hello, I just installed mezzanine yesterday and I am not seeing the Left-hand tree. The list of links under the h2/h2 The code looks to be there in base.html, but nothing is showing up. In the default pages there is: about/ blog history... On both blog and history the show in Left-hand tree box is checked, but on the about page there is nothing under the breadcrumbs. Thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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] problems with unicode
Hello, Could this question please be placed on the FAQ? Give me a little bit and once I figure out how to fix it, I will write a 3-5 step tutorial to fix it. Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 4:33 PM, Ken Bolton wrote: Hi Brandon, This is probably the most frequently asked question of all FAQ to this list. The short answer is that your locale is set up improperly. You can see example code of how to establish your locale correctly at https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L461-L465 and https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L496-L498. Note that the default value for env.locale at that point in the code is en_US.UTF-8. hth. -ken On Sat, Jun 20, 2015 at 4:22 AM, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, Does anyone know how I would fix this error? I got it after hitting yes on install optional pages from the python manage.py createdb. I don't have Root access: 1: UserWarning: A file was saved that contains unicode characters in its path, but somehow the current locale does not support utf-8. You may need to set 'LC_ALL' to a correct value, eg: 'en_US.UTF-8'. warn(A file was saved that contains unicode Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ __init__.py, line 399, in execute_from_command_line utility.execute() File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ __init__.py, line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 242, in run_from_argv self.execute(*args, **options.__dict__) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 285, in execute output = self.handle(*args, **options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 415, in handle return self.handle_noargs(**options) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/commands/createdb.py, line 33, in handle_noargs syncdb.Command().execute(**options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 285, in execute output = self.handle(*args, **options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 415, in handle return self.handle_noargs(**options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ commands/syncdb.py, line 112, in handle_noargs emit_post_sync_signal(created_models, verbosity, interactive, db) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ sql.py, line 216, in emit_post_sync_signal interactive=interactive, db=db) File /home/brandon3/site1/lib/python2.7/site-packages/django/dispatch/dispatc her.py, line 185, in send response = receiver(signal=self, sender=sender, **named) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/__init__.py, line 68, in create_pages install_optional_data(verbosity) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/__init__.py, line 109, in install_optional_data gallery.save() File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/galleries/mod els.py, line 101, in save native(str(name, errors=ignore))) File /home/brandon3/site1/lib/python2.7/site-packages/future/builtins/backpor ts/newstr.py, line 100, in __new__ return super(newstr, cls).__new__(cls, value) UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 1: ordinal not in range(128) I'm using python 2.7. Would this get fixed with python 3? I've tried fixing the .bashrc file, but I was not able to reload it. Is there any way to just reinstall the sample pages? Thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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 mailto: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
Re: [mezzanine-users] problems with unicode
Hello, So I don't really understand fab files. Is the fabric.api.env.locale really something on the local machine that I can set by hand? How do I set it to be correct? How do I find what is correct? Should I say where I am or where the host is? Or does it just need to match with the timezone? I asked my host about supporting utf-8 and they say they do, but I am still getting this error. Is there something I need to modify in my settings.py file to match with the system? thank you, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 4:33 PM, Ken Bolton wrote: Hi Brandon, This is probably the most frequently asked question of all FAQ to this list. The short answer is that your locale is set up improperly. You can see example code of how to establish your locale correctly at https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L461-L465 and https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/fabfile.py#L496-L498. Note that the default value for env.locale at that point in the code is en_US.UTF-8. hth. -ken On Sat, Jun 20, 2015 at 4:22 AM, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, Does anyone know how I would fix this error? I got it after hitting yes on install optional pages from the python manage.py createdb. I don't have Root access: 1: UserWarning: A file was saved that contains unicode characters in its path, but somehow the current locale does not support utf-8. You may need to set 'LC_ALL' to a correct value, eg: 'en_US.UTF-8'. warn(A file was saved that contains unicode Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ __init__.py, line 399, in execute_from_command_line utility.execute() File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ __init__.py, line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 242, in run_from_argv self.execute(*args, **options.__dict__) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 285, in execute output = self.handle(*args, **options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 415, in handle return self.handle_noargs(**options) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/commands/createdb.py, line 33, in handle_noargs syncdb.Command().execute(**options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 285, in execute output = self.handle(*args, **options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ base.py, line 415, in handle return self.handle_noargs(**options) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ commands/syncdb.py, line 112, in handle_noargs emit_post_sync_signal(created_models, verbosity, interactive, db) File /home/brandon3/site1/lib/python2.7/site-packages/django/core/management/ sql.py, line 216, in emit_post_sync_signal interactive=interactive, db=db) File /home/brandon3/site1/lib/python2.7/site-packages/django/dispatch/dispatc her.py, line 185, in send response = receiver(signal=self, sender=sender, **named) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/__init__.py, line 68, in create_pages install_optional_data(verbosity) File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/core/manageme nt/__init__.py, line 109, in install_optional_data gallery.save() File /home/brandon3/site1/lib/python2.7/site-packages/mezzanine/galleries/mod els.py, line 101, in save native(str(name, errors=ignore))) File /home/brandon3/site1/lib/python2.7/site-packages/future/builtins/backpor ts/newstr.py, line 100, in __new__ return super(newstr, cls).__new__(cls, value) UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 1: ordinal not in range(128) I'm using python 2.7. Would this get fixed with python 3? I've tried fixing the .bashrc file, but I was not able to reload it. Is there any way to just reinstall the sample pages? Thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group
Re: [mezzanine-users] problems with unicode
Hello, I am using A2 hosting's shared host. There is no Sudo privileges, but there is ssh access. They give a tutorial: https://www.a2hosting.com/kb/developer-corner/python/installing-and-configuring-mezzanine-on-shared-hosting And here is my website where I followed everything exactly: brandonkeithbi...@a2hosted.com http://brandonkeithbi...@a2hosted.com I am a little Hesitant to do Digital ocean because: 1. I don't use Linux as my normal computer 2. I have never used Linux to do a server So I am scared there will be all kinds of security risks. are my fears founded? I really know nothing about running a server. Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 6:23 PM, Eduardo Rivas wrote: Hi Brandon. Adding to Ken's answer: Are you using the latest version from the master branch, or the stable version from pip? For the latest version, the documentation was updated to include a tutorial that should take you from a blank VPS to a working Mezzanine site. http://mezzanine.readthedocs.org/en/latest/deployment.html#tutorial. For the stable version, use the current docs and this tutorial: http://bitofpixels.com/blog/deploying-mezzanine-to-digital-ocean-using-the-included-fabfile/. Bottom line for both cases: You most likely don't need to touch the fabfile, just the FABRIC dictionary that's commented out in local_settings.py. Fabric will pull all the settings it needs from there. -- 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] problems with unicode
Hello, I am using the pip version with mysql. I think it may be mysql that has the problem as one of the error messages hinted at mysql, but this is a little out of what I've done before, so could be reading it wrong. Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 6:23 PM, Eduardo Rivas wrote: Hi Brandon. Adding to Ken's answer: Are you using the latest version from the master branch, or the stable version from pip? For the latest version, the documentation was updated to include a tutorial that should take you from a blank VPS to a working Mezzanine site. http://mezzanine.readthedocs.org/en/latest/deployment.html#tutorial. For the stable version, use the current docs and this tutorial: http://bitofpixels.com/blog/deploying-mezzanine-to-digital-ocean-using-the-included-fabfile/. Bottom line for both cases: You most likely don't need to touch the fabfile, just the FABRIC dictionary that's commented out in local_settings.py. Fabric will pull all the settings it needs from there. -- 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] Host with Mezzanine already installed with basic SSH and FTP Access?
Hello, Is there already someone on here who is doing this? I am wanting a host where I can pretty much just worry about building my website, not dealing with getting a host or anything like that. I believe what one could do is: Have a system and cut the disk space into different chunks, offer folders with public_http, public_ftp, www and whatnot, offer the ssh access but without sudo and with virtualenvwrapper, then already have a sample Mezzanine project I can either copy (if I wanted to have a second site), or just use. I could also have my WP site on there while I am waiting for my Mezzanine to be migrated. I am thinking of something a little more geeky than wordpress.com, but with wordpress.com abilities if one wishes. If the development teem had something like this, I know I would sell it to all of my friends, especially if I could do either a reseller or referral program. This would allow there to be a constant stream of income for Mezzanine and I would probably be the first customer...! Then we can really focus on developing our Mezzanine sites and not so much on everything else. Is there something like this already? If not, how difficult would it be to setup something like this? Competition: There are a whole lot of hosts, but none, to my knowledge, really have anything django preinstalled. Digital Ocean requires one to choose their OS, make sure everything is updated, create the correct folders and change the correct files, do other things to make their system production ready, then make sure their DB is OK, know enough to fill out the table in the fab.py file, then to have python installed on their computer. There is no reseller system, although one could be a host like I said above. I don't know how creating a good DB is, but I don't think I will be using mysql. WebFaction: It is a little more expensive than Digital ocean and I've never used them, but they are the same, but they give one a lot more space and bandwidth. They don't have a reseller program, although I think one could do what I suggested above. They do have DBs one can create through their front-end site. A2 hosting: They do what I said above, They are the least expensive for the first 2 years, then jump up to about as much as WebFaction. They don't give as much space as WebFaction though. They use C panel and they have shared accounts with ssh access like what I outlined above. They also have a reseller and a referral program. So no one seems to really offer Django already installed along with the ability to use other things like wordPress on the same server. I really like C panel, so it is one of the things I like to see when searching for a host. The customers would be 3 different people: 1. People who know python and would like to know they are running a python server. They know that their CMS runs django and if they wish, they can modify files in python. 2. The above python programmers, but who would like to sell websites to clients along with a domain and a subscription to a host. (This would be me). 3. Random non programmers who would like a site up and running ASAP and who are not really going to touch their site. They can get in contact with number 2 if they would like something more done. This is what I have observed and would really really love to see a host with django and Mezzanine already up and running, but with the option to run WordPress or any of the other PHP sites along side it. Thank you, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 7:08 PM, Brandon Keith Biggs wrote: Hello, I am using the pip version with mysql. I think it may be mysql that has the problem as one of the error messages hinted at mysql, but this is a little out of what I've done before, so could be reading it wrong. Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/20/2015 6:23 PM, Eduardo Rivas wrote: Hi Brandon. Adding to Ken's answer: Are you using the latest version from the master branch, or the stable version from pip? For the latest version, the documentation was updated to include a tutorial that should take you from a blank VPS to a working Mezzanine site. http://mezzanine.readthedocs.org/en/latest/deployment.html#tutorial. For the stable version, use the current docs and this tutorial: http://bitofpixels.com/blog/deploying-mezzanine-to-digital-ocean-using-the-included-fabfile/. Bottom line for both cases: You most likely don't need to touch the fabfile, just the FABRIC dictionary that's commented out in local_settings.py. Fabric will pull all the settings it needs from there. -- 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] Question about switching between production and local servers
Hello, So I read through that guide and I have more questions... Why does mezzanine itself have ssh info? One can't ssh into mezzanine, that is not how ssh works is it? Also, what exactly does this fabfile.py do? If I run it on my windows what will it do? Will it work the same in Linux? thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/19/2015 7:17 PM, Brandon Keith Biggs wrote: Hello Ken, my question is more along the lines of: what needs to change between windows and Linux? Can I just create everything on my windows and git it to the Linux and have it work? thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/19/2015 7:00 PM, Ken Bolton wrote: Hi Brandon, There are as many answers to your question as there are stars in the sky. My preferred flow is described in this rather old blog post http://bscientific.org/blog/mezzanine-fabric-git-vagrant-joy/. All development happens on a virtual machine hosted on my local development box. This virtual machine is identical to the production machine. I deploy to the virtual machine as often as necessary, and any big changes get tested as both upgrades and from-scratch. When it comes time to deploy to production, you've already practiced the deployment to the virtual machine. hth. -ken On Fri, Jun 19, 2015 at 7:14 AM, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, I am kind of new to servers and would like to know what would be the best way for me to alternate between production and local servers? How do people do this normally? I am running a windows computer for my local environment and Unix for my server. Should I create a virtualenv on my windows and use that to configure mezzanine on my Linux server? Would that work? For files, is git or doing everything through filezilla better? Can I git the whole server? or will I need to change some settings between the two? thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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 mailto: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 mailto: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.
[mezzanine-users] Question about switching between production and local servers
Hello, I am kind of new to servers and would like to know what would be the best way for me to alternate between production and local servers? How do people do this normally? I am running a windows computer for my local environment and Unix for my server. Should I create a virtualenv on my windows and use that to configure mezzanine on my Linux server? Would that work? For files, is git or doing everything through filezilla better? Can I git the whole server? or will I need to change some settings between the two? thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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] Question about switching between production and local servers
Hello Ken, my question is more along the lines of: what needs to change between windows and Linux? Can I just create everything on my windows and git it to the Linux and have it work? thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/19/2015 7:00 PM, Ken Bolton wrote: Hi Brandon, There are as many answers to your question as there are stars in the sky. My preferred flow is described in this rather old blog post http://bscientific.org/blog/mezzanine-fabric-git-vagrant-joy/. All development happens on a virtual machine hosted on my local development box. This virtual machine is identical to the production machine. I deploy to the virtual machine as often as necessary, and any big changes get tested as both upgrades and from-scratch. When it comes time to deploy to production, you've already practiced the deployment to the virtual machine. hth. -ken On Fri, Jun 19, 2015 at 7:14 AM, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, I am kind of new to servers and would like to know what would be the best way for me to alternate between production and local servers? How do people do this normally? I am running a windows computer for my local environment and Unix for my server. Should I create a virtualenv on my windows and use that to configure mezzanine on my Linux server? Would that work? For files, is git or doing everything through filezilla better? Can I git the whole server? or will I need to change some settings between the two? thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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 mailto: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 mailto: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] Suggestions for PyCon talk on Mezzanine
Hello, As a Key note, this can show developers how they can take control of their websites completely in python. Currently app developers don't really need to know about web development in python. I have been developing in python for 4 or 5 years and still have not really gotten into using any web based system of python. I think Mezzanine can really help to bridge the gap. My experience and problem is that I don't have time to learn django on django and bring it to Mezzanine. So mezzanine is the best CMS I have found, but it is still a couple inches shy of me being able to invest time to migrate all my websites over. If I have time to develop an app for a website, then I would be able to learn django, but for basic website migration and building, I really want to know how to get up and running ASAP. Taking the setup WordPress has, I need to: 1. create a DB and copy the WP files into a dir on my website. Then I need to edit the settings to have the log in info for the db. Most web hosts do this for me. 2. Log into my wp site, create an admin and change the home URL 3. Create web pages by clicking on create page and paste in html and if I need to make a new page, I just type html and the text not in html gets a p tag. For uploading media, I click on the upload media link and it gives me a brows dialogue and once I tag it all correctly with the built fields, I press OK and it inserts the correct URL into my page. 4. find a plugin like WooCommerce that lets me sell products. I setup my paypal account's info with WooCommerce and make a product with a title, text about it and price. 5. make a menu by clicking on the create menu button and add all my pages into that. 6. Get a plugin that makes an xml map of my site and submit it to google. 7. Tell all my friends about my site. Can Mezzanine deploying be put into under 10 steps like this? There is no learn PHP it is all without programming at all. This gets users. But then once I am invested into Mezzanine and I would like to make an app for crowd funding or watching the Olympics I can build it in django. A talk that breaks down these simple steps from getting a host to having a built website should really help many python developers make the step from WP or something else to Mezzanine. In a world where time is money and everyone needs a website, Mezzanine is a perfect answer. People just need to be shown this. A talk about how to run an opensource project would also be pretty nice. All the steps for setting up the package, using git, putting it up on Git Hub, sinking it with Pypy, advertising it and whatnot would also be really awesome. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/4/2015 9:22 AM, Graham wrote: Ha, nice idea! Sounds like a U2 concert I went to once, where Bono phoned people from the stage! g On 04/06/15 19:01, Brandon Keith Biggs wrote: Hello Stephen, Talk about how to get a website up and running with Mezzanine. I would like to see the process from finding the correct hosting package to run it to having a website up and creating users and pages. When looking for a package I want to know: 1. What is it? 2. Why do I need it? 3. how do I get it to work? You can answer the first two questions in two sentences and then the 3rd is your presentation. This shouldn't overlap with your last talk at all! It would also be something that can be posted on the website for new users. Perhaps you can get a call from a client on stage and they say they would like a website with a blog, an about me, a contact us and a store to sell their hand made horse Santa hats. Then you can log into a hosting service (you may be able to talk to PythonAnywhere https://www.pythonanywhere.com/login/?next=/user/frastlin/consoles/ if you don't have one that comes to mind) and deploy Mezzanine. Then you can create the different pages and have someone from the audience visit your website! I think this would really do a lot for showing people just how simple Mezzanine is, much more than just a talk. Wouldn't you also be more comfortable using Mezzanine rather than just talking about it? thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 6/4/2015 3:52 AM, Stephen McDonald wrote: Hi all, TLDR: I need help thinking of a good talk topic for Mezzanine at PyCon Philippines next month. A bit of background - last year I gave a talk on Mezzanine at PyCon APAC in Taiwan, if you haven't listened to it it's available online [1]. Fair warning, I'm not a very experienced speaker and I think some people might find my style literally boring, but if you're a huge fan of Mezzanine you'll probably find it interesting. I tried to make this the definitive talk on Mezzanine, covering everything from the background that led to it, how it's constructed, its features, and the surrounding ecosystem. I think I tried to pack too much into it at once, as I went somewhat over the allotted time. Now
Re: [mezzanine-users] Re: The Readme on Github - I would like to give it a revamp
Hello, I believe most people who read the readme on github have already seen the website. So they would like to know technical stuff and how to get started and do basic and essential things. Perhaps a link to Dgango's guide and then instructions on how to get started and instructions on how to deploy. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 5/24/2015 11:20 AM, Graham wrote: Hello all... I am also interested in the 'who' and the 'why' and this may help us decide what should go in the README... *Who* are we designing the README for? *Why* would the reader of the README choose to become involved, what would 'hook them in'? *Why* choose Mezzanine over any other 'similar' project? *Who* would we like to attract to the project / to use Mezzanine? Is there a minimum skill level that we want to mention? Clearly I have my own responses to these questions, but interested to hear others points of view before I unduly influence anyone! Cheers g On 24/05/15 05:40, Stephen McDonald wrote: On Fri, May 22, 2015 at 11:14 PM, Mathias Ettinger mathias.ettin...@gmail.com mailto:mathias.ettin...@gmail.com wrote: Why not swap it entirely with doc/overview.rst? I think this will be the general approach - move stuff out of the README, and directly into the docs, and adding links in the README back to the docs for these moved pieces. Here's my initial thoughts on each section, feedback welcome. Overview - leave as is Features - leave as is Dependencies - move to end of installation section Installation - move to overview in docs, and link from README Themes - move to overview in docs, no link needed from README Browser support - move to overview in docs, no link needed from README Contributing - leave as is Multi-lingual sites - already has a docs section, merge into that or remove Third party plugins - move to overview in docs, and link from README Donating - leave as is Support - leave as is, but move up to a more prominent spot (the number of invalid issues opened when posting to the mailing list would suffice is overwhelming) Sites using Mezzanine - move to overview in docs, and link from README (refactoring demo site required) Quotes - leave as is This way, what relies on README.rst today can rely on overview.rst tomorow without breaking anything. Or is the point to shorten both? Le vendredi 22 mai 2015 22:32:01 UTC+2, Stephen McDonald a écrit : It's a good idea. Please keep in mind there's some functionality of the project site dependent on the format of the readme, particularly those lists we'll probably remove: https://github.com/stephenmcd/mezzanine.jupo.org/blob/master/demo/__init__.py On Fri, May 22, 2015 at 1:26 PM, Geo djge...@gmail.com wrote: +1 Mezzanine's Readme is, at the time of writing, 795 lines long - pretty much an essay! The GH Readme for Django itself is short and sweet at just 44 lines. That's a massive 94% reduction in lines. If you are looking for a python CMS to use, you want to read about 3 key features of Mezzanine that make it stand out from all the others, that's all. Then one could link to the Mezzanine website and documentation website for further details and even for installation steps etc. Just my thoughts. Interesting to hear what the core devs think... On Friday, 22 May 2015 10:43:37 UTC+1, Graham Oliver wrote: Hi all I would like to have a go at revamping the readme on GitHub https://github.com/stephenmcd/mezzanine/blob/master/README.rst Initial thoughts - Make it way shorter - Put the 'third party plugins' and 'sites using Mezzanine' lists in separate documents - Add details of 'Core Development Team' Possibly also something for people (relatively) new to the Open Source thing. All feedback appreciated... This one I quite like (apart from the crypto stuff) http://svn.apache.org/repos/asf/httpd/httpd/trunk/README Take Care g -- 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
Re: [mezzanine-users] Real Time update of orders
Hello, If you did not want to write in Javascript, you can alternatively do an ajax call using python in brython: http://brython.info/doc/en/index.html# it is under Brython-specific built-in modules / browser.ajax Although I would first read all the stuff under Browser interface if you have not yet used brython. It will look the same to the user, it will just be in python and its built-in modules rather than javascript and its strange syntax. thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 5/14/2015 5:43 PM, Josh Cartmell wrote: Hi Andrew, I would set up some javascript that would make an ajax call every 5, 10, 30 seconds (whatever interval works for you) and then would update the orders on the page if any new ones had come in. I think that would be much easier to set up than trying to make things literally real time. Even websockets will have latency so nothing is truly real time, just an approximation. The question is how good of an approximation you need to have. To make this more efficient you could have your javascript store the most recent order number, then on whatever interval you decide it makes a call that only checks what the most recent order number is in the database. If it has changed from what you had stored you then make a separate call that reloads the orders (or just loads the newest ones). On Wed, May 13, 2015 at 8:03 PM, Andrew Fam andrew.fa...@gmail.com mailto:andrew.fa...@gmail.com wrote: Hey Stephen thanks for this. Yes I understand AJAX and a real time update. The store Im working with sells quite fast moving products and needed a consolidated orders view that would be automatically updated once orders came in. So, instead of having to click refresh the page to see the new orders, I was looking for a way for the page to update once a new order came in. Best regards, Andrew On Sunday, May 10, 2015 at 7:03:58 AM UTC+8, Stephen McDonald wrote: Hi there, real time is incredibly vague and begs for a stricter definition. The true meaning indicates a guaranteed response time, which is most likely not what your client means (http://en.wikipedia.org/wiki/Real-time_computing). What they most likely mean is submits without reloading the page, in which case, rather than introducing a whole separate moving part into your stack (a websocket server), along with what appears to be another framework, you could achieve the desired result simply by making an AJAX request in the checkout process. If unfortunately your client actually means has to use websockets, then you might be able monkey-patch the relevant model doing something like: Foo.__bases__ = (SelfPublishModel,) + Foo.__bases__ But before you go down that path I think you'd do yourself and your client a favour by educating them on using the best tool for the job rather than having them dictate your architecture to you :-) Good luck! On Sat, May 9, 2015 at 2:57 PM, Andrew Fam andrew...@gmail.com wrote: I'm thinking of using mezzanine but a client wants a real time update of orders. http://swampdragon.net/documentation/quick-start/ from django.db import models from swampdragon.models import SelfPublishModel from .serializers import FooSerializer class Foo(SelfPublishModel, models.Model): serializer_class = FooSerializer text = models.CharField(max_length=100) Got this off the swampdragon page and they require an addition of SelfPublishModel to any object that you need realtime support. Any idea how to do this with cartridge? Best regarsd, Andrew -- 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 mailto: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
Re: [mezzanine-users] Official Docker Repo
Hello, This would be really awesome! but how would it work with django and python as a dependency? Would you distribute python with it? thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 5/6/2015 7:19 PM, Flavio Barros wrote: I just saw this post at Docker blog: http://blog.docker.com/2015/05/two-new-official-images-added-in-april/#more-5385 What about a Mezzanine's official repo? -- 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 mailto: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] Some newbie questions for someone moving from WP to mezzanine
Hello, Then there are the folks who know programming, but don't know python or django or if they do, don't know the strange stuff that has to do with web development. Either that or they don't know any html above h1/h1. What I was thinking is getting a reseller account at A2 hosting or something like that and have a full mezzanine setup for each new person. Then offer an installer or something for new themes. This shouldn't be too difficult, just offer an upload screen where you can select your theme and once it is uploaded, you can activate it. (activating would basically just be changing the settings.py file.) That way people could use the current themes. Of coarse they would get FTP access, but the point is to limit FTP access, so you don't need to deal with anything but the front-end. Then for super-users there could be a page where you could enter python code and add it to something like short-codes. For example, I have on my website a short-code in wordPress to display my age. It changes every year so I don't need to update my age every year. So it looks like: Brandon Keith Biggs is a [age name=brandon] year old singer, programmer and avid book-lover. and it comes out as: Brandon Keith Biggs is a 23 year old singer, programmer and avid book-lover. In wordPress you make a function in functions.php and add it to the short-code list. I was thinking this could be nearly the same in mezzanine, but you could modify the functions.py file only if you are super-user. I, for example, would love a setup like that. I really don't mind what theme I have, but I would like to be able to place variables or references to HTML blocks different places. The reason why I am looking for a CMS other than WP is because I am trying to create a website that is a little more advanced than what I need for my personal website. I would like to make my personal website in mezzanine though. I would like also to tell people to get a mezzanine hosted website as then I can help them if they need. Also, making plugins in django is way easier than in PHP... Having an already setup mezzanine site on a person's new hosting account would make it so they just need to worry about learning how the CMS works and possibly django. What would be the downside to something like this? I have never worked for anyone who really tried to muck around with anything they weren't supposed to and generally if you mess up your website it is kind of your fault. There is always the back-up... Or you can pay me to fix it. I am not sure about mezzanine, but in wordPress there is a way to separate users out to have different permissions. This group of users can add blog posts and that is it. These users can add pages under this category and that is it, these users can make products, add pages and blog posts, These users can add themes, plugins, pages, products and blog posts, these users can add or remove users below them, add themes, plugins... So perhaps there could be superadmin and that has access to the script file, changing themes and whatnot, then normaladmin could add or remove accounts, add pages and menus and basically everything not code or theme related. So it is, I believe, something like https://webflow.com/ just in mezzanine and the ability to learn django if you wish. Is there a problem with something like this? thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 5/1/2015 2:55 PM, Luke Plant wrote: Hi Brandon, Keith, I think Keith is referring to the thread I started earlier about a service that would provide a very easy way to install Mezzanine. Like you Brandon, I'd love to be able to recommend a Django-based alternative to WordPress. It seems that there isn't a solution like this yet. There is a real question in my mind about whether non-developers can really produce good quality web sites without learning quite a bit about coding. All of the approaches I know have serious problems: 1) The WordPress approach: The biggest problem is security. WordPress themes and plugins are just PHP code. The system suffers terribly in terms of security because of that. A WordPress site inherits all of the security problems that PHP has: https://www.owasp.org/index.php/PHP_Security_Cheat_Sheet In addition, WordPress adds it's own: * 'convenient' SQL APIs that makes SQL injection vulnerabilities extremely likely. * use of PHP as template language, which makes XSS very likely, * complete lack of proper structure in request handling, which makes access permission vulnerabilities very likely. * Ability to edit the PHP templates, which means that admin access to a WordPress site (e.g. through a guessed password) immediately elevates to a remote execution vulnerability - the most serious kind. I recently evaluated the practicality of using WordPress as a cheap replacement for our current church website. I found a professional looking plugin
Re: [mezzanine-users] Some newbie questions for someone moving from WP to mezzanine
Hello, I am reading the content architecture page and I am wondering where the .py files are supposed to be saved and how they interact with the HTML pages? I generally like to type out the examples given and then break them or change them. I have no django experience, so should I go through their tutorial before going into mezzanine, or can I start with mezzanine then go into django if I wish? Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 4/28/2015 7:28 PM, Brandon Keith Biggs wrote: Hello, I think I figured out how to use the editor, you need to click on the html entry area in order to create HTML, then it makes little fields that are what you wrote. Is there a place where I can edit how that add page looks like? I would like to add a heading at either the text that says: Content: or Rich Text Area Either that, or make it so when you press tab you are put into the text editor. Currently I have to press 3 really weird key commands to move from the title to the text field. It is really not user friendly for me. (I have to press capslock+space to exit the forms area, x to move to the menu checkbox, then shift tab to get into the richtext area.) Also, is there a key command to switch to the html editor within MCE? I am having a weird problem that the insert link button is grayed out, so in order to add a link I have to go into the source and add the link. Does anyone know what may cause this? Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 4/28/2015 5:31 PM, Josh Cartmell wrote: Hi Brandon, I don't understand the first question. What was the input and what would you expect it to produce? The widget probably needs to be updated to django.forms.Textarea I had been thinking of something else when I omitted the django. previously. On Mon, Apr 27, 2015 at 7:12 PM, Brandon Keith Biggs brandonkeithbi...@gmail.com mailto:brandonkeithbi...@gmail.com wrote: Hello, 2 things: 1. setting the allowd markup to everything still produces something like h1Hello world/h1 and copying the line: RICHTEXT_WIDGET_CLASS = forms.Textarea gives the following error: ImproperlyConfigured at /admin/pages/richtextpage/9/ Could not import the value of settings.RICHTEXT_WIDGET_CLASS: forms.Textarea Request Method: GET Request URL: http://127.0.0.1:8000/admin/pages/richtextpage/9/ Django Version: 1.6.11 Exception Type: ImproperlyConfigured Exception Value: Could not import the value of settings.RICHTEXT_WIDGET_CLASS: forms.Textarea Thanks, Brandon Keith Biggs http://www.brandonkeithbiggs.com/ On 4/22/2015 4:46 PM, Josh Cartmell wrote: Hi Brandon, hopefully the following are helpful answers! 1. Title + the publishing controls are present across all things that inherit from the Displayable class where as the type of content on those various models will vary from class to class. Blog Posts have categories and content, Rich Text Pages just have content, Links have no content, etc... All the admin classes of those models inherit from Displayable so they end up all having those things grouped. Besides the technical reasons I think the consistency is useful and I find it nice to always be able to have the publishing controls right there. 2. The editor is a WYSIWYG, particularly one called TinyMCE. Here's what they have to say about accessibility, http://www.tinymce.com/wiki.php/TinyMCE3x:Accessibility, but maybe some or all of that isn't working? You can change what is used though, for example in your project's settings.py file you could put: RICHTEXT_WIDGET_CLASS = forms.Textarea Doing that should get rid of the WYSIWYG and those types of fields should just show up as normal HMTL textareas. That would affect any admin user, not just yourself. 3. There isn't anything like that built in, there might be other projects that do things like that for Django that you could integrate with Mezzanine. 4. I don't think we have considered Brython but it should be easy to integrate any front end technology you want. Right now Mezzanine ships with Twitter Bootstrap as a frontend framework and I think most people, myself included, are very happy with it. But really, Mezzanine doesn't force front end technology on you, it just default to Twitter Bootstrap and you can change that easily by changing your project's base.html Brython does look interesting though so I may have to take a look at it at some point! 5. Mezzanine does have some user account/profile support. Here are the docs, http://mezzanine.jupo.org/docs/user-accounts.html. Mezzanine doesn't have any social login support but there are quite
[mezzanine-users] using facebook comments
Hello, Is there a simple way to use FB comments as the default commenting system? I see several different systems, but not facebook. Are there advantages to using these other systems over Facebook? Using facebook, people can comment and share it on their wall, they can login to your site and you can get their info, you can put like buttons and share buttons and I think some other things. Thanks, -- Brandon Keith Biggs http://www.brandonkeithbiggs.com/ -- 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.