Documentation for stdnet 0.8.2. For development docs, go here.
Ported to python 3 and dropped support for python 2.5.
Removed dependency from redis-py for python 3 compatibility.
Refactored the object data mapper, including several bug fixes.
Added benchmark and profile to tests. To run benchmarks or profile:
python runtests.py -t bench
python runtests.py -t bench tag1 tag2
python runtests.py -t profile
Included support for redis timeseries which requires redis fork at https://github.com/lsbardel/redis.
Added stdnet.contrib.sessions module for handling web sessions. Experimental and pre-alpha.
Added stdnet.odm.JSONField with tests.
167 regression tests with 61% coverage.
Added tags in tests. You can now run specific tags:
python runtests.py hash
will run tests specific to hashtables.
Removed ts tests since the timeseries structure is not in redis yet. You can run them by setting tag ts.
54 tests.
Development status set to beta.
This version is incompatible with previous versions.
Documentation hosted at github.
Added new contrib module djstdnet which uses djpcms content management system to display an admin interface for a stdnet.odm.StdModel. Experimental for now.
Added stdnet.CacheClass which can be used as django cache backend. For example, using redis database 11 as cache is obtained by:
CACHE_BACKEND = 'stdnet://127.0.0.1:6379/?type=redis&db=11&timeout=300'
Overall refactoring of stdnet.odm and stdnet.backends modules.
Lazy loading of models via the stdnet.dispatch module.
Added stdnet.dispatch module from django.
Added stdnet.odm.AtomField subclasses.
Before adding elements to a stdnet.odm.MultiField the object needs to be saved, i.e. it needs to have a valid id.
Made clear that stdnet.odm.StdModel classes are mapped to stdnet.HashTable structures in a stdnet.BackendDataServer.
Moved structures module into backends directory. Internal reorganisation of several modules.
Added app_label attribute to stdnet.odm.DataMetaClass.
47 tests