معرفی شرکت ها


ftw.quota-1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Quota support for archetypes containers.
ویژگی مقدار
سیستم عامل -
نام فایل ftw.quota-1.0
نام ftw.quota
نسخه کتابخانه 1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده 4teamwork GmbH
ایمیل نویسنده mailto:info@4teamwork.ch
آدرس صفحه اصلی https://github.com/4teamwork/ftw.quota/
آدرس اینترنتی https://pypi.org/project/ftw.quota/
مجوز GPL2
ftw.quota ========= This product adds quota support to archetypes containers. Install ------- - Add the package to the eggs in your buildout configuration: :: [instance] eggs += ftw.quota - Install the generic setup profile of the package. Usage ----- Add the marker interface ``ftw.quota.interfaces.IQuotaSupport`` to any archetypes container that you want to have quota support. Containers with quota support will get additional fields for quota setup. You can setup quota limits in the edit form. To make all archetypes objects quota aware e.g. you can use the following zcml directive: :: >>> <class class="Products.Archetypes.BaseObject.BaseObject"> ... <implements interface="ftw.quota.interfaces.IQuotaAware" /> ... </class> The quota configuration is stored using additional fields (schema extender) and can be accessed easily: :: >>> container.Schema().getField('quota').get(container) ... ... # quota in bytes >>> container.Schema().getField('usage').get(container) ... ... # usage in bytes >>> container.Schema().getField('enforce').get(container) ... True # when True it is not possible to add content when quota is exceeded Nested quota containers are not supported at the moment. Links ----- - Main github project repository: https://github.com/4teamwork/ftw.quota - Issue tracker: https://github.com/4teamwork/ftw.quota/issues - Package on pypi: http://pypi.python.org/pypi/ftw.quota - Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.quota Copyright --------- This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_. ``ftw.quota`` is licensed under GNU General Public License, version 2. Changelog ========= 1.0 (2012-06-14) ---------------- - Use plone.app.testing instead of collective.testcaselayer for testing. [jone] - Remove unused product initialization. [jone] - Update readme. [jone] - Fixed test-plone-4.0.x.cfg buildout [lgraf] 1.0b2 (2010-10-26) ------------------ - Added test setup. [lgraf] 1.0b1 (2010-09-16) ------------------ - Fixed default quota in test. [Thomas Buchberger] - Add translations [ttschanz] 1.0a3 (2010-04-12) ------------------ - Add german translations for quota exceeded error. [phgross] 1.0a2 (2010-03-29) ------------------ - Fixed bug in setup.py [jone] 1.0a1 (2010-03-29) ------------------ - Package cleanup [jone] - Intial implementation [buchberger]


نحوه نصب


نصب پکیج whl ftw.quota-1.0:

    pip install ftw.quota-1.0.whl


نصب پکیج tar.gz ftw.quota-1.0:

    pip install ftw.quota-1.0.tar.gz