Colin, this is excellent! I will test on Fedora today but I'm assuming it
should work seamlessly on 24 if it works on RHEL7.
I would also be happy to work on getting this integrated to the Mezzanine
default project template if you'd like. It work be great to support both
deb/rpm based distros
Thanks Stephen - I've opened an issue to track this:
https://github.com/stephenmcd/cartridge/issues/298
On 29 June 2016 at 16:00, Stephen McDonald wrote:
>
>
> On Wed, Jun 29, 2016 at 3:49 PM, Sam Kingston wrote:
>
>> I'd say probably use the one Eduardo suggests:
g used now?
>
> On Wed, Jun 29, 2016 at 11:22 AM, Sam Kingston wrote:
>
>> I'm not sure if this will help you or not, but I developed a replacement
>> library for xhtml2pdf (though not a drop-in):
>>
>> https://github.com/sjkingo/pywkhtmltopdf
>>
I'm not sure if this will help you or not, but I developed a replacement
library for xhtml2pdf (though not a drop-in):
https://github.com/sjkingo/pywkhtmltopdf
On Friday, 24 June 2016 20:13:05 UTC+10, Joseph Mohan wrote:
>
> Any other things i'm missing with regards to getting an image into the
I have a local branch of mezzanine-api with patches that extend support to
Cartridge products, variations and categories.
I'll polish it off and add some tests and create a PR for it.
Sam
On Thursday, 5 May 2016 08:18:51 UTC+10, Josh B wrote:
>
> Very cool, just installed this and am excited to
I'd like to add my 2c to this too, as from a developer point of view I hit
this often.
I have created over a dozen large, commercial websites using Mezzanine and
Cartridge and every single one of them I have ripped out Bootstrap for
something else. The way Mezzanine integrates Bootstrap at the
7;settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
See the following PR's for updates to the pypi trove classifiers:
* https://github.com/stephenmcd/mezzanine/pull/1476
* https://github.com/stephenmcd/cartridge/pull/274
On Wednesday, 2 Dec
PR's incoming for Python 3.5 support...
On Sunday, 29 November 2015 23:19:33 UTC+10, wh4n wrote:
>
> When will Mezzanine support Python 3.5? At the moment I can see in the
> setup.py file that only 3.4 is the latest.
>
--
You received this message because you are subscribed to the Google Groups
I will test 3.5 against master with my Mezzanine / Cartridge site today and
report back. It currently runs fine on 3.4.
Sam
--
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, se
I just wanted to add there is a third way of doing this, and that is creating a
model in your own app and adding a OneToOne field to the Blog model. I now use
that method exclusively instead of EXTRA_MODEL_FIELDS and it is much cleaner
and easier to maintain.
--
You received this message beca
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 `OneToOneFi
Brilliant! Thanks Steve!
On 27 July 2015 at 23:50, Stephen McDonald wrote:
> Should be up now.
>
> On Mon, Jul 27, 2015 at 11:41 PM, Sam Kingston wrote:
>
>> Any chance on a PyPi release for Cartridge 0.10? 0.9.5 is still the latest
>>
>
--
You received t
Any chance on a PyPi release for Cartridge 0.10? 0.9.5 is still the latest
On Sunday, 26 July 2015 14:16:24 UTC+10, Stephen McDonald wrote:
>
> Hi all,
>
> I've just released Mezzanine 4.0.1 which contains a small handful of
> bugfixes and improvements since the recent 4.0 release - most notably
Fantastic work as always everyone. Well done!
On Sunday, 26 July 2015 14:16:24 UTC+10, Stephen McDonald wrote:
>
> Hi all,
>
> I've just released Mezzanine 4.0.1 which contains a small handful of
> bugfixes and improvements since the recent 4.0 release - most notably
> restoration of the "--alte
That's because you are not running inside a virtualenv which I advised you
should do in an earlier post.
Try installing your application and deps inside a virtualenc:
$ virtualenv myapp
$ cd myapp && source bin/activate
And then continue.
On 16 Jun 2015 4:12 pm, "سید محمد رضا طباطبائی" <
mohamma
The ~/.cache/pip directory is used by pip (Python's package manager) to
store (cache) downloaded packages and wheels, so it can avoid downloading
on the consecutive times you try to install a certain package.
If pip cannot write to that directory (or any descendants), then it will
disable its c
Please use the master branch of Mezzanine and Cartridge (unreleased as yet):
$ pip install --upgrade -e
git+https://github.com/stephenmcd/mezzanine.git#egg=Mezzanine-master
$ pip install --upgrade -e
git+https://github.com/stephenmcd/cartridge.git#egg=Cartridge-master
Also good practice is to i
ttp' or
>> its parent directory is not owned by the current user and the cache has
>> been disabled. Please check the permissions and owner of that directory. If
>> executing pip with sudo, you may want sudo's -H flag.*
>>
>
--
Sam Kingston M
What version of Python are you running? This warning appears on versions
earlier than 2.7.10 - so try upgrading to that.
On Thursday, 11 June 2015 04:48:00 UTC+10, vikraw wrote:
>
> Not sure if it is the right forum. But since I am running cartridge, i am
> concerned about the security of the we
e(file=f, product_id=2) just creates a
> ProductImage with blank file and description
>
> f = File(upload_receive(request))
> returns
> ProductImage.objects.create(file=f, product_id=2)
> returns
> *** TypeError: expected string or buffer
>
>
>
> On Friday, June 5
Can you paste in the full exception?
On 5 Jun 2015 10:36 am, "Andrew Fam" wrote:
> Hey Sam,
>
> the gist doesn't work. Still getting the same error
>
> product.images.create(file=File(f), product_id = product.id)
>
> On Friday, June 5, 2015 at 6:56:47 AM
This is probably useful to nobody but myself, but since I hit this issue
today I thought I would share this script, if for no other reason than for
reference if I do it again!
https://gist.github.com/sjkingo/d4815302eb4e32b0f120
--
You received this message because you are subscribed to the Go
Hi Andrew,
Try something like this (ripped from a shop I have written that syncs
images from another database):
https://gist.github.com/sjkingo/b836272f0757b20f8016
Hope this helps
On Thursday, 4 June 2015 19:42:09 UTC+10, Andrew Fam wrote:
>
> I"m wondering how to create a new product image d
This is brilliant Josh - thanks so much. I am currently right in the middle
of writing an app to do just this, and it looks like you have saved me the
hassle!
Sam
On Thursday, 16 April 2015 12:01:34 UTC+10, Josh Cartmell wrote:
>
> Hey all, I've opened up a site announcement package I've used o
Hi everyone,
I would like to gauge some support for this - does the community as a whole
think it would be worthwhile to have a "one-click-to-run" host that allows
Mezzanine support?
I've hacked on something similar previously that was designed to do the
same thing - hosted Mezzanine with no d
Hi guys,
Should TabularDynamicInlineAdmin allow ordering on an inline class whose
model subclasses Orderable?
For instance, *admin.py*:
from mezzanine.core.admin import TabularDynamicInlineAdmin
from .models import Card
class CardInlineAdmin(TabularDynamicInlineAdmin):
model = Card.pages.
Hi Stephen and others,
I have developed and release a new LDAP authentication backend called
django_auth_ldap3, that plugs into Django's auth system and allows
authentication against OpenLDAP or Active Directory. It fully supports Py
2.7/3 and Django 1.6/1.7, and unlike most other backends has
Hi everyone,
Just thought I would share a script that will install Mezzanine and
Cartridge in a Python3 environment with Django 1.7. It pulls the latest
master and pins the install at that.
It was useful to me, I hope it's useful to someone else too! It just takes
two arguments:
~/ $ ./setup_
Steve, didn't we fix this in cartridge/#170 and mezzanine/#947 ?
--
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
Further to what Josh has said, since forms are a core part of Django, have
a look through the excellent docs they have:
https://docs.djangoproject.com/en/1.6/topics/forms/
The "if user has submitted, reject" bit is perfect for a form validator.
Good luck
On Saturday, 15 February 2014 08:22:57
The full traceback:
Traceback:
File
"/home/sam/WFS/mezzweb/lib/python2.7/site-packages/django/core/handlers/base.py"
in get_response
114. response = wrapped_callback(request,
*callback_args, **callback_kwargs)
File
"/home/sam/WFS/mezzweb/lib/python2.7/site-packages/django/con
Hi all,
I have defined a BillShipProfile via the (now deprecated)
AUTH_PROFILE_MODULE setting, and defined a custom field with custom
validation, as such:
class PostcodeField(models.CharField):
default_validators = [validate_postcode]
def __init__(self, *args, **kwargs):
kwargs
Hi Matt,
Set protocol = 'https' in your Sitemap instance. See:
https://docs.djangoproject.com/en/1.6/ref/contrib/sitemaps/#django.contrib.sitemaps.Sitemap.protocol
HTH
Sam
On Thursday, 6 February 2014 07:00:47 UTC+10, Matt Mansour wrote:
>
> Howdy all -
>
> I have an all 'https' site built in
Hi fellow Australian programmers,
I've just released django-commweb onto PyPi (
https://pypi.python.org/pypi/django-commweb/0.1). It is a new library that
intergrates Django into CommWeb, Commonwealth Bank of Australia's merchant
payment service.
It has Cartridge intergration out of the box, si
15:13:48 UTC+10, Sam Kingston wrote:
>
> On Tuesday, 7 January 2014 15:10:50 UTC+10, Sam Kingston wrote:
>>
>> Can't seem to find much on this problem (although it does appear to
>> relate somewhat to a previous problem with recursive ForeignKey relations
>> in EXTR
stephenmcd/cartridge/commit/9f8bb6603f44ee9e793b679ab223833fb5f21fd4
>
>
> On Tue, Jan 7, 2014 at 5:17 PM, Sam Kingston wrote:
>
>> On 7 January 2014 16:09, Stephen McDonald wrote:
>>>
>>>
>>> On Tue, Jan 7, 2014 at 5:06 PM, Sam Kingston wrote:
>>>
>>>&g
On 7 January 2014 16:09, Stephen McDonald wrote:
>
>
> On Tue, Jan 7, 2014 at 5:06 PM, Sam Kingston wrote:
>
>> Great explanation and example, and I've done this however still getting
>> the exception.
>>
>> Just to confirm, if any of our app's migra
Great explanation and example, and I've done this however still getting the
exception.
Just to confirm, if any of our app's migrations reference the 3
fields 'KeywordsField|CommentsField|RatingField' we can simply comment them
out in models dict and it should magically work after that?
Mine's
On Tuesday, 7 January 2014 15:10:50 UTC+10, Sam Kingston wrote:
>
> Can't seem to find much on this problem (although it does appear to relate
> somewhat to a previous problem with recursive ForeignKey relations in
> EXTRA_MODEL_FIELDS
> here<https://groups.google.co
Hi all,
I'm having a frustrating problem attempting to inject a ForeignKey into a
custom app, as follows:
EXTRA_MODEL_FIELDS = (
(
'cartridge.shop.models.Product.shipping_option',
'ForeignKey',
('shipping.models.ShippingOption',),
{'blank': True},
),
)
Th
40 matches
Mail list logo