[mezzanine-users] Re: How to hide certain specific pages from search?

2014-01-09 Thread Eduardo Rivas
I would say you should uncheck the Show in sitemap checkbox in each page and add a Disallow entry in robots.txt. Bear in mind that if any other site (or your own) links to this page, it might get crawled anyways. -- You received this message because you are subscribed to the Google Groups

[mezzanine-users] Restricting shop to active users only

2014-01-21 Thread Eduardo Rivas
Hello Mezzaniners and Cartridgers (??). I have some very specific requirements for a project I'm working in. I would like to have shop categories available to all visitors of the site (they can browse all categories and see which products are included in each, just a thumbnail and short

[mezzanine-users] Re: Restricting shop to active users only

2014-01-21 Thread Eduardo Rivas
Ok, thanks. I'll give it a shot and report back. -- 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

[mezzanine-users] Re: Looking for Developer to create a site in mezzanine based on my current site

2014-02-03 Thread Eduardo Rivas
Hmm, $20 a month for hosting seems a little expensive to me. You should take a look a Digital Ocean (VPS for $5/mo) or Webfaction (shared (managed) hosting for $9/mo). They are both great for hosting Django projects, and I'm sure others can also suggest low-priced alternatives. -- You

[mezzanine-users] Re: Mezzanine 3.0.8 released

2014-02-05 Thread Eduardo Rivas
Thanks to all contributors! Really excited to see vanilla Grappelli support. Already trying it out. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to

[mezzanine-users] Re: serve media files on my local development server

2014-02-05 Thread Eduardo Rivas
As Stephen said, it is recommended you only use STATIC_ROOT to contain files rounded up by collectstatic when deploying. The directory /static is listed in .gitignore and .hgignore for this same reason. Just in case someone is wondering what to do with files that don't belong to any app, this

[mezzanine-users] Why is PIL/Pillow not a dependency?

2014-02-12 Thread Eduardo Rivas
Hi everyone. Every time I try to create a new project with some initial data I run: python manage.py createdb --noinput Which fails with the following error: django.core.exceptions.ImproperlyConfigured: Neither Pillow nor PIL could be imported: No module named Image That is very explicit and

[mezzanine-users] Re: Restricting shop to active users only

2014-03-03 Thread Eduardo Rivas
I investigated a little and apparently the login decorator is for views, not url patterns. I ended up using this little middlewarehttps://gist.github.com/jerivas/9335869that lets me conveniently define a list of url patterns for which login is required. Related question: is it possible to

[mezzanine-users] Re: Restricting shop to active users only

2014-03-03 Thread Eduardo Rivas
Excellent! I think that's what Steve meant from the beginning. Regarding the sitemap, I was overriding Mezzanine's sitemap and returning a Product-free list, but signals seem like the right way to go here. Thanks a lot. -- You received this message because you are subscribed to the Google

[mezzanine-users] Re: Admin navigation

2014-03-04 Thread Eduardo Rivas
Wow guys, excellent work you've done here! It's amazing how different the admin looks with this tweaks. Now, I have a few questions: 1. Would you be interested in using an alternate theme for TinyMCE? I've been using this for several projects:

[mezzanine-users] Re: Admin navigation

2014-03-05 Thread Eduardo Rivas
Sorry about the noise. I just noticed it depends on a setting. -- 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.

[mezzanine-users] Re: Best way to show user-specific info?

2014-03-07 Thread Eduardo Rivas
Hi Niels. Quick question: have you given User Profiles a shot? You need to do two things: tell Mezzanine which model you want use as user profile with settings.AUTH_PROFILE_MODULE = path.to.your.model and secondly, enable user profiles with settings.ACCOUNTS_PROFILE_VIEWS_ENABLED = True. This

Re: [mezzanine-users] Re: step by step mezzanine deployment

2014-03-08 Thread Eduardo Rivas
That's great, Ken! Maybe you can share some of your tasks with Federico? I've gone down the fixture path, and the two things I needed to get it working were: 1. Always use the --natural flag. 2. Don't do a huge, all-apps dump; rather specify the apps you wish to dump to the fixture. Off

Re: [mezzanine-users] Cartridge: search by product SKU

2014-03-10 Thread Eduardo Rivas
Awesome! One more reason to look forward to the next Mezzanine release :-) -- 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] Re: Cartridge: search by product SKU

