- Enhancement: Added
rmr.utils.datetime.get_timezones_with_hour()
- Fix:
rmr.views.decorators.validate.validate_request()
considers request.FILES now
- Fix: Fixed
rmr.management.commands.BaseCommand.__init__()
- Fix: Fixed lookups of
PgTrigramTextField
,PgTrigramCharField
andPgLtreeField
- Enhancement: Added
rmr.utils.test.Client
to use as a replacement ofdjango.test.Client
- Fix:
rmr.views.Json.expires()
: fixed compatibility with versions 1.0.x
- Change: Quite big changes in project structure, added several deprecation and runtime warnings
- Enhancement: Added
rmr.forms.StartStopTime
form - Enhancement: Added
rmr.views.Json.etag()
method - Change:
rmr.views.Json.expires()
returns 0 instead ofsettings.CACHE_MIDDLEWARE_SECONDS
- Enhancement: Added
rmr.extensions.middleware.version.VersionMiddleware
function
- Enhancement: Added
rmr.utils.db.dictfetchall
function
- Enhancement: Added
rmr.utils.datetime.get_date_range
function
- Enhancement: Added
rmr.models.fields.PgLtreeField
supporting PostgreSQL's ltree extension
- Fix: MultipleValueField now can be used with values containing lists
- Enhancement:
rmr.extensions.middleware.json.RequestDecoder
now can parse any JSON (not only objects)
- Enhancement: Added
rmr.views.decorators.auth.authentication_required()
views decorator
- Enhancement: Added cache invalidation after
rmr.views.Json.last_modified()
value has been changed - Enhancement: Added 'Last-Modified', 'Cache-Control' and 'Expires' headers to the HTTP responses with 304 status code
- Enhancement: Added
rmr.extensions.middleware.cache.FixCacheControlMaxAge
- Enhancement: Added
rmr.models.utils.BulkModelCreator
- Enhancement: Added
rmr.utils.iterate.consume()
- Enhancement: Added base
rmr.forms.OffsetLimit
validation form - Fix:
Json.get_range()
raises an error when set 'limit_max' and 'limit' is not provided
- Enhancement: Added 'request' instance property to the
rmr.views.Json
- Enhancement:
rmr.views.decorators.validate.validate_request()
replaces request's GET and POST by validated ones
- Enhancement: Added HTTP-caching headers management to the
rmr.views.Json
- Enhancement: Moved
validate_request
decorator tormr.views.decorators.validation
module - Enhancement: Removed
rmr.views.Json.get_device_id()
method
- Enhancement: Added
rmr.utils.iterate.multimap()
- Enhancement: Added decorator
rmr.views.validate_request()
- Enhancement: Added custom form fields
rmr.forms.MultiValueField
andrmr.forms.BooleanField
for JSON form validation purpose
- Enhancement: Added
rmr.utils.datetime.fromtimestamp()
andrmr.utils.datetime.strptime()
- Enhancement: Removed
rmr.utils.test.mocked_datetime()
- Enhancement: Removed decorators
anonymous_required
andlogin_required
- Enhancement: Added custom PostgreSQL range fields with
upper
andlower
lookups - Enhancement: Added
rmr.management.commands.BaseCommand
class
- Enhancement: Added
rmr.utils.hash.crc32()
andrmr.utils.hash.crc64()
functions - Enhancement: Added
rmr.utils.iterate.split_every()
andrmr.utils.iterate.unique()
functions
- Enhancement: Added
rmr.views.Json.get_range()
method
- Enhancement: Added
rmr.models.fields.PgTrigramTextField
andrmr.models.fields.PgTrigramCharField
supporting PostgreSQL's pg_trgm extension