Re: [mezzanine-users] Re: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

2018-01-08 Thread Ryne Everett
You might try raising an exception on the first line of local_settings.py just to make sure it’s being imported. -- 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

Re: [mezzanine-users] Re: django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.

2018-01-07 Thread Ryne Everett
I would follow the flow of execution to ensure your local_settings are being sourced. For example, in the default project template: 1. You're running makemigrations through manage.py which defines DJANGO_SETTINGS_MODULE as the settings.py file in your main project directory. settings_module

Re: [mezzanine-users] How do I hide a link in the navbar when a user is logged in/out?

2017-12-06 Thread Ryne Everett
Not the most elegant solution but you should be able to do something like this: {% if page.in_menu %} {% if page.slug == 'login_register' %} {% if not user.is_staff %} {{

Re: [mezzanine-users] Adding a Button to TinyMCE Issue

2017-10-16 Thread Ryne Everett
Pardon if I'm misunderstanding the question, but are you adding it to the toolbar field in tinymce_setup? -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [mezzanine-users] How to create a form for blog posts that accepts image uploads

2017-09-16 Thread Ryne Everett
While several security issues have been recognized and patched in filebrowser_safe more readily than in filebrowser, the "safe" aspect is a reference to package stability and not security. However, I would be very surprised if use of Filebrowser with Mezzanine does not have numerous bugs and

Re: [mezzanine-users] Re: Lost in javascript

2017-08-21 Thread Ryne Everett
I just created a fresh project and got the forecolor and background buttons working: 1. `cp mezzanine/mezzanine/core/static/mezzanine/js/tinymce_setup.js example_project/static/` 2. Edit tinymce_setup.js, adding "textcolor" to `plugins` and "forecolor backcolor" to `toolbar`. 3. Edit settings:

Re: [mezzanine-users] Models aren't loaded yet

2017-08-16 Thread Ryne Everett
A traceback would be helpful. -- 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] Lost in javascript

2017-08-16 Thread Ryne Everett
Quoting Malik Rumi (2017-08-13 20:00:19) > *2. In the docs at* > > > http://mezzanine.jupo.org/docs/packages.html?highlight=settings#mezzanine.conf.Settings > > > I see a reference to *class* mezzanine.conf.*Settings**.* I have no such > file at that location, or any location that I have

Re: [mezzanine-users] Re: Possible to remove fields inherited from Page in custom models?

2017-06-29 Thread Ryne Everett
I don't think you're going to do much better than Ken's solution. -- 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] wysiwyg

2017-06-20 Thread Ryne Everett
Tinymce comes bundled with the project. Once you log into the admin a lot of content becomes inline-editable if that's what you're after. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving

Re: [mezzanine-users] Get the click event from a button

2017-06-10 Thread Ryne Everett
Sorry, I think I understand what you're asking now. You want to have a form submitted to a page processor which will use the form's data to add context to the page and re-render the view. If I understand you correctly, you're asking how to add a submission button to the html form that will call

Re: [mezzanine-users] Get the click event from a button

2017-06-09 Thread Ryne Everett
I don't think page processors are relevant to your use case. If you're not familiar, I would suggest looking into django's form docs: . -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To

Re: [mezzanine-users] Simplifying rich text

2017-06-03 Thread Ryne Everett
> 2) Implement the approach to RichTextField and global editor configuration > from django- > ckeditor, but leave TinyMCE as default. Introducing as little > incompatibilities as possible > would be the hard part. Sounds like #2 is the approach for improving the core project, though creating a

Re: [mezzanine-users] Simplifying rich text

2017-06-02 Thread Ryne Everett
The direction this discussion goes hinges on whether ckeditor is a preferable editor to tinymce or if django-ckeditor just has a more powerful RichTextField implementation than Mezzanine. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To

Re: [mezzanine-users] blog_months template may be incorrect when USE_TZ is set to True

2017-05-07 Thread Ryne Everett
I agree. See . -- 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] updating the word "Mezzanine" to our own name/logo in the upper left of the admin view

2017-04-21 Thread Ryne Everett
Could we use the existant `SITE_TITLE` setting instead? Or could we put the admin title in it's own template block to ease template maintenance without increasing Mezzanine maintenance. E.g.: `{% block admin_title %}Mezzanine{% endblock}`. -- You received this message because you are subscribed

Re: [mezzanine-users] Password reset URL scheme in email templates is hard coded as HTTP