2014-03-11 Thread Eduardo Rivas
Ok, github is back to normal. And yes, we can now search through relations! However, the problem I'm seeing is that now searching by name returns one search result per variation. For example, searching for the name of a product with four variations returns four identical search results. Can you

[mezzanine-users] Re: Cartridge: search by product SKU

2014-03-11 Thread Eduardo Rivas
Ha! When I saw the duplicate results I thought it would require some horrible queryset mess to fix it, turns out databases and Django do it out of the box. Thanks a lot Steve, Mezzanine is not only a great CMS but also an incredible learning platform. -- You received this message because you

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

[mezzanine-users] Re: Marking Django Application Pages as Active in the Navigation

2014-04-21 Thread Eduardo Rivas
The blog app defines it's own url patterns. For example, the list view (showing all blog posts) is mapped to /blog by default. The trick is in creating a page in the admin with the exact same slug. You have to do this to get Mezzanine to insert the page variable into your context. In the end,

[mezzanine-users] Task List: Test that need to be written

2014-04-22 Thread Eduardo Rivas
Hello everyone. I've setup a task listhttps://github.com/stephenmcd/mezzanine/issues/1012of tests that need to be written for Mezzanine. If you can think of any feature that needs to be protected from unintentional breaking, please comment on the issue (or here) to have it added to the list,

[mezzanine-users] Re: Something wrong with default theme?

