Timestamps in Apache access log files have, by default, the format > 27/Oct/2013:06:33:40 +0100 This can not be parsed in Python using the
strptime() function from the
datetime modules because there is no
%z placeholder in
strptime() to match the timezone (only
%Z). Also, using the
parse() function from
In a previous blog post, I explained the straight-forward way to generate a CRUD interface in Lift for MongoDB's reference fields. The approach described there, using a simple multiselect list, is very easy to realize, but the situation is a bit different when the list of objects that can be ...
While Lift provides a nice CRUD interface for simple data types such as Strings and Booleans, there is no out-of-the-box interface to work with reference fields, e.g., the
ObjectIdRefListField in Record's MongoDB package. A nice way to integrate such an interface into the existing CRUD framework is to override the ...