2017-04-15 Thread Ryne Everett
I went ahead and submitted the patch: . -- 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] [Cartridge] - Admin links to custom product type no longer work

2017-04-08 Thread Ryne Everett
I can reproduce with both the OP's project and a fresh project following the docs on both current master and right after the patch landed. A quick look at django-debug-toolbar suggests that the `{% if content_models.count > 1 %}` condition in the `admin/shop/product/change_list.html` template

Re: [mezzanine-users] upload thumbnails rendering with relative URLs instead of absolute (AWS S3)

2017-04-05 Thread Ryne Everett
Your analysis appears correct to me. Care to open a PR? -- 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] staff member unable to login to admin

2017-01-28 Thread Ryne Everett
Ah, my bad. Are you seeing this in DEBUG mode on localhost? -- 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] staff member unable to login to admin

2017-01-28 Thread Ryne Everett
A common mistake is failing to add the site permissions for staff users. If a user doesn't have permissions for any site, they will not be able to log in. This was discussed in a recent thread and a patch was added to the development version of mezzanine to warn users when they're about to create

Re: [mezzanine-users] Updating thumbnails when the original image has been updated

2017-01-14 Thread Ryne Everett
That makes sense to me. I'd suggest sending a pull request. -- 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] Implementing an Editable Django Forms with Mezzanine (with emailing function)

2017-01-13 Thread Ryne Everett
Quoting Carl Almayda II (2017-01-13 00:01:39) > It seems that mezzanine forms are intended for content > management, not on email ... There's an email section in the form page admin ... -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To

Re: [mezzanine-users] I18N and static files issue (MEDIA_URL)

2016-12-24 Thread Ryne Everett
Quoting dunrix...@gmail.com (2016-12-24 01:04:21) > Never when exposed to public. On the other hand, it is quite common at > development test app in non-debug mode, before fiddling with nginx/apache > configuration. At least in our region. This practice doesn't make a lot of sense to me. It may

Re: [mezzanine-users] Problem with TinyMCE and html

2016-12-21 Thread Ryne Everett
I'm not able to reproduce this on stock mezzanine. Are you using any custom [richtext filters](https://mezzanine.readthedocs.io/en/latest/configuration.html#richtext-filters) by chance? Whenever I've had issues with extra ``'s in a richtext field beautiful soup has ultimately been to blame for

Re: [mezzanine-users] Check if a local path exists?

2016-12-17 Thread Ryne Everett
Page models *are* database models. -- 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: Extra model fields at Mezzanine's derived package ?

2016-11-16 Thread Ryne Everett
I'm aware of this option, but it is a dictionary with application name as a key, right ? How can I tell Django to look for /cartridge.shop/ migrations both at original path and my extension package ? In this case the application name is just /shop/. After setting up MIGRATION_MODULES, your

Re: [mezzanine-users] Re: Upgrading from 4.1 to 4.2 fails

