Re: [mezzanine-users] Cannot install Drum successfully

2016-05-27 Thread Ryne Everett
#x27;, > 'DIRS': > ('/home/xuwen/workspaces/python/bbs/xc_bbs/templates',), > 'OPTIONS': {'builtins': ['mezzanine.template.loader_tags'], > 'context_processors': > ('d

Re: [mezzanine-users] Cannot install Drum successfully

2016-05-27 Thread Ryne Everett
that matter? Should I install a lower Django version? > > 在 2016年5月28日星期六 UTC+8上午10:10:39,Ryne Everett写道: >> >> Do you have django-1.10 installed per chance? Mezzanine doesn't support >> 1.10 yet. >> >> On Fri, May 27, 2016 at 9:50 PM, Xuwen Fang w

Re: [mezzanine-users] Cannot install Drum successfully

2016-05-27 Thread Ryne Everett
Do you have django-1.10 installed per chance? Mezzanine doesn't support 1.10 yet. On Fri, May 27, 2016 at 9:50 PM, Xuwen Fang wrote: > Hello. > I want to install a Drum instance and follow the instructions on > https://github.com/stephenmcd/drum > And after "python manage.py createdb --noinput",

Re: [mezzanine-users] Hide Price from Mezzanine Cartridge

2016-05-21 Thread Ryne Everett
Sounds like you've already done the more difficult part. The best way I've found to change those forms is by overriding the view in urls.py and modifying the forms. Here's an example of how I conditionally hide the quantity fields in both the product and cart views: https://github.com/ryneeverett/

Re: [mezzanine-users] MetaData.description_from_content

