Let's start with the get() call
from mezzanine.pages.models import Page
mypage = Page.objects.get(title="My title")
Since the "content" field is part of the RichTextPage subclass, we need
to access it through the relation: mypage.richtextpage.content.
If the page were a Form, it would be: myp
Mezzanine provides a generic ThreadedComment model exactly for this.
You'll need to inject CommentField into the Product model, but
everything else should be smooth sailing.
See http://mezzanine.jupo.org/docs/utilities.html#threaded-comments
On 2017-09-24 4:27 PM, jenia mtl wrote:
(Per produc
It looks like you've followed a third-party tutorial that has instructed
you to install all the dependencies manually. Have you tried following
the official Mezzanine tutorial? It will automate all the installation
steps, including the dependency installation, database configuration,
static fil
Hi everyone, I am desperate.
I tried to deploy mezanine, following this
https://perezprogramming.com/blog/deploy-mezzanine-to-ubuntu-14-server-on-digitalocean-with-fabric/
but i got *Internal service error*.
I tried this also
https://www.digitalocean.com/community/questions/deploying-django-
Hi Ther, I know that this is off topic but I m hoping that you can help me.
I have been trying to deploy my mezzanine app. This is what i tried:
https://perezprogramming.com/blog/deploy-mezzanine-to-ubuntu-14-server-on-digitalocean-with-fabric/,
then i got "
*Internal Server Error"*
then i del
On 25 September 2017 at 07:59, jenia mtl wrote:
> Hello.
>
> How do I setup a contact service?
>
> Right now I get this error:
>
>POST /contact/ HTTP/1.1" 500 118061
>
>
> Do I need to implement the view myself that will be sending the email? Or
> is there a Django app for this?
>
Hi Je
Hi Jenia,
Cartridge and Mezzanine use the mezzanine.accounts app for public user
login.
See: http://mezzanine.jupo.org/docs/user-accounts.html
Note that if you create a Profile model that contains address fields that
match what the Cartridge checkout form wants, the checkout process will try
and
On 25 September 2017 at 08:17, jenia mtl wrote:
> Hello.
>
> How do I create the purchasing history page?
>
I just added this to my urls.py:
url("^account/orders/$", order_history, name="shop_order_history"),
(after including cartridge.shop.urls)
Then the history is at yoursite.com/account/ord
Hello.
How do I create the purchasing history page?
I suppose I'll need to create something along these lines:
http://mezzanine.jupo.org/docs/content-architecture.html#creating-custom-content-types?
But how can I make it display something different for each user? How do I
customize it per
Hello.
I can't find the login page in Cartridge.
For example, when the user wants to rate a product, they need to login.
There should be some login functionality I suppose.
Is it this: admin/login/?next=/admin/?
If so, how do I set the button there at the bottom to be "Site" by default
inst
Hello.
How do I setup a contact service?
Right now I get this error:
POST /contact/ HTTP/1.1" 500 118061
Do I need to implement the view myself that will be sending the email? Or
is there a Django app for this?
Thanks
Jenia
--
You received this message because you are subscribed to
(Per product)
On Sunday, September 24, 2017 at 6:27:34 PM UTC-4, jenia mtl wrote:
>
> Hello.
>
>
> What is the simplest way to create a comments section in Cartridge?
>
>
> Thanks
>
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscr
Hello.
What is the simplest way to create a comments section in Cartridge?
Thanks
--
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
Thanks kindly for your help!
On Saturday, September 23, 2017 at 11:14:30 PM UTC-4, Eduardo Rivas wrote:
>
> To extend templates: Create a template in your project under the same path
> as the Cartridge template. For example, if you want to provide your own
> template for Products, create a templ
On Sunday, September 24, 2017 at 1:19:51 PM UTC-7, Malik Rumi wrote:
>
>
> I have seen this post:
> https://groups.google.com/forum/#!searchin/mezzanine-users/shell%7Csort:relevance/mezzanine-users/BhEelJ3gvf4/4g4QZwwXNPQJ
>
>
>
> It does not answer the question, how to access page content
>
I have seen this post:
https://groups.google.com/forum/#!searchin/mezzanine-users/shell%7Csort:relevance/mezzanine-users/BhEelJ3gvf4/4g4QZwwXNPQJ
It does not answer the question, how to access page content
programmatically?
--
You received this message because you are subscribed to the G
Hello.
I get this error on my website http://jeniawebsitetesting.com/:
jquery-1.8.3.min.js:2 Uncaught TypeError: p.setAttribute is not a
function(…)
Jquery is there:
http://jeniawebsitetesting.com/static/mezzanine/js/jquery-1.8.3.min.js
And I simply got it from:
http://code.jq
I somehow made it work. Don't ask me how :)
On Sunday, September 24, 2017 at 12:01:48 PM UTC-4, jenia mtl wrote:
>
> Hello everyone.
>
> I'm having trouble deploying the app to my server:
>
>
>http://jeniawebsitetesting.com/shop/
>
>
> As you can see, I'm missing all the static files.
>
>
> I
Even if I go to this url directly:
http://jeniawebsitetesting.com/static/media/uploads/product/.thumbnails/monitors.png/monitors-148x148.png
I still get redirected to:
http://jeniawebsitetesting.com/static/media/uploads/product/.thumbnails/monitors.png/monitors-148x148.png/index.html
I don't un
Hello everyone.
I'm having trouble deploying the app to my server:
http://jeniawebsitetesting.com/shop/
As you can see, I'm missing all the static files.
I get in the error.log:
2017/09/24 11:53:40 [error] 21769#21769: *11
"/srv/http/store/store00/static/js/bootstrap.js/*index.
20 matches
Mail list logo