Re: [mezzanine-users] How to make certain media available only to logged users?

2014-12-29 Thread godek . maciek
W dniu czwartek, 25 grudnia 2014 21:05:52 UTC+1 użytkownik Mario Gudelj 
napisał:

 This is not a Mezza but Django specific post about how you'd do it - 
 http://www.wellfireinteractive.com/blog/nginx-django-x-accel-redirects/. 
 It actually shows you how to offload the file serving to Nginx so that you 
 don't serve large files with Django.


Thanks a lot!
 

-- 
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 https://groups.google.com/d/optout.


[mezzanine-users] Django CMS multilingual and international supports based on country or region

2014-12-29 Thread Bhushan Vaiude


I am looking out for solution for one scenario in project.

I would like to use following technologies / tools

Django 1.6.x stable or 1.7
mysql
django-cms / mezzanine / feincms

*SCENARIO*

CMS for Tourist Hotel Menu card.

I would like to add pages in CMS based on country and multiple languages

*Example 1:*

Country - India (IN)

*primary* Language 1 - Dutch - Belgium (de) OFFER PAGE = 2 Belgium dishes 
are free

Language 2 - Chinese - Singapore (zh) OFFER PAGE = 4 Chinese dishes are free

*Possible url for page*

http://example.com/in/de/offer For India in Dutch OFFER PAGE = 2 Belgium 
dishes are free

http://example.com/in/zh/offer For India in Chinese OFFER PAGE = 4 Chinese 
dishes are free

*Example 1:*

Country - Singapore (SG)

*primary* Language 1 - Thai - Thailand (th) OFFER PAGE = 7 thai dishes are 
free

Language 2 - Ukrainian - Ukraine (uk) OFFER PAGE = 4 Ukrainian dishes are 
free

Language 3 - Portuguese - Portugal (pt) OFFER PAGE = 5 Portuguese dishes 
are free

*Possible url for page*

http://example.com/sg/th/offer For Singapore in Thai OFFER PAGE = 7 thai 
dishes are free

http://example.com/sg/uk/offer For Singapore in Ukrainian OFFER PAGE = 4 
Ukrainian dishes are free

http://example.com/sg/pt/offer For Singapore in Portuguese OFFER PAGE = 5 
Portuguese dishes are free

So my website need to support 15 countries and 3 languages, (for one page 
there will be *45* entries) When admin add any page to CMS, he choose 
english as primary language and add the page with 45 possible combination. 
Latter he will edit other pages according and publish them. if page is not 
publish for the country, then user will get redirected to error page.

*NOTE* For now, I need to manage the content of page not the url.
--

I went through the following the django plugins

django-cms / mezzanine / feincms Each one has multilingual and 
international supports usinghttps://www.transifex.com/projects/p/django-cms/ 
and 
some model translation
https://www.djangopackages.com/grids/g/model-translation/

But I am not able to come up with conclusion, how do I implement above 
scenerio with available cms plugin? I would like to go with *mezzanine*.

Do I need to build my own django package? Is there any way to customise any 
of the following cms plugin and add multilingual and international support 
with country?

django-cms / mezzanine / feincms

thanks in advanced.

-- 
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 https://groups.google.com/d/optout.