Re: [mezzanine-users] how to limit display data on template?

2016-04-06 Thread Danny
On 7/04/2016 10:14 AM, winarto saputro wrote: hi all i'm new in django and mezzanine i have already create custom model "partners". i use this {% partner in page.homepage.partners.all %} and it work fine. but i want to display only 5 data. anyone have idea how to do that? thanks sorry

[mezzanine-users] how to limit display data on template?

2016-04-06 Thread winarto saputro
hi all i'm new in django and mezzanine i have already create custom model "partners". i use this {% partner in page.homepage.partners.all %} and it work fine. but i want to display only 5 data. anyone have idea how to do that? thanks sorry for my bad english :) -- You received this

[mezzanine-users] Re: RichTextField in field injection

2016-04-06 Thread Eduardo Rivas
*Looks like you changed the name of the thread, and my reply went elsewhere. Here it is again:* Well, the error message says you should check the SECRET_KEY setting. Have you done that? Most likely it was removed from your settings module when you upgraded to Mezzanine 4. I recommend you put

Re: [mezzanine-users] RichText Field injection

2016-04-06 Thread Eduardo Rivas
Well, the error message says you should check the SECRET_KEY setting. Have you done that? Most likely it was removed from your settings module when you upgraded to Mezzanine 4. I recommend you put it in local_settings.py to avoid having it under version control. Other than that, there's a

[mezzanine-users] RichTextField in field injection

2016-04-06 Thread Cajoline
Hi ! I would like insert RichTextField in Field injection, in one of my project I had done like this: https://gist.github.com/Cajoline/e4f2c37e2025a01506ebc08accfdd9a3 Work well in Mezzanine 3 But in Mezzanine 4.1 doesn't work, i have this error: django.core.exceptions.ImproperlyConfigured:

[mezzanine-users] RichText Field injection

2016-04-06 Thread Cajoline
Hi ! I would like insert RichTextField in Field injection, in one of my project I had done like this: https://gist.github.com/Cajoline/e4f2c37e2025a01506ebc08accfdd9a3 Work well in Mezzanine 3 But in Mezzanine 4.1 doesn't work, i have this error: django.core.exceptions.ImproperlyConfigured: