Re: [mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Charles Cossé
I am running 2x virtual hosts via apache/wsgi/django ... if i hide them away in venvs how do i get them back online? TIA, Charles On Wed, Sep 30, 2015 at 12:13 PM, Charles Cossé wrote: > Thank you, will try the latter after lunch. Maybe the former, too, at > this point. > -C

[mezzanine-users] Re: Help/howto: user searchable database

2015-09-30 Thread David Smith
Well by the lack of responses I guess I need to reduce/clarify my question; If you can give me a high level: This is your best direction; I can take it from there and get the grunt work done and come back with more specific questions (ala code snippets) -- I just want to make sure I've not

[mezzanine-users] Disable translations fallback

2015-09-30 Thread Ilian Iliev
I posted this originally on github as an issue, but Stephen advised that this is a better place for discussion, so here it is: Me: Currently if you setup the CMS to use multiple languages and then try to open a page that is missing translation for the current language there is automatic

Re: [mezzanine-users] Re: Help/howto: user searchable database

2015-09-30 Thread Stephen McDonald
I'd suggest going through the Django documentation from top to bottom if you haven't already. Mezzanine is just a superset of Django and everything you've asked about is broadly applicable to Django in general. On Thu, Oct 1, 2015 at 3:41 AM, David Smith wrote: > Well by

Re: [mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Eduardo Rivas
You only need to tell Apache to use the virtualenv's Python instead of the system's Python. "/usr/bin/python" becomes "/path/to/your-virtualenv/bin/python". -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and

Re: [mezzanine-users] Re: Help/howto: user searchable database

2015-09-30 Thread David Smith
Thanks, That's not a helpful response-- as I've been reading the "django documentation" for over a week already, and was never able to find *any* full site examples that were helpful for what I want, only snippets all over the place. I've moved on to drupal - *exit group* - Django by itself, and

Re: [mezzanine-users] Disable translations fallback

2015-09-30 Thread Eduardo Rivas
Well, it seems like you are looking for sites with different structures. In a 1-to-1 site, you don't want to have a page translated into one language but not into the other. For independent page trees, independent sites are better. There's also the problem of knowing what a "missing

Re: [mezzanine-users] Re: Help/howto: user searchable database

2015-09-30 Thread Stephen McDonald
On Wed, Sep 30, 2015 at 4:20 AM, David Smith wrote: > Sound familiar? This is basically the admin view of the database, with > filter filelds, I found the "list_display" "list_filter" and > "search_fields" for use with ModelAdmin very close to exactly what I need. > However,

Re: [mezzanine-users] Re: Help/howto: user searchable database

2015-09-30 Thread Ken Bolton
Hi David, The Mezzanine documentation makes it clear early that a working understanding of Django and Python will be required to get anywhere with Mezzanine. Did you do the official Django tutorial? It is world class. In fact, much of the appeal of Django, Python, and Mezzanine is the high

[mezzanine-users] OneToOneField and inline on Page model

2015-09-30 Thread Sam Kingston
Hi all, Having an issue that I can't quite figure out. I've been staring at it for so long it's very possible I've overlooked something simple so please excuse me if so! I have two models that have a relationship to `Page` - one is a typical `ForeignKey` (`Card`) and the other is a

[mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Charles Cossé
Hi, I'm trying to use django-schedular with Mezzanine but default Mezzanine installed Django-1.8.4 and pretty sure now that I need Django-1.7 for django-schedular. Not being overly guru-istic with Ubuntu, how do you force Ubuntu to use Django-1.7, and prevent Mezzanine from upgrading to 1.8?

Re: [mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Eduardo Rivas
Best way is to use a virtualenv and pin your Django version in requirements.txt. It's highly recommend you develop all python projects in separate virtual environments. This is a great guide, and also explains how to pin (freeze) requirements:

Re: [mezzanine-users] howto lock django version to 1.7 on ubuntu?

2015-09-30 Thread Charles Cossé
Thank you, will try the latter after lunch. Maybe the former, too, at this point. -C On Sep 30, 2015 12:10 PM, "Eduardo Rivas" wrote: > Best way is to use a virtualenv and pin your Django version in > requirements.txt. > > It's highly recommend you develop all python