2014-04-23 Thread Eduardo Rivas
Hi Niels. Could you please elaborate on what you mean with the header is hidden? Mezzanine uses Bootstrap 3 to theme the frontend, and is configured to collapse the navigation on small screens, creating a new button where you can toggle the navigation. Additionally, the site tagline (the

[mezzanine-users] Re: Something wrong with default theme?

2014-04-24 Thread Eduardo Rivas
Well, I wouldn't call it a bug, it is just a limitation of Bootstrap not knowing how wide your navbar needs to be. From http://getbootstrap.com/components/#navbar: Since Bootstrap doesn't know how much space the content in your navbar needs, you might run into issues with content wrapping

[mezzanine-users] Re: modeltranslations - round 2

2014-04-29 Thread Eduardo Rivas
I've really been looking forward to this one. Hopefully I will have time to try it out with the development version of some sites that currently use alternative translation approaches. Are we going to translate urls at all? Django gives two possible choices: mark the url patterns for

[mezzanine-users] Cartridge: All pages are available as Product Categories

2014-05-08 Thread Eduardo Rivas
Hello! I'm developing a site with Cartridge and I've noticed that all Pages in my page tree appear as valid categories for a Product. See the attached screenshot. The expected outcome is that only those Pages that start with Collections should be selectable as Categories for a Product (as they

[mezzanine-users] Re: Cartridge: All pages are available as Product Categories

2014-05-09 Thread Eduardo Rivas
I checked out the DB and the content_model of those pages is not category, but rather richtextpage, form or link, as expected. However, the table shop_category did have some demo categories with ids matching those of the pages in question. I will test later if deleting Product Categories from

[mezzanine-users] Cartridge: Applying sales to a Product Category

2014-05-09 Thread Eduardo Rivas
As I understand, Sales can be applied either to individual Products, or to whole Categories. However, there's something about Category-wide Sales that confuses me. If you create a Sale from the Sales admin and apply it to a Category, the changes are ignored until you go to the Page admin and

[mezzanine-users] Re: modeltranslations - round 2

2014-05-12 Thread Eduardo Rivas
Ok, I finally got some time to try this out. I've never used Model Transaltion, so maybe I'm making some noob mistake. This is what I've done: mkvirtualenv modeltranslation git clone https://github.com/Kniyl/mezzanine.git mt-mezzanine cd mt-mezzanine pip install -e . pip install south

[mezzanine-users] Re: modeltranslations - round 2

2014-05-12 Thread Eduardo Rivas
Just before running createdb, one has to cd mt_test, of course. -- 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.

[mezzanine-users] Re: modeltranslations - round 2

2014-05-12 Thread Eduardo Rivas
Yep, that's it. Removing debug toolbar fixes it. I'll continue testing and reporting back anything I find. Thanks a lot for this! -- 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

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-13 Thread Eduardo Rivas
Sorry, I didn't understand your explanation on point 1. Could you elaborate a little bit more? The issue I was describing is that the Submit button is not showing the active language text in the form, but rather the default language value. About number 2, I actually had this working a while

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-14 Thread Eduardo Rivas
Aaaahh, I get what you mean for #1, and yes, changing the value in non-default languages to something other than the direct translation of Submit fixes it. #2 and #4 look like they've been fixed, thanks a lot. #5 is looking pretty great. However, I don't thinks SHOP_CURRENCY_LOCALE should be

[mezzanine-users] Re: editable.css not styling on production server

2014-05-18 Thread Eduardo Rivas
Have you collected your static files? Make sure you run collectstatic on every deployment, and all Mezzanine resources will be made available for production. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and

[mezzanine-users] Re: editable.css not styling on production server

2014-05-18 Thread Eduardo Rivas
Actually, the CACHE directory and the files with random letters and numbers are created by Django Compressor (via the {% compress %} template tag). It bundles all your static assets and serves them in a single file to avoid multiple HTTP requests. You might want to disable it to get your files

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-21 Thread Eduardo Rivas
Great! Hopefully your commits will be merged soon and I'll work over that. -- 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] Re: modeltranslations - round 2

2014-05-23 Thread Eduardo Rivas
I should have read the whole Stack Overflow thread! It looks like Django has built in ways of doing it. https://docs.djangoproject.com/en/1.6/topics/testing/tools/#overriding-settings -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To

Re: [mezzanine-users] Re: modeltranslations - round 2

2014-05-23 Thread Eduardo Rivas
I think you can access the settings module like every other place in the code base. This example recommends the setup and teardown methods for modifying settings in unit tests: http://stackoverflow.com/a/913596. Hope that helps :-) -- You received this message because you are subscribed to

[mezzanine-users] Re: modeltranslations - round 2

2014-06-06 Thread Eduardo Rivas
Hey everybody. I've been trying out Mathias master branch and everything is working smoothly. As I said, I'm also exploring ways to enable toggling translation fields in the Admin. Turns out Model Translation (MT) provides two admin classes (docs

[mezzanine-users] Re: modeltranslations - round 2

2014-06-06 Thread Eduardo Rivas
Odd, I just created a project without issue. This is my venv: Django==1.6.5 Mezzanine==3.1.3 #From Mathias' branch Pillow==2.4.0 South==0.8.4 argparse==1.2.1 bleach==1.4 django-debug-toolbar==1.2.1 django-modeltranslation==0.7.3 filebrowser-safe==0.3.3 future==0.9.0 grappelli-safe==0.3.10

[mezzanine-users] Re: Mezzanine 3.1.5 and Cartridge 0.9.4 released

2014-06-09 Thread Eduardo Rivas
Awesome news, and really looking forward for 3.2! I have some questions regarding thumbnails in RichText fields. What size will they be? Can they be configured in some way by content editors, or developers? I made a quick search on the docs (which already report as 3.1.5) for thumbnail and

[mezzanine-users] Re: Fabric file and related resources for deploying Mezzanine to Webfaction

2014-06-10 Thread Eduardo Rivas
Thanks for the interest guys. Ibn, I recommend you take a look at the Webfaction docs and read the fabfile to have an idea of what it does. Some knowledge of Postgres and Git will also be useful. Finally, when you deploy, keep in mind many settings have default values in fabsettings.py, so

[mezzanine-users] Re: Fabric file and related resources for deploying Mezzanine to Webfaction

2014-06-12 Thread Eduardo Rivas
Well, a Webfaction account is essentially a VPS with limited permissions and a bunch of stuff preinstalled, so what you can do with it depends on how well you use your RAM, bandwidth and disk space. A good thing about Webfaction is that the database server (Postrges or MySQL) and Nginx server

Re: [mezzanine-users] Re: Fabric file and related resources for deploying Mezzanine to Webfaction

2014-06-17 Thread Eduardo Rivas
I couldn't tell. Webfaction is the only hosting provider I've used so far. -- 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] Re: Mezzanine 3.1.6 released

2014-07-07 Thread Eduardo Rivas
Just saw 3.1.7 got pushed to PiPy. Any news on that? :) -- 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

Re: [mezzanine-users] Re: Mezzanine 3.1.6 released

2014-07-09 Thread Eduardo Rivas
Great, thank you. -- 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

[mezzanine-users] Re: Django Compressor does not minify files

2014-07-16 Thread Eduardo Rivas
Hey Luigi. By default, Django Compressor will simply concatenate (join) your static files. This is good because it will save HTTP requests to your site, and your visitors will get all your static files in one request (instead of many). If you also want to minify your files (remove whitespace

[mezzanine-users] Re: Email confirmation for admin-created users?

2014-07-16 Thread Eduardo Rivas
Hi Matt. Mezzanine supports user access control in a self-service configuration that might be useful for you. You can have your users request an account (fill in their details and password), but they will not be granted access to the site (they can't log in) until an authorized member clears

[mezzanine-users] Re: Email confirmation for admin-created users?

2014-07-16 Thread Eduardo Rivas
Also, my explanation is really just a rephrasing of what you can find in the official docs: http://mezzanine.jupo.org/docs/user-accounts.html#account-approval. In that page you'll also find info about the more traditional Click here to verify your account approach, and details on Mezzanine's

[mezzanine-users] Re: modeltranslations - round 2

2014-07-23 Thread Eduardo Rivas
Hi Paul. It seems like you sorted out the issue you were linking too. Are there any others? I finally found some time to come back to this, and noticed the front-end language selector is gone. The problem is in the condition for rendering the template

[mezzanine-users] Re: modeltranslations - round 2

2014-07-23 Thread Eduardo Rivas
Yeah, I've got the pull request ready, but the dropdown on which you select the repo you want to compare your changes with won't list Mathias' fork of Mezzanine. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group

[mezzanine-users] Re: Let's translate the official docs!

2014-07-29 Thread Eduardo Rivas
I don't have experience with Sphinx, but I found this http://sphinx-doc.org/intl.html. Apparently you can generate translation catalogs in gettext, so we could use Transifex as we already do with Mezzanine. Here is a blogpost

Re: [mezzanine-users] Re: Let's translate the official docs!

2014-08-07 Thread Eduardo Rivas
Thanks a lot Steve for setting everything up! I'll give it a shot as soon as I can. -- 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] Re: deployment issue --- gunicorn

2014-08-14 Thread Eduardo Rivas
Hello everyone. I created a fabfile that deploys Mezzanine sites to Webfaction. It is not a drop-in replacement for the one provided with Mezzanine (I'm planning on releasing one since I've moved to hosting my sites on a VPS). Anyways, the point is that I've managed to drop gunicorn_django

Re: [mezzanine-users] Re: Let's translate the official docs!

2014-08-22 Thread Eduardo Rivas
By the way, the page I've translated so far is Admin Customization. 2014-08-21 4:44 GMT-06:00 Stephen McDonald st...@jupo.org: Awesome! I'll try and work out how to build html from that shortly. On Thu, Aug 21, 2014 at 9:47 AM, Eduardo Rivas jerivasmel...@gmail.com wrote: Ok, so I got

[mezzanine-users] Re: Django 1.7 support

2014-09-03 Thread Eduardo Rivas
Hey, so Django 1.7 has just been officially released. From what I gather from the GitHub issue linked by Steve, all works fine in Mezzanine. I wanted to ask how are migrations going to work now. Since we are supporting Django 1.5 and 1.6, does that mean we will support both South and the new

[mezzanine-users] Re: Django 1.7 support

2014-09-03 Thread Eduardo Rivas
Thanks for your answer, Thomas. I'll try to migrate some of my sites to 1.7 and report back how it goes. -- 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] Re: Django 1.7 support

2014-09-21 Thread Eduardo Rivas
Hey Stephen, I tried the latest version of Mezzanine with one of my sites and all went smoothly. It just required following Django's instructions https://docs.djangoproject.com/en/1.7/topics/migrations/#libraries-third-party-apps for the new built-in migrations. After that, the database was up

[mezzanine-users] Re: Django 1.7 support

2014-09-21 Thread Eduardo Rivas
Just to clarify, I followed Django's instructions in my own project, didn't have to touch Mezzanine at all. -- 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] Re: Can I use django-bootstrap-themes in Mezzanine?

2014-09-23 Thread Eduardo Rivas
At the end of the day, theming a Mezzanine/Django site is a matter of loading the correct scripts and stylesheets. It seems like django-bootstrap-themes uses some custom template tags to do so. The demo website (http://mezzanine.jupo.org/blog/) used to have a theme-switching widget, perhaps

Re: [mezzanine-users] Re: Django 1.7 support

2014-10-08 Thread Eduardo Rivas
Currently only the development version. You'll need to clone from the repo to get Django 1.7 support. -- 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] Re: About deployment with fabric

2014-12-07 Thread Eduardo Rivas
I did a quick test and commenting line 2 works alright. -- 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

[mezzanine-users] Re: Alternate Fabfile for deploying to VPS

2015-02-04 Thread Eduardo Rivas
Hey Tomlin, thanks for your kind words, it's great to see the project being helpful. I've made important progress refactoring Mezzanine's default fabfile, I hope it'll be ready soon. I also have plans to make a screencast explaining the deployment of Mezzanine, as it is one of the common

Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS

2015-02-11 Thread Eduardo Rivas
Hey Josh, thanks a lot, but I think I'll just build on top of the mercurial code present in the current fabfile. -- 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

[mezzanine-users] Re: Alternate Fabfile for deploying to VPS

2015-02-16 Thread Eduardo Rivas
Ok, PR sent :) https://github.com/stephenmcd/mezzanine/pull/1216 -- 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] Alternate Fabfile for deploying to VPS

2015-02-01 Thread Eduardo Rivas
Got it. I'll get to it soon. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit

Re: [mezzanine-users] Re: Ensure unqiue title field on model inherited from Displayable

2015-02-01 Thread Eduardo Rivas
Hi Graham. Why do you say this needs to happen before pre-save? The idea of that signal is that it let's you do anything you wish before inserting data into the DB. If you found out that the Title is not unique, you can raise the appropriate errors and abort the save until the user corrects the

[mezzanine-users] Re: Adding forms to admin

2015-02-09 Thread Eduardo Rivas
It looks to me like you could use some sort of user profile. Mezzanine (Django, really) supports associating a profile model to each User object. In this profile model you can define as many fields of any kind as you like (as you'd do with any model). Mezzanine's docs contain a useful overview

Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS

2015-02-09 Thread Eduardo Rivas
Gotcha. Well, guess we better support hg for completeness sake (and it'll be useful for me to learn). The rollback task will work as usual for VCS users, but I don't really know what to do in case of rsync. Ideas: * No rollback support if DEPLOY_METHOD = rsync * Gzip the whole project

[mezzanine-users] Re: Alternate Fabfile for deploying to VPS

2015-02-09 Thread Eduardo Rivas
Hey everybody, quick question: is mercurial support in the fabfile very important? The new fabfile uses direct pushes to the server instead of pulls from external sites, and this is something I've only tested with git, and I was wondering if we can drop mercurial support on the fabfile

[mezzanine-users] Re: Multiple Blogs

2015-03-02 Thread Eduardo Rivas
Hello Dennis. I actually needed to do this for a project a few years ago. As far a I know, Mezzanine doesn't support multiple blogs out of the box. What I did was create a Blog model, which simply had a slug and title, and then add it as FK to the standard BlogPost and BlogCategory models.

Re: [mezzanine-users] Re: Unable to access blog posts from admin interface

2015-03-05 Thread Eduardo Rivas
Glad you figured it out. Just be careful, as it is strongly discouraged that you enable DEBUG in production as it exposes many sensitive information of your server setup. See if you can get the logging or email report approaches working instead. -- You received this message because you are

[mezzanine-users] Re: Unable to access blog posts from admin interface

2015-03-04 Thread Eduardo Rivas
Hey Lou. Are you running the development server or a production installation? If you're in your local development machine, make sure DEBUG = True in your local_settings.py module to get the full traceback in the development server. If you're in production, see if you've configured any logging

[mezzanine-users] Re: Alternate Fabfile for deploying to VPS

2015-03-04 Thread Eduardo Rivas
Thanks to all for your kind words and support through-out, it's one of the reasons that make this community so special. I just want to point out that the PR included a mini-tutorial in the Deployment section of the docs (see here

Re: [mezzanine-users] Re: Alternate Fabfile for deploying to VPS

2015-03-05 Thread Eduardo Rivas
Thanks, Federico. I'm really interested in getting feedback on the deployment process and the new documentation, so please share your experience when ready :) -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and

[mezzanine-users] Re: using facebook comments

2015-04-27 Thread Eduardo Rivas
It depends on the level of integration you want to achieve. Disqus supports Facebook login, so if you're interested in the comment part only, I recommend that. This option only requires filling up the correct settings in the admin (as far as I remember). You can also insert Facebook's

[mezzanine-users] Re: I can not add more variations such products.

2015-04-27 Thread Eduardo Rivas
Add the extra variations to settings.OPTION_TYPE_CHOICES (the default settings.py has it commented out, so it should be easy to find). Then make and run the migrations (South or built-in, depending on your Django version). The new column(s) will be added to you DB and the appropiate changes

[mezzanine-users] Re: Confused by commands

2015-04-30 Thread Eduardo Rivas
Hi! The createdb command is only for initially populating the database and doing other bootstrapping required on first run. The other commands you see there are required for subsequent deployments, they do the following: - collectstatic: Gets all static resources from every installed app into a

Re: [mezzanine-users] Re: new release?

2015-04-29 Thread Eduardo Rivas
Also, you can take a look at the issues marked as release blocker in the issue tracker to get a sense of what is actually keeping the next release from happening. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group

[mezzanine-users] Re: Mezzanine 3.1.10: Add supported languages in settings.py

2015-04-29 Thread Eduardo Rivas
Try adding this to your settings: USE_L10N = True. -- 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

Re: [mezzanine-users] Error with spanish characters

2015-05-14 Thread Eduardo Rivas
Hi Jonathan. Are you using the Django development server, or a standalone application server (gunicorn, uwsgi, Apache, etc)? I've encountered similar errors when running outside the development server, and the fix was to enable the appropriate locales in the server configuration. -- You

Re: [mezzanine-users] Error with spanish characters

2015-05-14 Thread Eduardo Rivas
Ah, ok. See if your OS level and database locales include Spanish. Also, create a blog post with special characters in the Mezzanine admin to see if it also raises the exception. Perhaps it is an issue only with imported posts. -- You received this message because you are subscribed to the

Re: [mezzanine-users] Domains without www not working after deploy.

2015-05-18 Thread Eduardo Rivas
Hello, taedori. Do you have any more details one what exactly is failing? What do you see when you visit the site without www? From what you've explained, it sounds like everything is setup correctly. Are you sure your DNS settings point both domain variants to the server were you're

Re: [mezzanine-users] Mezzanine multilanguage feature how to get different languages into index.html

2015-05-18 Thread Eduardo Rivas
Hi Gerhard. Here's what you need to do to: 1. Create a Page in the admin and manually set the slug to /. 2. In urls.py, comment out line 39. 3. Then, un-comment line 54. Basically you want to tell Mezzanine to use the Page with the slug / as the homepage, instead of directly rendering the

Re: [mezzanine-users] Nested inline admins

2015-05-13 Thread Eduardo Rivas
Hi Tom. For your particular requirements, I would say no, Mezzanine lacks this feature. There are some projects out there that are meant to do it for vanilla Django https://github.com/s-block/django-nested-inline and for Grappelli https://github.com/datahub/grappelli-nested-inlines. In the

[mezzanine-users] Re: Upgrading to the latest version of Bootstrap - 3.3.4

2015-04-14 Thread Eduardo Rivas
Yep, Josh's description is spot-on. Just bear in mind that the version of jQuery currently being shipped with Mezzanine is not supported by the latest version of Bootstrap. This is discussed here:

[mezzanine-users] Re: Testing of new release - first 'result'?

2015-04-05 Thread Eduardo Rivas
Hmm, weird, as I'm testing out master with Django 1.7.7, and createdb runs okay without the settings flag (only getting the test runner warning). However, createdb fails with Django 1.8, but others have noted that it has to do with some changes in the management command API. May be worth to

[mezzanine-users] Re: new release?

2015-04-05 Thread Eduardo Rivas
Here's my take on the createdb issue. The version checking feels dirty, but it works. https://github.com/stephenmcd/mezzanine/pull/1247 -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this group and stop receiving emails

[mezzanine-users] Re: Testing an existing app in the new (Django 1.7 / 1.8 / Mezzanine environment) - seeking guidance

2015-04-07 Thread Eduardo Rivas
I think you meant to post to this thread instead of the other, as your latest question has to do with your custom app. Are you using migrations in soulapp2? As the link that appears in the Traceback says: Be aware, however, that unmigrated apps cannot depend on migrated apps.

[mezzanine-users] Re: Beginning of a new path

2015-04-10 Thread Eduardo Rivas
I join everybody else and send you a big thanks for your role in this community, Josh. To me, Mezzanine is not only an outstanding piece of software, but also a community worth imitating. Have a great time in the new job :) -- You received this message because you are subscribed to the Google

Re: [mezzanine-users] Changing default admin url doesn't work on fab deploy

2015-06-09 Thread Eduardo Rivas
Hey. Can you try running fab restart and see if it fixes it? -- 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

Re: [mezzanine-users] Suggestions for PyCon talk on Mezzanine

2015-06-03 Thread Eduardo Rivas
Congrats, Steve! How about you speak about Cartridge this time, or Drum? Or perhaps going a little more meta, about what it is to see your project grow into something used around the world and that has spawned a whole ecosystem. Could be a great talk for anyone involved in Python and open

Re: [mezzanine-users] Re: Trouble with django version

2015-06-20 Thread Eduardo Rivas
Hmm, I remember trying both before without problem. Off the top of my head (and take this with a grain of salt), install mezzanine first from git on the virtual env, but make sure it is recognized as 3.1.10. Then install cartridge from git. It will check in the virtual env that mezzanine 3.1.10 is

Re: [mezzanine-users] problems with unicode

2015-06-20 Thread Eduardo Rivas
Also, bear in mind that you need sudo privileges in your server to use Mezzanine's included fabfile (a VPS gives you that, hence the recommendation to use Digital Ocean). Deploying to shared hosting environments is another deal. -- You received this message because you are subscribed to the

Re: [mezzanine-users] problems with unicode

2015-06-20 Thread Eduardo Rivas
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.

[mezzanine-users] Anyone attending DjangoCon 2015 (US)?

2015-06-20 Thread Eduardo Rivas
Hey everybody! I'm planning to attend DjangCon 2015 (US), and wanted to know if any fellow Mezzanine developers are coming too. Maybe we can organize a mini-meetup in there! :D I'm also interested in finding somebody willing to share a room. The organizers have negotiated a special price in a

Re: [mezzanine-users] Enable Mezzanine multilingual site support

2015-06-11 Thread Eduardo Rivas
Yep, only available in the development branch (which is very stable now). Documentation here: https://github.com/stephenmcd/mezzanine/blob/master/docs/multi-lingual-sites.rst. -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe

Re: [mezzanine-users] Slow page load of Python 3 Mezzanine site on Webfaction

2015-06-17 Thread Eduardo Rivas
Have you tried deploying the same site using Python 2? It might just be a matter of insufficient resources for what you're trying to do. You can also try changing your application server from Apache to Gunicorn or uwsgi, or just enable more workers for your site. Also, make sure you're using the

Re: [mezzanine-users] Adding a third-party app to a multilingual site using modeltranslations

2015-06-12 Thread Eduardo Rivas
Hey Lee. Their Readme says it's compatible up to Django 1.5. You're using 1.8 or 1.7. Could you verify against a vanilla Django project to see if you get the same error? https://github.com/dokterbob/django-newsletter/blob/master/README.rst#compatibility -- You received this message because you

Re: [mezzanine-users] Templating tags

2015-07-03 Thread Eduardo Rivas
How many verbatim tags are you using? You should wrap the whole block of Angular template tags in a single set of verbatim tags to turn off Django template rendering for that part only. Also, have you tried out django-angular to integrate both frameworks? It provides a bunch of utilities that

Re: [mezzanine-users] Templating tags

2015-07-03 Thread Eduardo Rivas
If you're already defining a verbatim block there's no need to wrap stuff in verbatim tags inside it. | {%verbatim myblock%} {{some text}} {%endverbatim myblock%} | -- You received this message because you are subscribed to the Google Groups Mezzanine Users group. To unsubscribe from this

Re: [mezzanine-users] a page summary with a link to the whole page

2015-05-24 Thread Eduardo Rivas
Hi Jean. Yes, you can retrieve content from your custom pages too. I see two possibilities: - If your desired page structure allows it, you can create the pages from which you want to pull the content as children of the page that will show the snippets. This way the child pages are

Re: [mezzanine-users] Getting posts for specific category

2015-05-25 Thread Eduardo Rivas
Mezzanine's blog comes with a template tag that can pull recent posts into your template context, optionally filtering by category. Documentation here: http://mezzanine.jupo.org/docs/packages.html?highlight=recent_posts#mezzanine.blog.templatetags.blog_tags.blog_recent_posts -- You received

  1   2   3   4   >