2016-11-10 Thread Ryne Everett
I followed the installation docs (http://mezzanine.jupo.org/docs/overview.html#installation), went to the default pages, and was able to add subpages no problem. On 11/10/2016 04:09 AM, Gerhard Spitzlsperger wrote: > Hi Ryne, > > thanks for your quick answer. I tried again with a fresh install,

Re: [mezzanine-users] Edit/Insert Link in Rich Text Page feature broken

2016-11-09 Thread Ryne Everett
I can't reproduce this. It works fine for me on 4.2.2. On 11/06/2016 06:58 PM, Chirag Dua wrote: > This was fixed in trunk earlier: > > https://github.com/stephenmcd/mezzanine/commit/94d57294bcc1e934fdd723546be7ea15bb9dcd1a > > I can see this in 4.2.2 as well but feature seems to be broken again.

Re: [mezzanine-users] Re: Upgrading from 4.1 to 4.2 fails

2016-11-09 Thread Ryne Everett
FYI, I can't reproduce this issue on a freshly generated mezzanine project. On 11/09/2016 11:59 AM, Gerhard Spitzlsperger wrote: > Dear All, > > in the meantime I fixed this problem by installing a fresh Mezzanine > 4.2.2 environment and copying over my projects. This works (after > getting

Re: [mezzanine-users] Cartridge: How to override the name of the product and variations in the cart / checkout?

2016-11-07 Thread Ryne Everett
Thanks, I'll probably use that some time. However, I'd likely use the class_prepared signal (https://docs.djangoproject.com/en/stable/ref/signals/#class-prepared) so I'm not reliant on my app being after `cartridge.shop` in `INSTALLED_APPS`. -- You received this message because you are

Re: [mezzanine-users] Override behaviour of "image upload" in media library

2016-11-04 Thread Ryne Everett
The functionality is in filebrowser-safe (https://github.com/stephenmcd/filebrowser-safe/blob/master/filebrowser_safe). My first thought is use the filebrowser_pre_upload or filebrowser_post_upload signal (https://github.com/stephenmcd/filebrowser-safe/blob/master/filebrowser_safe/views.py).

Re: [mezzanine-users] Cartridge: How to override the name of the product and variations in the cart / checkout?

2016-11-04 Thread Ryne Everett
I agree that the current default behavior isn't great for everybody. I'm not thrilled by it myself but have lived with it so far. One approach would be to improve the default behavior in cartridge, though I don't have a proposal for a more generally acceptable format at hand. Another approach

Re: [mezzanine-users] Run manage.py commands for mezzanine plugins (drum in this case)

2016-10-31 Thread Ryne Everett
Shouldn't you be calling the `manage.py` in your own project rather than the template project? I'm not sure the template project itself is actually a valid django project until it is used to generate a concrete project. Regardless, you probably need to invoke `manage.py` from base project

Re: [mezzanine-users] mezzanine.accounts

2016-10-25 Thread Ryne Everett
I can't reproduce with a vanilla mezzanine site. On 10/25/2016 12:08 AM, Akhlaq Rao wrote: > As soon as I uncomment the mezzanine.accounts app I see the following > error. Is this bug reported? > > django.urls.exceptions.NoReverseMatch: 'rest_framework' is not a > registered namespace > >

Re: [mezzanine-users] TypeError at /shop/invoice/#/

2016-10-23 Thread Ryne Everett
See https://github.com/stephenmcd/cartridge/pull/306. (Not yet released.) On 10/24/2016 12:42 AM, Akhlaq Rao wrote: > > > I am seeing this error when clicking on the link on Order Complete page. > > > TypeError at /shop/invoice/4/ > > dict expected at most 1 arguments, got 3 > Request Method:

Re: [mezzanine-users] Should I namespace for templates/ and static/ directories

2016-10-18 Thread Ryne Everett
I'm not too familiar with the "theme" pattern, but it seems like the point of namespacing is that things can live together without namespace collision and the point of themes is swappability. Presumably only one theme is applicable at a time so collisions aren't a concern, and if you namespace

Re: [mezzanine-users] mezzanine.core.middleware.SSLRedirectMiddleware Depricated 1600?

2016-10-13 Thread Ryne Everett
ore, were they directly > connected to SSLRedirectMiddleWare? > > Thanks, > A > > > > On Thu, Oct 13, 2016 11:23 AM, Ryne Everett ryneever...@gmail.com wrote: > >> SSLRedirectMiddleware would not solve that problem, all it does is >> redirect to https. &

Re: [mezzanine-users] mezzanine.core.middleware.SSLRedirectMiddleware Depricated 1600?

2016-10-13 Thread Ryne Everett
log /home/admin/logs/couture92_error_nginx.log info; > > # ssl_certificate conf/couture92.crt; > # ssl_certificate_key conf/couture92.key; > # ssl_session_cacheshared:SSL:10m; > # ssl_session_timeout 10m; > > > Thanks, your help much appreciated. >

Re: [mezzanine-users] I'm not able to install Cartridge

2016-10-13 Thread Ryne Everett
My recommendation is to `pip install html5lib<=0.999`. Although this is pinned in bleach, in the context of installing from a requirements file I've yet to see pip resolve it correctly. On Thu, Oct 13, 2016 at 7:46 AM, Ken Bolton wrote: > Hi Ahmad, > > Can you show us

Re: [mezzanine-users] mezzanine.core.middleware.SSLRedirectMiddleware Depricated 1600?

2016-10-13 Thread Ryne Everett
Whoops. I just pushed a fix for that bug. However, you still shouldn't be using that middleware. If you're going to use an SSL middleware, use django's ( https://docs.djangoproject.com/en/1.10/ref/middleware/#module-django.middleware.security). However, my recommendation is to handle the redirect

Re: [mezzanine-users] Re: Search Results (Content Pages First)

2016-09-22 Thread Ryne Everett
I can't speak for everyone, but I only reply when I know more than the OP about how to solve their problem than they do. If nobody replies it's likely because nobody following the mailing list has done this. If you don't know where to get started, look into how mezzanine's listing order works

Re: [mezzanine-users] More customized publishing workflow (Draft, Published...)

2016-09-20 Thread Ryne Everett
My question would be, is this setting actually sufficient for enabling more complex workflows? An important component of workflows I've seen in other frameworks is policies and enforcement. For instance, certain users are privileged to approve changing the status of content from one stage to

Re: [mezzanine-users] gunicorn.conf gives ImportError: No module named wsgi

2016-09-16 Thread Ryne Everett
> > If I pull out the contents out of nektra_coinfabrik/nektra_coinfabrik > into /nektra_coinfabrik it somehow works but the admin is broken (cannot > login, no styles). > That's because the path is wrong. Gunicorn is trying to import `./nektra_coinfabrik/wsgi.py` from the current directory, but

Re: [mezzanine-users] Ryne Everett joins the core team

2016-09-07 Thread Ryne Everett
And the absurdity piles higher! https://github.com/django/django/pulls?utf8=%E2%9C%93=author%3AAlexHill On Wed, Sep 7, 2016 at 8:39 PM, Mario R. Osorio wrote: > Long due ... Finally, someone who understands Django! > > > ;) > > -- > You received this message because you

Re: [mezzanine-users] Ryne Everett joins the core team

2016-09-07 Thread Ryne Everett
by the typist, but sometimes a typist is the only piece missing to make a good idea succeed. On Wed, Sep 7, 2016 at 4:18 PM, Stephen McDonald <st...@jupo.org> wrote: > Hi all, > > We've asked Ryne Everett to join the core team and he's agreed to. Over > the last year or so, Ryn

Re: [mezzanine-users] Re: Odd test database behaviour

2016-09-07 Thread Ryne Everett
You might look into what gets imported at init-time. I've run into this before when modules that are imported when the app is initialized try to access the database in global scope. Good luck. On Tue, Sep 6, 2016 at 6:40 PM, Arti K wrote: > Hi, > > I am running into the same

Re: [mezzanine-users] Good sample Mezzanine site (with code) for learning forms processing

2016-09-03 Thread Ryne Everett
I don't think mezzanine plays any role here -- it's all vanilla django. You can implement 1 & 2 with ModelForms and 3 with a generic ListView

Re: [mezzanine-users] Mezzanine 4.2.0 makes all tags as plain text in blog post.

2016-09-01 Thread Ryne Everett
; > > 在 2016年9月2日星期五 UTC+8上午11:44:26,Ryne Everett写道: >> >> That is normal behavior. You can't put raw html directly into tinymce >> like that. You need to click on the second to right button in the toolbar >> ("<>") and put it in there or tiny

Re: [mezzanine-users] Mezzanine 4.2.0 makes all tags as plain text in blog post.

2016-09-01 Thread Ryne Everett
26 PM, Alan Chen <alan.cheng...@gmail.com> wrote: > Ryne, please check the enclosed screenshot, thanks. > > 在 2016年9月2日星期五 UTC+8上午10:40:42,Ryne Everett写道: >> >> Could you post a screenshot of what this bug looks like? >> >> On Thu, Sep 1, 2016 at 10:21 PM, Ala

Re: [mezzanine-users] Mezzanine 4.2.0 makes all tags as plain text in blog post.

2016-09-01 Thread Ryne Everett
cal debug environment (Python 2.7.9, Win7 64bit OS) and > production (Python 2.7.6, Ubuntu 14, deployed by Apache + mod_wsgi) has the > same issue. > > Weird. > > > 在 2016年9月1日星期四 UTC+8下午11:33:57,Ryne Everett写道: >> >> To make sure we're on the same page, the next ste

Re: [mezzanine-users] Mezzanine 4.2.0 makes all tags as plain text in blog post.

2016-09-01 Thread Ryne Everett
To make sure we're on the same page, the next steps were: - python manage.py runserver - navigate to admin and tinymce doesn't show up The out-of-the-box static files configuration has always worked fine for me. I wonder if it could be a problem with the way your OS handles file paths. What OS

Re: [mezzanine-users] Save Button In Blog Post and Everything That Involves Tinymce Not Working

2016-09-01 Thread Ryne Everett
This isn't nearly enough information for anyone to be able to help you. What are "various fixes"? Is this in a development or production environment? Are there any errors in the browser console or backend logs? On Thu, Sep 1, 2016 at 4:55 AM, Leke Okumoyinbo wrote: >

Re: [mezzanine-users] Error translate field injection

2016-08-28 Thread Ryne Everett
I'm pretty ignorant about translation but it seems like the migration triggered by the extra field would be relevant. On Sun, Aug 28, 2016 at 8:58 AM, Cajoline wrote: > Hi, > > I try to translate a field injection for the model Page, but i have an > exception

Re: [mezzanine-users] Send email on new page creation or blogpost using Mezzanine

2016-08-05 Thread Ryne Everett
. On Fri, Aug 5, 2016 at 10:30 AM, Michael Ketiku <mket...@gmail.com> wrote: > Thanks, I really don't even know where to start and to be honest I am > confused but thanks anyways. > > On Thursday, August 4, 2016 at 9:52:38 PM UTC-4, Ryne Everett wrote: >> >> There a

Re: [mezzanine-users] wrong base.html

2016-08-01 Thread Ryne Everett
> > This is a common pattern in Django, but I couldn't find any documentation > that supports it. Hopefully someone else can reference a reputable source > that explains it. The django tutorial has a section on "Template namespacing".

Re: [mezzanine-users] Blog category hangs

2016-08-01 Thread Ryne Everett
y more ideas? > > On Friday, July 29, 2016 at 3:34:30 PM UTC+2, Ryne Everett wrote: >> >> You have a breakpoint at line 30 in mezzanine/blog/views.py which is >> blocking indefinitely as is to be expected. Upgrading to any mezzanine >> release should fix this, e.g., `pip install

Re: [mezzanine-users] Re: Sending emails from a contact form

2016-08-01 Thread Ryne Everett
Assuming you're actually dealing with a mezzanine site (and not a different product with the same name) there is no way to access the console or install things from the admin -- you need access to the server. To some this is an inconvenience and to others (myself included) an essential security

Re: [mezzanine-users] Re: Sending emails from a contact form

2016-07-31 Thread Ryne Everett
What site are you using? On Mon, Aug 1, 2016 at 12:52 AM, wrote: > I did not start it from the console, when I launch mezzanine I just go to > a generic side building page. > > On Sunday, 31 July 2016 18:47:43 UTC-7, o.tr...@share.epsb.ca wrote: > >> I am a non

Re: [mezzanine-users] Re: Sending emails from a contact form

2016-07-31 Thread Ryne Everett
Installation instructions are right on the page I linked. ( https://github.com/anymail/django-anymail#anymail-1-2-3). Not sure what you mean about finding the console. Didn't you start mezzanine from the console in the first place? On Sun, Jul 31, 2016 at 11:38 PM,

Re: [mezzanine-users] Sending emails from a contact form

2016-07-31 Thread Ryne Everett
Check out django-anymail for a pretty straightforward way of using a few mailing services. On Sun, Jul 31, 2016 at 9:34 PM, wrote: > I am a non programmer and I have a small site in development. And one of > the things I need

Re: [mezzanine-users] Re: UnicodeDecodeError: 'locale' codec can't decode byte 0xe2 in position 0: Invalid or incomplete multi

2016-07-31 Thread Ryne Everett
Iain, I don't think the filename issue is related to the OP's issue, but you might find this PR relevant: https://github.com/stephenmcd/mezzanine/pull/1609. On Sun, Jul 31, 2016 at 11:33 AM, Iain Mac Donald < mezzan...@picturenow.co.uk> wrote: > > You don't have the sample data installed, do

Re: [mezzanine-users] Blog category hangs

2016-07-29 Thread Ryne Everett
You have a breakpoint at line 30 in mezzanine/blog/views.py which is blocking indefinitely as is to be expected. Upgrading to any mezzanine release should fix this, e.g., `pip install -U mezzanine`. On Fri, Jul 29, 2016 at 3:43 AM, Bojan Kogoj wrote: > Sometimes without

Re: [mezzanine-users] What does this mean in urls.py " and specify its URL (in the Meta Data section) " ?

2016-07-25 Thread Ryne Everett
I think the part you're asking about is: specify its URL (in the Meta Data section) as "/" > This does not refer to the `Meta` class, it refers to the `slug` field which `Page` inherits from `mezzanine.core.models.Slugged`. That line could likely be clarified a bit. On Mon, Jul 25, 2016 at 3:25

Re: [mezzanine-users] install Cartridge 0.11.0 on windows (via cygwin)

2016-07-21 Thread Ryne Everett
As for issue (2) you need to downgrade to html5lib<=0.999. This is pinned in bleach so I'm not sure why it wasn't constrained. (I had this problem too.) You can fix it with `pip install -U bleach`. On Thu, Jul 21, 2016 at 8:31 PM, Alain Turcotte wrote: > I am

Re: [mezzanine-users] Need some help with assigning user site permission in a view

2016-07-21 Thread Ryne Everett
ites' is an invalid keyword argument for this function > > > > Den torsdag 21 juli 2016 kl. 23:07:40 UTC+2 skrev Ryne Everett: >> >> SitePermission.objects.create(user=user, sites=(site,)) >> >> I question whether this is really what you want to do, but without a >>

Re: [mezzanine-users] Need some help with assigning user site permission in a view

2016-07-21 Thread Ryne Everett
SitePermission.objects.create(user=user, sites=(site,)) I question whether this is really what you want to do, but without a better idea what your goal is it's all I can offer. On Thu, Jul 21, 2016 at 4:56 PM, zruu wrote: > Hey guys, > > I really need your help. I'm

Re: [mezzanine-users] Bad Gateway

2016-07-21 Thread Ryne Everett
A couple causes of gunicorn timeouts I've seen is larger files that don't transfer within the default --timeout (30 seconds). This isn't necessarily your problem but if it is you can increase the timeout. I've also seen it when streaming files, in which case the solution is to make the workers

Re: [mezzanine-users] tel: being stripped from anchor href when saving a RichTextField. How do I allow it?

2016-07-20 Thread Ryne Everett
You may just need to upgrade to 4.1.0. See https://github.com/stephenmcd/mezzanine/pull/1473. On Wed, Jul 20, 2016 at 10:18 PM, RandomDude wrote: > Version: Mezzanine (4.0.1) > > > Mailto before save: > > mailto:some...@example.com?Subject=Hello%20again;>Send > Mail > > After

Re: [mezzanine-users] Where are the migration files for mezzanine's built-in apps?

2016-07-19 Thread Ryne Everett
The migrations for mezzanine's apps reside in the source code. Unless you modified mezzanine's models (e.g., with the `EXTRA_MODEL_FIELDS` setting), you wont cause migrations to mezzanine's apps. On Tue, Jul 19, 2016 at 7:52 AM, Keith Irwin wrote: > Hopefully this is an

Re: [mezzanine-users] Mezzanine Theme

2016-07-18 Thread Ryne Everett
Did you put the django wiki's urlpatterns before mezzanine's? A common pitfall is that mezzanine eats any url pattern so it must be last. On Mon, Jul 18, 2016 at 3:47 PM, Richard wrote: > Hi, > Thank you for your advice on that. I'm trying to use the Django-Wiki, > a

Re: [mezzanine-users] Drum auto tags issue.

2016-07-15 Thread Ryne Everett
> > Is there any best practise to setup a development environment? Or just run > `python setup.py install` each time after I change the source code. Use `python setup.py develop` ( http://setuptools.readthedocs.io/en/latest/setuptools.html?#development-mode) or `pip install -e ` (

Re: [mezzanine-users] Completely Remove Shipping From Cartridge.

2016-07-09 Thread Ryne Everett
You might consider the alternative approach of overriding the checkout views, making the shipping fields HiddenInput fields, and setting their default value to zero. The benefits of doing it this way are you wouldn't have to modify the templates and you wouldn't have to override the form

Re: [mezzanine-users] React Mezzanine project starter kit

2016-06-19 Thread Ryne Everett
Something I've been meaning to try out for a while is contributor Alex Hill's djpj project: https://github.com/AlexHill/djpj. I'm assuming he uses it with mezzanine projects and if page load performance is your primary concern it may be an alternative solution. On Sun, Jun 19, 2016 at 5:21 PM,

Re: [mezzanine-users] monkey patch a function?

2016-06-17 Thread Ryne Everett
y suggestion regarding adding extra step into the checkout > process? Like when the user clicks on the product, select the quantity and > sizes, then there is a "Next" button to let the user continue adding more > customization to the selected product. > > On Wednesday, June 15,

Re: [mezzanine-users] monkey patch a function?

2016-06-15 Thread Ryne Everett
I don't think there is any reason to monkey patch a view when you can just override it in your urls.py by putting the urlpattern you want to override above the cartridge urls. You can see an example of how I override the product view in cartridge-downloads:

[mezzanine-users] Re: max upload size ignored

2016-06-14 Thread Ryne Everett
Oh, figured it out. There's a setting `FILEBROWSER_MAX_UPLOAD_SIZE` which also needs to be set. On Tuesday, April 19, 2016 at 5:10:57 PM UTC-4, David Hoese wrote: > > > I'm trying to increase the max upload size for uploads to my media > library, but can't seem to get anything to work. I've

Re: [mezzanine-users] AppRegistryNotReady("Models aren't loaded yet.")

2016-06-14 Thread Ryne Everett
Two things (not exhaustive) come to mind that could cause this: - Your app is higher in the INSTALLED_APPS order than cartridge so your models.py gets loaded before cartridge's. - You're importing (perhaps indirectly) your models.py from your __init__.py. Models cannot be imported at

[mezzanine-users] Re: Link model - external vs internal URLs

2016-06-12 Thread Ryne Everett
I wonder if there isn't some sort of validation or coercion we could do without narrowing the use cases. As far as I can tell, the protocol (http, https, etc) is required or it becomes a relative link. For example: - 'https://www.example.com' -> 'https://www.example.com' -

Re: [mezzanine-users] Novice Python question about Cartridge model: Order

2016-06-09 Thread Ryne Everett
> > Can you recommend a better, more feature-rich way to step through my > Python programs? Sometimes I use ptpdb which is the most advanced python debugger I'm aware of. It's a little slow though, so I mostly just use pdb. On Thu, Jun 9, 2016 at 5:31

Re: [mezzanine-users] How to let account users to editing anywhere but not only in admin dashboard?

2016-06-03 Thread Ryne Everett
ll users should use inline-editing, > include account users of the website? > And what permission should be assigned to them? > > On Friday, June 3, 2016 at 9:29:04 AM UTC+8, Ryne Everett wrote: >> >> I believe you're looking for >> http://mezzanine.jupo.org/docs/inline

Re: [mezzanine-users] How to let account users to editing anywhere but not only in admin dashboard?

2016-06-02 Thread Ryne Everett
I believe you're looking for http://mezzanine.jupo.org/docs/inline-editing.html. On Thu, Jun 2, 2016 at 6:45 AM, Travis wrote: > Hi guys, > how could i add editing to somewhere like blog post detail page, to let > users make their own blog post. > Or should all editing

Re: [mezzanine-users] keepachangelog.com

2016-05-31 Thread Ryne Everett
wrote: > On 1/06/2016 6:12 AM, Ryne Everett wrote: > >>  ### Why can’t people just use a `git log` diff? >> >> Because log diffs are full of noise — by nature. They could not >> make a suitable >> change log even in a hypothetical project run by per

Re: [mezzanine-users] Re: Cannot install Drum successfully

2016-05-27 Thread Ryne Everett
Seems that the pypi package is out of date. That was fixed here: https://github.com/stephenmcd/drum/pull/22. You can install straight from github with `pip install -U git+https://github.com/stephenmcd/drum.git`. On Sat, May 28, 2016 at 12:04 AM, Xuwen Fang wrote: > Thank you!

Re: [mezzanine-users] Cannot install Drum successfully

2016-05-27 Thread Ryne Everett
ine.template.loader_tags'], > 'context_processors': > ('django.contrib.auth.context_processors.auth', > > 'django.contrib.messages.context_processors.messages', > > 'django.core.context_processors.debug', > > 'django.core.context_processors.i18n',

Re: [mezzanine-users] Cannot install Drum successfully

2016-05-27 Thread Ryne Everett
list" shows. Is 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

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

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

2016-05-11 Thread Ryne Everett
them available for sale. > > > On Wednesday, May 11, 2016 at 12:18:36 PM UTC-6, Ryne Everett wrote: >> >> The following observations and screenshots are from a fresh cartridge >> 0.11 project I just made. >> >>1. Why are sku fields editable? Cartridge use

[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

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

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

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

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

2016-03-13 Thread Ryne Everett
s simple 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

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

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

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

2016-03-12 Thread Ryne Everett
ect %} 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 <ryneever...@gmail.com> 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
t;>>> >>>>> 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 >>>>

  1   2   >