Coder Social home page Coder Social logo

ella / django-versionedcache Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 5.0 205 KB

Yet another cache backend for django. This one includes: memcache, mintcache and automatic key versioning for gracefull upgrades.

License: BSD 3-Clause "New" or "Revised" License

Python 74.43% Ruby 25.57%

django-versionedcache's Introduction

Ella CMS

Ella is opensource CMS based on Django framework, designed for flexibility.

It is composed from several modules:

  • Ella core is the main module which links the rest together. It defines architecture on which other modules are built but doesn't do anything really usefull all alone.
  • Ella core plugins are plugins that are shipped in one package together with Ella. There are articles and positions which we consider to be a basic toolbox for each Ella site.
  • Other Ella plugins are standalone applications (and therfore not shipped with the core) that provide some specific functionality using Ella's architecture. We can mention polls, galleries, quizes and many more.

Feature highlights:

  • Simple organization of content based on categories
  • Efficent implementation of the published content
  • In-build photo formating backend
  • Django-admin ready
  • Plugin system
  • Flexibile
  • Scalable
  • Extensible
  • Caching-friendly
  • Well tested
  • Proven in production environment

News

Currently, we released the 3.x version which features a major cleanup of the code a removal of unneeded dependencies.

More news are on the way as we are going to make a nicely-tailored admin specifically made for the need of news writers and editors.

Docs

Docs are hosted on readthedocs.org, go to http://ella.rtfd.org.

Community

Quickstart

Have a look at the docs: http://readthedocs.org/docs/ella/en/latest/quickstart.html.

Build status

Master branch:Travis CI - Distributed build platform for the open source community

django-versionedcache's People

Contributors

almad avatar honzakral avatar justquick avatar kvbik avatar whit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-versionedcache's Issues

Tests not passing

With clean clone inside virtualenv just with pip install -r requirements.txt, I have two failing tests:

(django-versionedcache)lukas.linhart@eva-03 ~/projects/django-versionedcache/tests/unit_project $ ./run_tests.py test_debug.py

..FF..

FAIL: unit_project.test_debug.TestCacheDebugMiddleware.test_super_user_can_turn_cache_off

Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/nose/case.py", line 186, in runTest
self.test(_self.arg)
File "./../unit_project/test_debug.py", line 46, in test_super_user_can_turn_cache_off
self.assert_equals(None, cache.cache.get('key'))
File "/home/lukas.linhart/projects/django-versionedcache/lib/python2.6/site-packages/djangosanetesting/cases.py", line 35, in assert_equals
assert_equals(_args, **kwargs)
AssertionError: None != u'other value'
-------------------- >> begin captured stdout << ---------------------
{}

--------------------- >> end captured stdout << ----------------------

FAIL: unit_project.test_debug.TestCacheDebugMiddleware.test_super_user_can_turn_cache_write_only

Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/nose/case.py", line 186, in runTest
self.test(_self.arg)
File "./../unit_project/test_debug.py", line 58, in test_super_user_can_turn_cache_write_only
self.assert_equals(repr(None), response.content)
File "/home/lukas.linhart/projects/django-versionedcache/lib/python2.6/site-packages/djangosanetesting/cases.py", line 35, in assert_equals
assert_equals(_args, **kwargs)
AssertionError: 'None' != "u'other value'"
-------------------- >> begin captured stdout << ---------------------
{}

--------------------- >> end captured stdout << ----------------------


Ran 6 tests in 0.123s

FAILED (failures=2)

For some reason, test client is not authenticated (session backend is not matching it's cookies).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.