2016-05-16 Thread Ryne Everett
> > description = content[:max_char_count] > > Isn't something like this viable? I don't see how cutting off mid-word, or even mid-sentence could be an improvement. But maybe capturing every sentence within a character limit with something like: description = re.sub(r"[!?.].*$", '', content[:max

Re: [mezzanine-users] MetaData.description_from_content

2016-05-16 Thread Ryne Everett
> > Maybe a char count, or word count? > What happens when the first sentence is too small? Use the second sentence? My experience is that it’s rather annoying to manually set the description > - which you have to do every time your post begins with a short sentence, > since the generated descrip

Re: [mezzanine-users] Re: Cartridge Admin Questions

2016-05-11 Thread Ryne Everett
t be another reason but its also a limitation of Django > Inlines. Also there is a way to change this functional but can cause other > issues. > 3. This is a tough one as we wouldn't want the Unit Price to be required, > as I have had clients add products but not want them available for s

[mezzanine-users] Cartridge Admin Questions

2016-05-11 Thread Ryne Everett
The following observations and screenshots are from a fresh cartridge 0.11 project I just made. 1. Why are sku fields editable? Cartridge uses them essentially as foreign key's. Is there any use case for editing a sku from the admin? Seems like a user could really screw things up with no

[mezzanine-users] Introducing Cartridge Downloads

2016-05-10 Thread Ryne Everett
I wrote a reusable app adding digital product support to Cartridge: https://github.com/ryneeverett/cartridge-downloads. I initially implemented a `DownloadProduct` as a subclass of `Product` using a custom products branch of Cartridge ( https://github.com/stephenmcd/cartridge/pull/293), but it did

Re: [mezzanine-users] Re: cartridge_braintree released with v.zero and PayPal support

2016-04-24 Thread Ryne Everett
Oh nevermind, I guess it would be quite a bit of effort to rewrite them to interact with the services on the client side and maybe not realistic if their library's don't support that. On Sun, Apr 24, 2016 at 6:00 PM, Ryne Everett wrote: > I finally got around to looking at this a

Re: [mezzanine-users] Re: cartridge_braintree released with v.zero and PayPal support

2016-04-24 Thread Ryne Everett
I finally got around to looking at this and I must say it looks pretty sweet. Would it make sense to contribute your OrderForm improvements to upstream? The improvements seem like they'd be applicable to any payment processor. On Mon, Jan 25, 2016 at 8:24 PM, henri wrote: > Today I released an

Re: [mezzanine-users] Re: Cartridge with Stripe and Zebra is swallowing errors?

2016-04-13 Thread Ryne Everett
I had the exact same thoughts until I found out that there is built-in stripe support. It hasn't made a docs release yet, but here's my pr documenting it: https://github.com/stephenmcd/cartridge/pull/284. On Wed, Apr 13, 2016 at 2:29 PM, Geoffrey Eisenbarth < geoffrey.eisenba...@gmail.com> wrote:

Re: [mezzanine-users] No Metadata editing enabled in admin, no fields visible

2016-03-29 Thread Ryne Everett
You might look in the developer console for errors. On Tue, Mar 29, 2016 at 6:12 AM, Iain Mac Donald wrote: > On Tue, 29 Mar 2016 03:00:27 -0700 (PDT) > byezy wrote: > > > doesn't work. any other thoughts? > > *I think* I had a similar problem a while back but I didn't make a > note. From memor

Re: [mezzanine-users] No Metadata editing enabled in admin, no fields visible

2016-03-25 Thread Ryne Everett
I think it is "folded" by default and clicking the header bar expands it. On Tue, Mar 22, 2016 at 9:30 PM, byezy wrote: > Hi, > > I have just installed the latest Mezzanine and am learning my way around. > Total noob. > > When logged in as an administrator if I create or edit a page, I do not >

Re: [mezzanine-users] Re: Require.js integration

2016-03-14 Thread Ryne Everett
> > I'm also interested in a more modern admin UI. However, for the reasons > outlined in this post, it will almost certainly never make it into the > official mezzanine package, so its best to keep that in mind. > Nice. I hadn't seen that post before. But I'm not sure if it's entirely accurate a

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-13 Thread Ryne Everett
as just changing the names of these projects >> would go a LONG way here. Mezzanine-filebrowser + mezzanine-admin sounds >> good to me and would add tons of clarity to the dependency chain. >> >> >> On Saturday, March 12, 2016 at 8:55:17 PM UTC-6, Ryne Everett

Re: [mezzanine-users] How to use wildcard solution to display content

2016-03-13 Thread Ryne Everett
I think you need to do some url rewriting outside of django. I haven't looked at this solution very closely but maybe it will give you some ideas: http://stackoverflow.com/questions/29938338/django-multi-tenancy. On Sun, Mar 13, 2016 at 5:06 AM, wh4n wrote: > Hello guys, > > I have a problem I d

Re: [mezzanine-users] Mezzanine look and feel not rendering when Debug=False

2016-03-13 Thread Ryne Everett
http://mezzanine.jupo.org/docs/frequently-asked-questions.html#static-files On Sun, Mar 13, 2016 at 4:30 AM, Venkateswararao Thota < thota.v@gmail.com> wrote: > Looks like the static contents not loading when Debug=False, Any > suggestions? > > -- > You received this message because you are s

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-12 Thread Ryne Everett
> > I'm all for bringing these projects into the code base if this is the > case. (says the guy w/ zero commits/PRs) I think that would have alleviated > a very significant part of my confusion and you certainly wouldn't get > people like me asking this question in 20 different ways. That's a hea

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-12 Thread Ryne Everett
the original {% project %} becomes a > feasibly stable dependency target. with a line incorporating that canonical FAQ link. On Sat, Mar 12, 2016 at 8:50 PM, Ryne Everett wrote: > I was about to suggest adding that to the FAQ but then I realized it's > already there. > http://

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-12 Thread Ryne Everett
> >>>>> I'll get back to you with some features, as for specific rasons there >>>>> are some pain points in integrating with django storages/s3boto... which >>>>> would have been alleviated in the new grapelli version. The new >>>

Re: [mezzanine-users] Re: Mezzanine + Grapelli?

2016-03-12 Thread Ryne Everett
> > I'm pretty set on figuring out a way to leverage the new grapelli Are there specific features you want? "Newer is better" isn't going to get much traction around here, but if you can point to advantages that cannot be realistically achieved in grapelli-safe that might be compelling. At any r

Re: [mezzanine-users] Re: mezzanine not running in production

2016-03-11 Thread Ryne Everett
I assume he's using the deployment code that ships with mezzanine. I don't use it myself but issues with it are definitely fair game for the list. On Fri, Mar 11, 2016 at 12:50 PM, Derek Adair wrote: > Sounds like you have issue's with deployment, not mezzanine. > > > On Tuesday, March 8, 2016 a

Re: [mezzanine-users] TinyMCE and RichTextFiltering

2016-03-09 Thread Ryne Everett
Not exactly sure what you're asking here, but you can add styles to the RICHTEXT_ALLOWED_STYLES setting. I don't really consider this a *safety* feature, but it is somewhat helpful to be able to limit how much users can scr

Re: [mezzanine-users] Django 1.9.2 and Mezzanine 4.1.0 issue

2016-03-03 Thread Ryne Everett
> > Before doing anything, discuss it on the mezzanine-users mailing list >> first. > > Perhaps I'm wrong, but my interpretation is that this is to save contributors effort on patches that will not be accepted, not to reduce the number of pull requests. On Thu, Mar 3, 2016 at 10:18 AM, wrote: >

Re: [mezzanine-users] Re: User permissions ?

2016-03-02 Thread Ryne Everett
2, 2016 at 11:57:43 AM UTC-5, Ryne Everett wrote: >> >> There was an issue with this a while back >> <https://groups.google.com/d/msg/mezzanine-users/RSoPDeDrnaw/kFnyRZ9HCAAJ> >> that turned out to be related to the duplicate inlines issues >> <https:/

[mezzanine-users] Re: User permissions ?

2016-03-02 Thread Ryne Everett
There was an issue with this a while back that turned out to be related to the duplicate inlines issues , which should be fixed in recent releases. What mezzanine vers

Re: [mezzanine-users] Re: Integrating Mezzanine to an existing Django Project

2016-02-24 Thread Ryne Everett
stackoverflow.com/questions/15667578/how-do-i-install-mezzanine-as-a-django-app > > pp > > > > On Wed, Feb 24, 2016 at 1:53 PM, Ryne Everett > wrote: > >> Did you include mezzanine.urls? >> >> On Wed, Feb 24, 2016 at 6:50 PM, Ken Bolton wrote: >> &g

Re: [mezzanine-users] Re: Integrating Mezzanine to an existing Django Project

2016-02-24 Thread Ryne Everett
;>>>>> just >>>>>>> with a different look to it. All your admin functionality that you >>>>>>> supposedly want to put in the "Django" admin should Just Work in the >>>>>>> "Mezzanine" admin. &

Re: [mezzanine-users] Re: Integrating Mezzanine to an existing Django Project

2016-02-24 Thread Ryne Everett
> > Did you make it work with both admins - original Django admin and the CMS > admin? If so, how? AFAIK, nobody does this. On Wed, Feb 24, 2016 at 4:44 PM, Petar Petrov wrote: > Hmmm, > > That info was not enough for me i needed more guidance. Did you make it > work with both admins - origina

Re: [mezzanine-users] Adding Cart to my page

2016-02-24 Thread Ryne Everett
uit your website. Or what else can we do? > > what's recommended? > > Regards > akos1234 > > On Wednesday, 24 February 2016 01:40:55 UTC, Ryne Everett wrote: >> >> It sounds like you need to override some of cartridge's templates to do >> what you want. &g

Re: [mezzanine-users] Adding Cart to my page

2016-02-23 Thread Ryne Everett
It sounds like you need to override some of cartridge's templates to do what you want. On Tue, Feb 23, 2016 at 5:38 PM, akos1234 wrote: > Hi, > > I have created a page and would like to add the cart bit to the left panel > but trying things just not working. Or I must have moved it cos' it > sho

Re: [mezzanine-users] Can't login to admin site

2016-02-15 Thread Ryne Everett
That is just a warning which you can feel free to ignore. If you're having trouble with mezzanine, that message is unrelated. On Mon, Feb 15, 2016 at 6:14 AM, Ephraim Anierobi wrote: > I was unable to login to admin . > i received this error message bellow; > > RemovedInDjango110Warning: render

Re: [mezzanine-users] Failed lookup for key in templates after upgrading

2016-02-08 Thread Ryne Everett
No advice, but it looks like a couple of those were just removed in 4.1.0: https://github.com/stephenmcd/mezzanine/commit/3376aedc45b305d5c3239e7a45f7f3882c43983a. I'd guess the others were removed likewise. On Mon, Feb 8, 2016 at 7:55 AM, michela wrote: > After upgrading an old project from Dja

Re: [mezzanine-users] "Models aren't loaded yet" when importing "cartridge.shop.forms"

2016-02-03 Thread Ryne Everett
de fevereiro de 2016 09:24:15 UTC-2, Márcio Moreira > escreveu: >> >> Ryne, >> >> Sorry. I forgot to say that I had already tested that patch to tests.py >> but the problem continues. >> >> Marcio >> >> >> Em terça-feira, 2 de fevereiro

Re: [mezzanine-users] "Models aren't loaded yet" when importing "cartridge.shop.forms"

2016-02-02 Thread Ryne Everett
my_solution/venv/lib/python3.4/site-packages/django/contrib/auth/__init__.py", > line 150, in get_user_model > return django_apps.get_model(settings.AUTH_USER_MODEL) > File > "/home/my_user/vs_my_solution/vs_my_solution/venv/lib/python3.4/site-packages/django/apps/registry.py", > line 19

Re: [mezzanine-users] "Models aren't loaded yet" when importing "cartridge.shop.forms"

2016-02-02 Thread Ryne Everett
Can you provide a full traceback? On Tue, Feb 2, 2016 at 3:44 PM, Márcio Moreira wrote: > Hello, > > I am trying to learn a bit about monkey patching due to a question that I > still could not solve > . > So, I created inside m

[mezzanine-users] Re: Paginated blog posts with unique content in first page

2016-01-15 Thread Ryne Everett
Nice! On Friday, January 15, 2016 at 11:43:01 AM UTC-5, Robert Wolf wrote: > > I used this {% if request.get_full_path == request.path %} > > Thanks! > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop r

[mezzanine-users] Re: Paginated blog posts with unique content in first page

2016-01-14 Thread Ryne Everett
I prefer template if-statements to javascript for this type of thing. Something like: {% if request.get_full_path == /blog/ %} On Thursday, January 14, 2016 at 12:41:11 AM UTC-5, Robert Wolf wrote: > > I'm looking for a way to have it so that on the first page of > blog_post_list.html, there c

Re: [mezzanine-users] Directory names with dots in filebrowser_safe

2016-01-10 Thread Ryne Everett
So you want to end up with dots in your url? I doubt that's allowed by http but seems like a bad idea even so because url parsers are going to assume there are only 2 dots in a url. On Sun, Jan 10, 2016 at 8:28 AM, wrote: > Hi guys, > > To have ability to create dirs with dot in their names I've

Re: [mezzanine-users] When mezzanine will be updated in pip3?

2016-01-07 Thread Ryne Everett
If you're using python3.5 you need at least this commit: https://github.com/stephenmcd/mezzanine/commit/280642c8d0e7e41b90398c974a15533f6df20049 . I'm not aware of any python3.4 issues with the latest release. On Thu, Jan 7, 2016 at 7:30 PM, Eduardo Rivas wrote: > Is your site running on Django

Re: [mezzanine-users] Inlines javascript does not seem to work

2015-12-21 Thread Ryne Everett
Are there any javascript errors? On Mon, Dec 21, 2015 at 9:31 AM, Wim Feijen wrote: > Hi people, > > On a fresh Mezzanine installation, the button for adding inlines does not > appear in my installation. > > What happens is that I see four forms and no button to add more. > More-over, the fourth

[mezzanine-users] Introducing Mezzanine-Shortcodes (Aren't Shortcodes)

2015-11-30 Thread Ryne Everett
I started with some suggestions on the mailing list a few months ago and kept iterating until I ended up with a reusable package which I put on github: https://github.com/ryneeverett/mezzanine-shortcodes To quote from the README: > A Mezzanine package

Re: [mezzanine-users] Support for Python 3.5?

2015-11-29 Thread Ryne Everett
As far as I can tell 3.5 works fine as of https://github.com/stephenmcd/mezzanine/pull/1414, which hasn't made it into a release yet. On Sun, Nov 29, 2015 at 7:30 PM, Stephen McDonald wrote: > Would you like to work on adding it? > > On Mon, Nov 30, 2015 at 12:19 AM, wh4n wrote: > >> When will

Re: [mezzanine-users] Documentation improvement

2015-11-28 Thread Ryne Everett
This SO answer should explain how to fix your branch. (But rather than updating master you'll want to update 1468-update-api-docs.) On Sat, Nov 28, 2015 at 8:48 PM, Stephen McDonald wrote: > > > On Sat, Nov 28, 2015 at 11:37 PM, Tomas Chmelevskij < >

Re: [mezzanine-users] Editable tags not working for custom content?

2015-11-09 Thread Ryne Everett
Have you tried master? A similar issue was fixed by https://github.com/stephenmcd/mezzanine/commit/3db9c9f449403db04b4cc25e6058883032261396 which hasn't been released yet. On Sun, Nov 8, 2015 at 11:43 PM, Sarah Hein wrote: > I've been playing with Mezzanine, and I got to say I'm really loving it

Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-11-05 Thread Ryne Everett
> > > On Fri, 11 Sep 2015 at 05:47 Ryne Everett wrote: > >> I wonder if allowing everything in tinymce shouldn't be the default since >> we're already cleaning html in python. >> >> On Thu, Sep 10, 2015 at 2:45 PM, Ryne Everett >

Re: [mezzanine-users] Re: Basic installation issue

2015-11-03 Thread Ryne Everett
) On Tue, Nov 3, 2015 at 11:37 AM, Joseph Mohan wrote: > What a tit.. ended up out of my virtualenv.. finding it hard getting used > to using them.. Thanks > > On Tuesday, 3 November 2015 16:01:34 UTC, Ryne Everett wrote: >> >> Are you sure mezzanine is reall

Re: [mezzanine-users] Re: Basic installation issue

2015-11-03 Thread Ryne Everett
Are you sure mezzanine is really installed in the virtualenv? Check in a repl: $ workon my-virtualenv $ python >>> import mezzanine >>> On Tue, Nov 3, 2015 at 7:26 AM, Joseph Mohan wrote: > I also have the same problem with a virtualenv, any ideas anyone? > > On Sunday, 2 August 2015 23:51:22 U

Re: [mezzanine-users] BUG: duplicate profile info under admin user panel

2015-10-29 Thread Ryne Everett
> > As I said in the other email, this is easy enough to solve in the > template, see > > https://github.com/ryneeverett/mezzanine/commit/801b66152b96f1ec0e14a52127484065742552b7 > for > how the duplicate SitePermissions was solved. I don't think that's the link you think it is. That patch remov

Re: [mezzanine-users] Re: registering new settings for templates

2015-10-15 Thread Ryne Everett
If something is missing please enlighten us. What did you learn? On Thu, Oct 15, 2015 at 9:28 PM, Nkansah Rexford wrote: > got it working. Yet another missing piece from the docs. > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To u

Re: [mezzanine-users] Cannot edit content on Rich Text Page

2015-10-15 Thread Ryne Everett
If you're using firefox you may need to go to 127.0.0.1 rather than localhost. On Thu, Oct 15, 2015 at 10:15 AM, Ilya Yakunin wrote: > > > Hi all, > > I've just started a new mezzanine project u

Re: [mezzanine-users] Re: Blog archive doesn't work when you enter month

2015-10-11 Thread Ryne Everett
> > Well everyone I was able to resolve the issue. Great! Thanks for sharing your solution. On Sun, Oct 11, 2015 at 1:15 PM, Corey wrote: > Well everyone I was able to resolve the issue. Django was using > timezone-aware dates but for somereaon my MariaDB instance didn't have any > timezone de

Re: [mezzanine-users] Alter Blog view functions to incorporate new features.

2015-10-10 Thread Ryne Everett
You could always call mezzanine.blog.views.blog_post_list from your own view if you overrode that url pattern. On Thu, Oct 8, 2015 at 9:17 AM, sonu kumar wrote: > In Mezzanine blog url mezzanine/blog/urls.py we have link > to mezzanine/blog/views.py. > I would like to over view function to incor

Re: [mezzanine-users] Change homepage

2015-10-10 Thread Ryne Everett
I think you're on the right track -- just direct the "^$" url to the same view as "^marketing$" in urls.py. If you haven't done so already you may want to go through the django tutorial as this is not really a mezzanine-specific question.

Re: [mezzanine-users] Blog archive doesn't work when you enter month

2015-10-10 Thread Ryne Everett
Doesn't seem like it could be a template issue. What are you getting when it "doesn't work"? Just no results? Looks like the relevant code is in mezzanine/blog/views.py:blog_post_list so you might try making some calls to that from a shell or throwing a debugger in there to see what's going on.

Re: [mezzanine-users] Re: dj-stripe vs cartridge-stripe

2015-09-19 Thread Ryne Everett
> > Is there some reason you don't want to use the baked in Stripe integration? My reason is primarily that I'd never noticed that module before. Is there any documentation or did you just stumble upon it? On Fri, Sep 18, 2015 at 5:35 PM, Neum Schmickrath wrote: > Is there some reason you don'

Re: [mezzanine-users] dj-stripe vs cartridge-stripe

2015-09-17 Thread Ryne Everett
I looked into stripe integration a few weeks ago and I did conclude that it would make most sense to start integrating from scratch with dj-stripe than to try to use cartridge-stripe, mostly because the latter depends on django-zebra which itself doesn't seem so well maintained. While stripe has a

Re: [mezzanine-users] duplicated fieldset for user profile in admin (version 4.0.1)

2015-09-12 Thread Ryne Everett
ay, September 11, 2015 at 2:30:41 AM UTC+9, Ryne Everett wrote: >> >> This is fixed in master. See >> https://github.com/stephenmcd/mezzanine/issues/1366. >> >> On Thu, Sep 10, 2015 at 2:55 AM, Andrey inte wrote: >> >>> >>> I have a duplicate

Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-10 Thread Ryne Everett
I wonder if allowing everything in tinymce shouldn't be the default since we're already cleaning html in python. On Thu, Sep 10, 2015 at 2:45 PM, Ryne Everett wrote: > Ah, that's probably it: > http://www.tinymce.com/wiki.php/Configuration:extended_valid_elements > >

Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-10 Thread Ryne Everett
setting somehow - perhaps with more sophisticated control over tinyMCE like > that offered in Joomla (above). > > This could probably also address its adding '' tags around > entries too (these entries are for the pasted in google > charts). > > > On Fri, 11 Sep 2

Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-10 Thread Ryne Everett
Oh gotcha, definitely a tinymce bug. On Thu, Sep 10, 2015 at 1:52 PM, Eduardo Rivas wrote: > Have you peeked into the TinyMCE docs? I'm sure there must be something > you can do to change this behavior in tinymce_setup.js. > > > -- > You received this message because you are subscribed to the Go

Re: [mezzanine-users] User cannot paste google charts into cms pages even when set to 'no filtering'

2015-09-10 Thread Ryne Everett
Did you make any progress on this? It sounds like a bug but I let it go a few days because I was hoping somebody would have some more specific insight. The first thing I'd probably do is drop a debugger in RichtextField.clean (in mezzanine/core/fields.py) and make sure `settings.RICHTEXT_FILTER_LE

Re: [mezzanine-users] duplicated fieldset for user profile in admin (version 4.0.1)

2015-09-10 Thread Ryne Everett
This is fixed in master. See https://github.com/stephenmcd/mezzanine/issues/1366. On Thu, Sep 10, 2015 at 2:55 AM, Andrey inte wrote: > > I have a duplicated set of fields in user admin form. > > The formset is empty; nothing happens if I enter any information in the > duplicated (lower) set of

Re: [mezzanine-users] Where to create a Mezzanine project for a Django project

2015-09-09 Thread Ryne Everett
Sounds like you need to grab some default settings from the example project template: https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/project_template/project_name/settings.py I don't think there's such a guide but it seems like it would be a useful addition to the documentation. On

Re: [mezzanine-users] django-autocomplete-light and jquery compatibility

2015-09-09 Thread Ryne Everett
> > I'm loading jquery because I need some scripts (autocomplete is one of > them) who needs to use jquery with "$" instead of "JQuery()". I don't want > to monkey patch that code, because I don't maintain it and because with > Grappelli I've really no problems. Could you bind 'window.$ = jQuery'

Re: [mezzanine-users] Left Hand Tree Menu

2015-09-08 Thread Ryne Everett
: > Thanks so much! Not too familiar yet with how python template tags work. > > On Monday, September 7, 2015 at 4:28:45 PM UTC-4, Ryne Everett wrote: >> >> I only want to lose this menu on the homepage. >> >> >> Then you can simply override the left_panel bl

Re: [mezzanine-users] Left Hand Tree Menu

2015-09-07 Thread Ryne Everett
o have a custom homepage that I can still edit via > the admin. I only want to lose this menu on the homepage. > > On Monday, September 7, 2015 at 1:28:38 PM UTC-4, Ryne Everett wrote: >> >> It's in the `left_panel` block in the default base.html: >> >> >>>

Re: [mezzanine-users] Left Hand Tree Menu

2015-09-07 Thread Ryne Everett
It's in the `left_panel` block in the default base.html: > {% block left_panel %} > {% page_menu > "pages/menus/tree.html" %} > {% endblock %} > On Mon, Sep 7, 2015 at 12:19 PM, wrote: > If I follow the advice this advice on urls.py: > > # "/.html" - so for this case, the templat

Re: [mezzanine-users] Re: Cartridge - SHOP_CHECKOUT_FORM_CLASS setting is deprecated

2015-09-04 Thread Ryne Everett
atible with Django 1.8.4, then the next step is to determine why > Django doesn't see your SECRET_KEY, since you're clearly setting it > in /home/jameslewis/webapps/myshop/myapp/myapp/settings.py . To do > that, I'd just work back from the error message, logging the valu

Re: [mezzanine-users] Re: Cartridge - SHOP_CHECKOUT_FORM_CLASS setting is deprecated

2015-09-04 Thread Ryne Everett
https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-SECRET_KEY On Thu, Sep 3, 2015 at 9:45 PM, James Lewis < theselfbalancingscoo...@gmail.com> wrote: > Thankyou everso much, think I've had too many hours at this and my brain > is working at half pace :-) > > I got rid of that error a

Re: [mezzanine-users] error on post new blog

2015-09-02 Thread Ryne Everett
56> . On Wed, Sep 2, 2015 at 1:55 PM, سید محمد رضا طباطبائی < mohammadreza.tabatab...@gmail.com> wrote: > must be to downgrade Django to v1.7? > don't have any solution?? > > در چهارشنبه 2 سپتامبر 2015، ساعت 22:19:42 (UTC+4:30)، Ryne Everett نوشته: >> >> Had you

Re: [mezzanine-users] error on post new blog

2015-09-02 Thread Ryne Everett
Had you seen https://github.com/stephenmcd/mezzanine/issues/1391? On Wed, Sep 2, 2015 at 11:54 AM, سید محمد رضا طباطبائی < mohammadreza.tabatab...@gmail.com> wrote: > AttributeError at /fa/admin/blog/blogpost/ > > 'tuple' object has no attribute 'day' > > Request Method: GET Request URL: http://m

Re: [mezzanine-users] How to publish html with JavaScripts from admin->page-> content ?

2015-08-31 Thread Ryne Everett
If you want to do it through the admin, one way would be to follow whatever tutorial they provide by inputing html and

Re: [mezzanine-users] WYSIWYG is not working

2015-08-31 Thread Ryne Everett
> > the textarea for the page's content is not being 'rendered' as WYSIWYG. You'll probably get a more meaningful response if you expound on this. Can you give a specific example of what you're doing, what you expect to happen, and what does in fact happen? It would also help if you pasted the o

Re: [mezzanine-users] Small change (one line) in blog view.

2015-08-31 Thread Ryne Everett
Since a decorator simply a callable which takes a function plus additional arguments, couldn't you define your own view pretty simply without any duplication? Something like: my_blog_post_list = page_template(blog_post_list).('blog/blog_post_list_page.html') Note that that is not working code be

Re: [mezzanine-users] Re: thumbnail tag issue

2015-08-21 Thread Ryne Everett
en if it didn't, for now a > quick fix would be to use `fab apt`. I suspect it does, otherwise I > would've had to install libjpeg-dev on my server as well as my local > machine. > > On Friday, 21 August 2015 11:22:44 UTC-7, Ryne Everett wrote: >> >> I won

Re: [mezzanine-users] Re: thumbnail tag issue

2015-08-21 Thread Ryne Everett
anks for the update! >> >> On Wednesday, August 19, 2015 at 2:24:04 PM UTC-7, Ryne Everett wrote: >>> >>> Glad you figured this out. What operating system does this apply to? >>> >>> On Wed, Aug 19, 2015 at 5:12 PM, Avery Laird wrote: >>>

Re: [mezzanine-users] Re: Restrain the rich text

2015-08-20 Thread Ryne Everett
> > Here's the configuration option for controlling the available styles. > Add/remove to your liking: > http://www.tinymce.com/wiki.php/Configuration:style_formats. Thanks, I hadn't seen that. On Thu, Aug 20, 2015 at 10:13 AM, Eduardo Rivas wrote: > I don't think you need to fork TinyMCE to a

Re: [mezzanine-users] Re: Automatically generating pages when creating a site

2015-08-20 Thread Ryne Everett
The first looks correct. Inheritance flows all the way down. On Thu, Aug 20, 2015 at 9:53 AM, Déborah Leder wrote: > You mean, something like that would work ? > from mezzanine.core.management.commands.createdb import Command as > MezzaCommand > > class Command(MezzaCommand): > [...] > d

Re: [mezzanine-users] Re: Restrain the rich text

2015-08-20 Thread Ryne Everett
> > There is only one problem with this method : the alinements styles are not > only avaible in the widgets, but also in the stylemenu. > With this method, is it possible to remove these options from the > stylemenu without deleting the whole stylemenu ? I don't think so. I don't know much about

Re: [mezzanine-users] Re: Automatically generating pages when creating a site

2015-08-20 Thread Ryne Everett
> > Ok, but then wouldn't I need to rewrite the whole command class that is > defined in the core, with all the methods that I didn't want to change ? If I understand your question correctly the answer is "no", because you can inherit from the core method. You might take a look at how mezzanine d

Re: [mezzanine-users] Restrain the rich text

2015-08-20 Thread Ryne Everett
If you want to remove the buttons, you can fork 'mezzanine/js/tinymce_setup.js', assign it to TINYMCE_SETUP_JS , and then remove them from 'toolbar'. If you want to actually prohibit users from inputting these properties, you can

Re: [mezzanine-users] Re: thumbnail tag issue

2015-08-19 Thread Ryne Everett
Glad you figured this out. What operating system does this apply to? On Wed, Aug 19, 2015 at 5:12 PM, Avery Laird wrote: > Problem solved. It was a dependency issue, because I didn't > have libjpeg-dev installed. After uninstalling pillow, > installing libjpeg-dev, and reinstalling pillow, no mo

Re: [mezzanine-users] index.html image problem

2015-08-15 Thread Ryne Everett
'll may need to set up logging <https://docs.djangoproject.com/en/1.8/topics/logging/> manually in order to get the verbose output. On Sat, Aug 15, 2015 at 2:46 AM, Mike Dewhirst wrote: > On 15/08/2015 10:45 AM, Ryne Everett wrote: > >> Thanks Ryne, unfortunately no. Not

Re: [mezzanine-users] index.html image problem

2015-08-14 Thread Ryne Everett
re has been an error" or similar"? On Fri, Aug 14, 2015 at 8:00 PM, Mike Dewhirst wrote: > On 14/08/2015 11:59 PM, Ryne Everett wrote: > >> Is there a rule which says index.html cannot extend base.html? >> >> >> No. That's what I do. >> >>

Re: [mezzanine-users] index.html image problem

2015-08-14 Thread Ryne Everett
> > Is there a rule which says index.html cannot extend base.html? No. That's what I do. It does seem to work - at least until I try and use an tag. It then > barfs with an uninformative "there has been an error" or similar. I suspect a more detailed error message will be necessary to figure

Re: [mezzanine-users] Preferred content blocks for Mezzanine? (feature request perhaps)

2015-08-11 Thread Ryne Everett
I've been curious about this as well, though I'm not sure I correctly understand what these packages are supposed to do. Is the idea to make certain html templates editable via the admin? On Tue, Aug 11, 2015 at 11:19 AM, wrote: > I noticed mezzanine-blocks is greatly limited and I'm not a fan o

[mezzanine-users] Re: Basic installation issue

2015-08-03 Thread Ryne Everett
ase I hadn't because the instructions (for > either the "Quick Start" or the official installation guide) hadn't told me > to. > > Thanks, > > Rich > > On Monday, August 3, 2015 at 4:24:02 AM UTC+1, Ryne Everett wrote: >> >> Are you using a vi

[mezzanine-users] Re: Basic installation issue

2015-08-02 Thread Ryne Everett
Are you using a virtualenv ( http://docs.python-guide.org/en/latest/dev/virtualenvs/)? If you don't use virtualenv you're gonna have a bad time. On Sunday, August 2, 2015 at 5:51:22 PM UTC-5, Richard Jackson wrote: > > Hi there, > > I'm trying to follow the basic installation guide found here ( >

Re: [mezzanine-users] Re: Authentication fails for staff user without super user status

2015-08-02 Thread Ryne Everett
Great! Btw, I'm guessing you'll be able to grant permissions through the admin interface from now on, now that the SitePermissions object actually exists. On Sun, Aug 2, 2015 at 9:26 PM, usha nattala wrote: > Hi Ryne, > > There were 0 SitePermission objects. I finally ended up adding a couple of

Re: [mezzanine-users] Re: Authentication fails for staff user without super user status

2015-07-30 Thread Ryne Everett
Hmm. Sorry usha, but it isn't clear to me what the problem might be under those circumstances. That said, here are some values I would try inputting to Site Permissions: localhost:8000 http://localhost:8000 Whatever is returned by typing `hostname` into a terminal. If none of those works, I would

Re: [mezzanine-users] Re: Authentication fails for staff user without super user status

2015-07-30 Thread Ryne Everett
Are you developing in a VM? Also how are you running it? `python manage.py runserver`? On Thu, Jul 30, 2015 at 9:37 PM, usha nattala wrote: > Hi Ryne, > It's just local development for now. I'm planning to deploy to a server if > all goes well. > Thanks, > Usha > > -- > You received this message

[mezzanine-users] Re: Authentication fails for staff user without super user status

2015-07-30 Thread Ryne Everett
How are you deploying? Are you using the recommended project template? Or is this problem occurring in local development? On Thursday, July 30, 2015 at 5:40:44 AM UTC-4, usha nattala wrote: > > If it helps, I started out in Mezzanine 3.1.10 and then upgraded to 4.0.0 > a few days after it was re

[mezzanine-users] Re: Authentication fails for staff user without super user status

2015-07-30 Thread Ryne Everett
I just encountered the same issue and found Stephen's hint useful: https://github.com/stephenmcd/mezzanine/issues/1366#issuecomment-126171667 On Thursday, July 30, 2015 at 3:21:52 AM UTC-4, usha nattala wrote: > > Hi, > > I recently got up a mezzanine 4.0.0 site and I just created a staff user >

<    1   2